modelPartialDistributedFlow
Base class for a distributed momentum balance
Information
Interface and base class for m momentum balances, defining the mass flow rates m_flows[m]
of a given Medium in m flow segments.
The following boundary flow and force terms are part of the momentum balances and must be specified in an extending model (to zero if not considered):
Ib_flows[m], the flows of momentum across segment boundaries,Fs_p[m], pressure forces, andFs_fg[m], friction and gravity forces.
The lengths along the flow path pathLengths[m] are an input that needs to be set in an extending class to complete the model.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | m | 1 | Number of flow segments |
| Assumptions | |||
| Boolean | allowFlowReversal | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction (m_flows >= zeros(m)) |
| 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 | pathLengths | Lengths along flow path | |
| Medium.MassFlowRate | m_flows | Mass flow rates between states | |
| SI.Momentum | Is | Momenta of flow segments | |
| SI.Force | Ib_flows | Flow of momentum across boundaries | |
| SI.Force | Fs_p | Pressure forces | |
| SI.Force | Fs_fg | Friction and gravity forces |
Contents
| Name | Description |
|---|---|
| Medium in the component |