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, and
  • F_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

TypeNameDefaultDescription
Assumptions
BooleanallowFlowReversalsystem.allowFlowReversal= true to allow flow reversal, false restricts to design direction (m_flow >= 0)
Assumptions › Dynamics
Modelica.Fluid.Types.DynamicsmomentumDynamicssystem.momentumDynamicsFormulation of momentum balance
Initialization
Medium.MassFlowRatem_flow_startsystem.m_flow_startStart value of mass flow rates

Components

TypeNameDefaultDescription
Modelica.Fluid.SystemsystemSystem properties
SI.LengthpathLengthLength flow path
Medium.MassFlowRatem_flowMass flow rates between states
SI.MomentumIMomenta of flow segments
SI.ForceIb_flowFlow of momentum across boundaries
SI.ForceF_pPressure force
SI.ForceF_fgFriction and gravity force

Contents

NameDescription
MediumMedium in the component