PartialDistributedFlowBase class for a distributed momentum balance |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
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.
| allowFlowReversal |
Value: system.allowFlowReversal Type: Boolean Description: = true to allow flow reversal, false restricts to design direction (m_flows >= zeros(m)) |
|---|---|
| m |
Value: 1 Type: Integer Description: Number of flow segments |
| momentumDynamics |
Value: system.momentumDynamics Type: Dynamics Description: Formulation of momentum balance |
| m_flow_start |
Value: system.m_flow_start Type: MassFlowRate (kg/s) Description: Start value of mass flow rates |
| pathLengths |
Type: Length[m] (m) Description: Lengths along flow path |
|---|
| system |
Type: System Description: System properties |
|---|
|
Modelica.Fluid.Pipes.BaseClasses.FlowModels Base class for momentum balances in flow models |