modelPartialDistributedStaggeredFlow

Information

Parameters

TypeNameDefaultDescription
Internal Interface
IntegernFM1Number of discrete flow models
Internal Interface › Initialization
DynamicsmomentumDynamicsDynamics.DynamicFreeInitialFormulation of momentum balance
SI.PressureDifferencedps_startPressure changes {p[2]-p[1],...,p[n+1]-p[n]}
SI.MassFlowRatem_flows_startMass flow rates
Internal Interface › Advanced
BooleanallowFlowReversaltrue= true to allow flow reversal, false restricts to design direction (m_flows >= zeros(m))
Advanced
SI.ReynoldsNumberRe_lam2300Laminar transition Reynolds number
SI.ReynoldsNumberRe_turb4000Turbulent transition Reynolds number
Booleanfrom_dpmomentumDynamics >= Modelica.Fluid.Types.Dynamics.SteadyStateInitial= true, use m_flow = f(dp), otherwise dp = f(m_flow)
SI.MassFlowRatem_flow_small0.001Within regularization if |m_flows| < m_flow_small (may be wider for large discontinuities in static head)
SI.AbsolutePressuredp_small1Within regularization if |dp| < dp_small (may be wider for large discontinuities in static head)

Components

TypeNameDefaultDescription
SI.Accelerationg_nModelica.Constants.g_nGravitational acceleration
Medium.ThermodynamicState[nFM + 1]statesState at volumes
SI.VelocityvsMean velocities of fluid flow
SI.TemperatureTs_wallMean wall temperatures of heat transfer surface
SI.Length[nFM + 1]dimensionsCharacteristic dimensions (e.g. hydraulic diameter)
SI.Area[nFM + 1]crossAreasCross sectional area
SI.Length[nFM + 1]perimetersWetted perimeter
SI.Length[nFM]dlengthsLength of flow model
SI.HeightroughnessesAverage height of surface asperities
SI.LengthdheightsHeight(states[2:nFM+1]) - Height(states[1:nFM])
SI.MassFlowRate[nFM]m_flowsMass flow rate across interfaces
SI.MomentumIsMomenta of flow segments
SI.ForceIbsFlow of momentum across boundaries and source/sink in volumes
SI.TemperatureTs_fluidMedium.temperature(states)Fluid temperature
SI.ReynoldsNumberResReynolds number

Contents

NameDescription
Medium