flow360.TotalPressure#

class TotalPressure[source]#

Bases: Flow360BaseModel

TotalPressure class to specify the total pressure for Inflow boundary condition via Inflow.spec.

Example

>>> fl.TotalPressure(
...     value = 1.04e6 * fl.u.Pa,
...     velocity_direction = (1, 0, 0),
... )

type_name: Literal['TotalPressure'] = 'TotalPressure'#
value: Annotated[_Constrained, PlainSerializer(func=_dimensioned_type_serializer, return_type=PydanticUndefined, when_used=always)] [Required]#

The total pressure value.

Constraints:
  • func = <function _dimensioned_type_serializer at 0x70391099c040>

  • return_type = PydanticUndefined

  • when_used = always

velocity_direction: Axis | None = None#

Direction of the incoming flow. Must be a unit vector pointing into the volume. If unspecified, the direction will be normal to the surface.