PartialLumpedFlow

Base class for a lumped momentum balance

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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 (3)

allowFlowReversal

Value: system.allowFlowReversal

Type: Boolean

Description: = true to allow flow reversal, false restricts to design direction (m_flow >= 0)

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)

pathLength

Type: Length (m)

Description: Length flow path

Components (1)

system

Type: System

Description: System properties

Extended by (3)

BaseModelNonconstantCrossSectionArea

Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent

Generic pressure drop component with constant turbulent loss factor data and without an icon, for non-constant cross section area

BaseModel

Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent

Generic pressure drop component with constant turbulent loss factor data and without an icon

SimpleGenericOrifice

Modelica.Fluid.Fittings

Simple generic orifice defined by pressure loss coefficient and diameter (only for flow from port_a to port_b)