flow360.MassFlowRate#

class MassFlowRate[source]#

Bases: Flow360BaseModel

MassFlowRate class to specify the mass flow rate for Inflow or Outflow boundary condition via Inflow.spec/Outflow.spec.

Example

>>> fl.MassFlowRate(
...     value = 123 * fl.u.lb / fl.u.s,
...     ramp_steps = 100,
... )

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

The mass flow rate.

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

  • return_type = PydanticUndefined

  • when_used = always

ramp_steps: Annotated[int, Gt(gt=0)] | None = None#

Number of pseudo steps before reaching MassFlowRate.value within 1 physical step.