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,
... )

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

The total pressure value. When a string expression is supplied the value needs to nondimensionalized by the pressure defined in operating_condition.