flow360.TotalPressure#
- class TotalPressure[source]#
Bases:
Flow360BaseModelTotalPressureclass to specify the total pressure for Inflow boundary condition viaInflow.spec.Example
Using a constant value:
>>> fl.TotalPressure( ... value = 1.04e6 * fl.u.Pa, ... )
Using an expression (nondimensionalized by operating condition pressure):
>>> fl.TotalPressure( ... value = "pow(1.0+0.2*pow(0.1*(1.0-y*y),2.0),1.4/0.4)", ... )
- 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.