modelPartialLumpedFlow
Base class for a lumped momentum balance
Information
Interface and base class for a momentum balance, defining the mass flow rate m_flow
of a given Medium in a flow model.
The following boundary flow and force terms are part of the momentum balance and must be specified in an extending model (to zero if not considered):
Ib_flow, the flow of momentum across model boundaries,F_p[m], pressure force, andF_fg[m], friction and gravity forces.
The length of the flow path pathLength is an input that needs to be set in an extending class to complete the model.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Assumptions | |||
| Boolean | allowFlowReversal | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction (m_flow >= 0) |
| Assumptions › Dynamics | |||
| Modelica.Fluid.Types.Dynamics | momentumDynamics | system.momentumDynamics | Formulation of momentum balance |
| Initialization | |||
| Medium.MassFlowRate | m_flow_start | system.m_flow_start | Start value of mass flow rates |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.System | system | System properties | |
| SI.Length | pathLength | Length flow path | |
| Medium.MassFlowRate | m_flow | Mass flow rates between states | |
| SI.Momentum | I | Momenta of flow segments | |
| SI.Force | Ib_flow | Flow of momentum across boundaries | |
| SI.Force | F_p | Pressure force | |
| SI.Force | F_fg | Friction and gravity force |
Contents
| Name | Description |
|---|---|
| Medium in the component |