modelShellWindowFlow

ShellFlow Window: Shell-side Window (of a shell and tube heat exchanger) flow pressure loss and gravity with replaceable WallFriction package

Extends from TRANSFORM.Fluid.ClosureRelations.PressureLoss.Models.DistributedPipe_1D.PartialSinglePhase.

Information

This model describes pressure losses due to wall friction in a pipe and due to gravity. Correlations of different complexity and validity can be selected via the replaceable package WallFriction (see parameter menu below). The details of the pipe wall friction model are described in the UsersGuide. Basically, different variants of the equation

   dp = λ(Re,D)*(L/D)*ρ*v*|v|/2.

By default, the correlations are computed with media data at the actual time instant. In order to reduce non-linear equation systems, the parameters use_mu_nominal and use_rho_nominal provide the option to compute the correlations with constant media values at the desired operating point. This might speed-up the simulation and/or might give a more robust simulation.

Parameters

TypeNameDefaultDescription
SI.DynamicViscositymu_w__nominalMedium.dynamicViscosity(Medium.setState_pTX(Medium.p_default, Medium.T_default, Medium.X_default))Nominal wall viscosity
Internal Interface
IntegernFM (from PartialDistributedStaggeredFlow)1Number of discrete flow models
Internal Interface › Initialization
DynamicsmomentumDynamics (from PartialDistributedStaggeredFlow)Dynamics.DynamicFreeInitialFormulation of momentum balance
SI.PressureDifferencedps_start (from PartialDistributedStaggeredFlow)Pressure changes {p[2]-p[1],...,p[n+1]-p[n]}
SI.MassFlowRatem_flows_start (from PartialDistributedStaggeredFlow)Mass flow rates
Internal Interface › Advanced
BooleanallowFlowReversal (from PartialDistributedStaggeredFlow)true= true to allow flow reversal, false restricts to design direction (m_flows >= zeros(m))
Advanced
SI.ReynoldsNumberRe_lam (from PartialDistributedStaggeredFlow)2300Laminar transition Reynolds number
SI.ReynoldsNumberRe_turb (from PartialDistributedStaggeredFlow)4000Turbulent transition Reynolds number
Booleanfrom_dp (from PartialDistributedStaggeredFlow)momentumDynamics >= Modelica.Fluid.Types.Dynamics.SteadyStateInitial= true, use m_flow = f(dp), otherwise dp = f(m_flow)
SI.MassFlowRatem_flow_small (from PartialDistributedStaggeredFlow)0.001Within regularization if |m_flows| < m_flow_small (may be wider for large discontinuities in static head)
SI.AbsolutePressuredp_small (from PartialDistributedStaggeredFlow)1Within regularization if |dp| < dp_small (may be wider for large discontinuities in static head)
Booleanuse_I_flows (from PartialMomentumBalance)momentumDynamics <> Dynamics.SteadyState= true to consider differences in flow of momentum through boundaries
SI.Time[2]taus (from PartialMomentumBalance){0.01, 0.01}Time Constant for first order delay of {dps_K,dps_add}
Shell Model (Window) Parameters
BooleantoggleStaggeredtrue = staggered grid type; false = in-line
SI.Lengthd_BDiameter of holes in baffles
SI.Lengthd_oOuter diameter of tubes
SI.LengthD_iInside shell diameter
SI.LengthD_lBaffle Diameter
SI.LengthHHeight of baffle cut
SI.Lengths1Tube to tube pitch parallel to baffel edge
SI.Lengths2Tube to tube pitch perpindicular to baffel edge
SI.LengthSBaffle spacing between baffles
SI.Lengthe1Space between tubes and shell
Realnes# of shortest connections connecting neighboring tubes
Realn_RW# of tube rows in a window section
Realn_W# of tubes in both the upper and lower window
Realn_TTotal # of tubes (including blind and support)

Components

TypeNameDefaultDescription
SI.Accelerationg_n (from PartialDistributedStaggeredFlow)Modelica.Constants.g_nGravitational acceleration
Medium.ThermodynamicState[nFM + 1]states (from PartialDistributedStaggeredFlow)State at volumes
SI.Velocityvs (from PartialDistributedStaggeredFlow)Mean velocities of fluid flow
SI.TemperatureTs_wall (from PartialDistributedStaggeredFlow)Mean wall temperatures of heat transfer surface
SI.Length[nFM + 1]dimensions (from PartialDistributedStaggeredFlow)Characteristic dimensions (e.g. hydraulic diameter)
SI.Area[nFM + 1]crossAreas (from PartialDistributedStaggeredFlow)Cross sectional area
SI.Length[nFM + 1]perimeters (from PartialDistributedStaggeredFlow)Wetted perimeter
SI.Length[nFM]dlengths (from PartialDistributedStaggeredFlow)Length of flow model
SI.Heightroughnesses (from PartialDistributedStaggeredFlow)Average height of surface asperities
SI.Lengthdheights (from PartialDistributedStaggeredFlow)Height(states[2:nFM+1]) - Height(states[1:nFM])
SI.MassFlowRate[nFM]m_flows (from PartialDistributedStaggeredFlow)Mass flow rate across interfaces
SI.MomentumIs (from PartialDistributedStaggeredFlow)Momenta of flow segments
SI.ForceIbs (from PartialDistributedStaggeredFlow)Flow of momentum across boundaries and source/sink in volumes
SI.TemperatureTs_fluid (from PartialDistributedStaggeredFlow)Medium.temperature(states)Fluid temperature
SI.ReynoldsNumberRes (from PartialDistributedStaggeredFlow)Reynolds number
Units.NonDim[nFM]Ks_ab (from PartialMomentumBalance)fill(0, nFM)Minor loss coefficients. Flow in direction a -> b
Units.NonDim[nFM]Ks_ba (from PartialMomentumBalance)fill(0, nFM)Minor loss coefficients. Flow in direction b -> a
SI.ForceI_flows (from PartialMomentumBalance)Flow of momentum across boundaries
SI.ForceFs_p (from PartialMomentumBalance)Pressure forces
SI.ForceFs_fg (from PartialMomentumBalance)Friction and gravity forces
SI.Pressuredps_fg (from PartialMomentumBalance)Pressure drop between states
SI.PressureDifference[nFM]dps_K (from PartialMomentumBalance)Minor form-losses (K-loss)
Modelica.Blocks.Continuous.FirstOrder[nFM]firstOrder_dps_K (from PartialMomentumBalance)
TRANSFORM.Media.BaseProperties1Phase[nFM + 1]mediaProps (from PartialSinglePhase)Bulk fluid properties
TRANSFORM.Fluid.Pipes_Obsolete.ClosureModels.PressureLoss.HeatExchangers.BellDelawareShell.Window.dp_IN_conIN_con
TRANSFORM.Fluid.Pipes_Obsolete.ClosureModels.PressureLoss.HeatExchangers.BellDelawareShell.Window.dp_IN_varIN_var