modelTransportDelayPipe

Extends from TRANSFORM.Fluid.Pipes.BaseClasses.PartialTwoPortPipe.

Information

Transport delay of enthalpy, species, and trace substances using the spatialDistriubtion() function which supports flow reversal. This is an ideal transport with no diffusion (i.e., step change in the input will see a step change in the outlet once the wave has propagated through the pipe).

Currently the initialization is set by the inStream() properties of the connected port. Future edits may change this to allow more user control.

Parameters

TypeNameDefaultDescription
SI.AreacrossArea
SI.Lengthlength
SI.Accelerationg_nModelica.Constants.g_n
SI.Heightdheight0
SI.Heightroughness2.5e-5
Assumptions
BooleanallowFlowReversal (from PartialTwoPortPipe)true= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Advanced › Model Structure
BooleanexposeState_a (from PartialTwoPortPipe)true= true then the component sets p internally else m_flow
BooleanexposeState_b (from PartialTwoPortPipe)false= true then the component sets p internally else m_flow
Visualization
BooleanshowDesignFlowDirection (from PartialTwoPortPipe)true= false to hide the flow direction arrow
BooleanshowName (from PartialTwoPortPipe)true= false to hide component name
Advanced
SI.MassFlowRatem_flow_smooth0.001Smoothing tolerance around zero flow rate
SI.ReynoldsNumberRe_lam2300Laminar transition Reynolds number
SI.ReynoldsNumberRe_turb4000Turbulent transition Reynolds number

Connectors

TypeNameDefaultDescription
TRANSFORM.Fluid.Interfaces.FluidPort_Flowport_a (from PartialTwoPortPipe)Fluid connector a (positive design flow direction is from port_a to port_b)
TRANSFORM.Fluid.Interfaces.FluidPort_Flowport_b (from PartialTwoPortPipe)Fluid connector b (positive design flow direction is from port_a to port_b)

Components

TypeNameDefaultDescription
SI.NusseltNumberfRe2_lamTRANSFORM.Fluid.ClosureRelations.PressureLoss.Functions.TubesAndConduits.SinglePhase.fRe2_Laminar_Local_Developed_Circular(Re)Laminar Friction factor
SI.NusseltNumberfRe2_turbTRANSFORM.Fluid.ClosureRelations.PressureLoss.Functions.TubesAndConduits.SinglePhase.fRe2_Turbulent_Local_Developed_SwameeJain(Re, dimension, roughness)Turbulent Friction factor
TRANSFORM.Units.NonDimK_ab0Minor loss coefficients. Flow in direction a -> b
TRANSFORM.Units.NonDimK_ba0Minor loss coefficients. Flow in direction b -> a
SI.PressureDifferencedp_add_ab0Additional pressure losses. Flow in direction a -> b
SI.PressureDifferencedp_add_ba0Additional pressure losses. Flow in direction b -> a
SI.VolumeVcrossArea*length
Realu
Realx
SI.PressureDifferencedp
SI.Velocityv
SI.MassFlowRatem_flow
Medium.ThermodynamicStatestate_a
Medium.ThermodynamicStatestate_b
Medium.ThermodynamicStatestate
SI.Lengthdimension2*(crossArea/Modelica.Constants.pi)^0.5
SI.PressureDifferencedp_fgPressure drop between states
SI.PressureDifferencedp_fFrictional pressure drop
SI.PressureDifferencedp_gGravitational pressure drop
SI.ReynoldsNumberRe
TRANSFORM.Units.NonDimfRe2
SI.Timetaulength/max(1e-3, v)