## 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

momentum balances, defining the mass flow rates **m**

of a given **m_flows[m]**`Medium`

in

flow segments.
**m**

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):

, the flows of momentum across segment boundaries,**Ib_flows[m]**

, pressure forces, and**Fs_p[m]**

, friction and gravity forces.**Fs_fg[m]**

The lengths along the flow path

are an input that needs to be set in an extending class to complete the model.
**pathLengths[m]**

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 |