PartialDistributedFlow

Base class for a distributed momentum balance

Information

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, and
  • Fs_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 (4)

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

Inputs (1)

pathLengths

Type: Length[m] (m)

Description: Lengths along flow path

Components (1)

system

Type: System

Description: System properties

Extended by (1)

PartialStaggeredFlowModel

Modelica.Fluid.Pipes.BaseClasses.FlowModels

Base class for momentum balances in flow models