modelSISOFlowAdvanced

Advanced model for SISOFlow

Extends from ThermofluidStream.Utilities.DropOfCommonsPlus (Extend this to use 'dropOfCommons', 'instanceName', 'displayInstanceName' and 'displayParameters').

Information

  • For setFlow=false, this model is equivalent to ThermofluidStream.Interfaces.SISOFlow, i.e it uses the approach:
    der(inlet.m_flow)*L = inlet.r - outlet.r;
    p_out = p_in + dp;
    
    where the pressure difference dp + dr is given and the mass flow rate m_flow is adapted based on the (negative) inertial pressure difference -dr = inlet.r - outlet.r.
    The inertance L is its 'time constant' (strictly speaking by dimensional analysis (Buckingham pi theorem) one can derive that the time constant TC ~ L*dp_stationary/m_flow_stationary). The inertance L can be derived from instationary Bernoulli equation.
  • For setFlow=true, this model is an extension of ThermofluidStream.Boundaries.TerminalSource, i.e it uses the approach:
    TC * der(dp) = outlet.r - inlet.r;
    p_out = p_in + dp;
    
    where the mass flow rate m_flow is given and the pressure difference dp is adapted based on the (positive) inertial pressure difference dr = outlet.r - inlet.r.
    Currently the time constant TC is used as a numerical tool. It might have a physical explanation considering the pressure change der(dp) of a volume for a given inflow/outflow.
    Use dp(start=0) or dp(final start=0) if setFlow=true.

Parameters

TypeNameDefaultDescription
StringinstanceName (from DropOfCommonsPlus)getInstanceName()Instance name
BooleansetFlowfalse= true, if mass flow rate is set (=false, for standard approach)
Layout
BooleandisplayInstanceName (from DropOfCommonsPlus)dropOfCommons.displayInstanceNames= true, if instance name is displayed
BooleandisplayParameters (from DropOfCommonsPlus)dropOfCommons.displayParameters= true, if displaying parameters is enabled
Advanced › Pressure dynamics
SI.TimeTC1e-3Time constant for pressure adaption if mass flow rate is set
Advanced
ThermofluidStream.Utilities.Units.InertanceLdropOfCommons.LInertance
StateSelectm_flowStateSelectStateSelect.defaultState selection for mass flow rate
Booleanclip_p_out= false, if dr_corr=0 (correction of inertial pressure difference)
Medium.AbsolutePressurep_mindropOfCommons.p_minMinimum steady-state output pressure
Initialization › Mass flow rate
InitializationMethodsinitM_flowThermofluidStream.Utilities.Types.InitializationMethods.noneInitialization method for mass flow rate
SI.MassFlowRatem_flow_00Initial value for mass flow rate
ThermofluidStream.Utilities.Units.MassFlowAccelerationm_acceleration_00Initial value for derivative of mass flow rate

Connectors

TypeNameDefaultDescription
ThermofluidStream.Interfaces.Inletinlet
ThermofluidStream.Interfaces.Outletoutlet

Components

TypeNameDefaultDescription
SI.MassFlowRatem_flowinlet.m_flowMass flow rate
SI.Pressuredr_corrCorrection of inertial pressure difference
SI.PressuredpPressure difference

Contents

NameDescription
MediumMedium model

Revisions

  • May 2025, by Raphael Gebhart (raphael.gebhart@dlr.de):
    Initial version.