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

TypeNameDefaultDescription
Integerm1Number of flow segments
Assumptions
BooleanallowFlowReversalsystem.allowFlowReversal= true to allow flow reversal, false restricts to design direction (m_flows >= zeros(m))
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.LengthpathLengthsLengths along flow path
Medium.MassFlowRatem_flowsMass flow rates between states
SI.MomentumIsMomenta of flow segments
SI.ForceIb_flowsFlow of momentum across boundaries
SI.ForceFs_pPressure forces
SI.ForceFs_fgFriction and gravity forces

Contents

NameDescription
MediumMedium in the component