modelzzOld_FlowGas1Dhtc

Extension of the Gas.Flow1D for fluid flow model with variable heat transfer coefficient

Extends from Gas.Flow1DFV (1-dimensional fluid flow model for gas (finite volumes)).

Parameters

TypeNameDefaultDescription
IntegerN (from Flow1DBase)2Number of nodes for thermal variables
IntegerNw (from Flow1DBase)N - 1Number of volumes on the wall interface
IntegerNt (from Flow1DBase)1Number of tubes in parallel
SI.DistanceL (from Flow1DBase)Tube length
SI.PositionH (from Flow1DBase)0Elevation of outlet over inlet
SI.AreaA (from Flow1DBase)Cross-sectional area (single tube)
SI.Lengthomega (from Flow1DBase)Perimeter of heat transfer surface (single tube)
SI.LengthDhyd (from Flow1DBase)Hydraulic Diameter (single tube)
Medium.MassFlowRatewnom (from Flow1DBase)Nominal mass flowrate (total)
ThermoPower.Choices.Flow1D.FFtypesFFtype (from Flow1DBase)ThermoPower.Choices.Flow1D.FFtypes.NoFrictionFriction Factor Type
SI.PressureDifferencedpnom (from Flow1DBase)0Nominal pressure drop
RealKfnom (from Flow1DBase)0Nominal hydraulic resistance coefficient
Medium.Densityrhonom (from Flow1DBase)0Nominal inlet density
SI.PerUnitCfnom (from Flow1DBase)0Nominal Fanning friction factor
SI.PerUnite (from Flow1DBase)0Relative roughness (ratio roughness/diameter)
RealKfc (from Flow1DBase)1Friction factor correction coefficient
BooleanDynamicMomentum (from Flow1DBase)falseInertial phenomena accounted for
BooleanUniformComposition (from Flow1DBase)trueUniform gas composition is assumed
BooleanQuasiStatic (from Flow1DBase)falseQuasi-static model (mass, energy and momentum static balances
HCtypesHydraulicCapacitance (from Flow1DBase)HCtypes.Downstream1: Upstream, 2: Downstream
BooleanavoidInletEnthalpyDerivative (from Flow1DBase)trueAvoid inlet enthalpy derivative
BooleanallowFlowReversal (from Flow1DBase)system.allowFlowReversal= true to allow flow reversal, false restricts to design direction
SI.Velocityunom (from Flow1DBase)10Nominal velocity for simplified equation
Realwnf (from Flow1DBase)0.01Fraction of nominal flow rate at which linear friction equals turbulent friction
SI.PerUnitwnm (from Flow1DFV)1e-2Maximum fraction of the nominal flow rate allowed as reverse flow
SI.CoefficientOfHeatTransfergamma_nomNominal h.t.c. coefficient
RealkwExponent of the mass flow rate in the h.t.c. correlation
Initialisation
Medium.AbsolutePressurepstart (from Flow1DBase)1e5Pressure start value
Medium.TemperatureTstartbar (from Flow1DBase)300Avarage temperature start value
Medium.TemperatureTstartin (from Flow1DBase)TstartbarInlet temperature start value
Medium.TemperatureTstartout (from Flow1DBase)TstartbarOutlet temperature start value
Medium.Temperature[N]Tstart (from Flow1DBase)linspace(Tstartin, Tstartout, N)Start value of temperature vector (initialized by default)
Medium.MassFraction[nX]Xstart (from Flow1DBase)Medium.reference_XStart gas composition
Choices.Init.OptionsinitOpt (from Flow1DBase)system.initOptInitialisation option
BooleannoInitialPressure (from Flow1DBase)falseRemove initial equation on pressure
BooleanfixedMassFlowSimplified (from Flow1DFV)falseFix flow rate = wnom for simplified homotopy model

Connectors

TypeNameDefaultDescription
FlangeAinfl (from Flow1DBase)
FlangeBoutfl (from Flow1DBase)
Thermal.DHTVolumeswall (from Flow1DFV)

Components

TypeNameDefaultDescription
ThermoPower.Systemsystem (from Flow1DBase)System wide properties
HeatTransferheatTransfer (from Flow1DFV)Instantiated heat transfer model
Medium.BaseProperties[N]gas (from Flow1DFV)Gas nodal properties
SI.PressureDpfric (from Flow1DFV)Pressure drop due to friction
SI.Lengthomega_hyd (from Flow1DFV)Wet perimeter (single tube)
RealKf (from Flow1DFV)Friction factor
RealKfl (from Flow1DFV)Linear friction factor
Realdwdt (from Flow1DFV)Time derivative of mass flow rate
SI.PerUnitCf (from Flow1DFV)Fanning friction factor
Medium.MassFlowRatew (from Flow1DFV)Mass flowrate (single tube)
SI.Temperature[N - 1]Ttilde (from Flow1DFV)Temperature state variables
Medium.Temperature[N]T (from Flow1DFV)Node temperatures
Medium.SpecificEnthalpy[N]h (from Flow1DFV)Node specific enthalpies
Medium.TemperatureTin (from Flow1DFV)
Medium.MassFraction[if UniformComposition or Medium.fixedX then 1 else N - 1,nX]Xtilde (from Flow1DFV)Composition state variables
Medium.MassFlowRate[N - 1]wbar (from Flow1DFV)
SI.Power[N - 1]Q_single (from Flow1DFV)heatTransfer.Qvol/NtHeat flows entering the volumes from the lateral boundary (single tube)
SI.Velocity[N]u (from Flow1DFV)Fluid velocity
Medium.AbsolutePressurep (from Flow1DFV)
SI.TimeTr (from Flow1DFV)Residence time
SI.MassM (from Flow1DFV)Gas Mass (single tube)
SI.MassMtot (from Flow1DFV)Gas Mass (total)
SI.PowerQ (from Flow1DFV)Total heat flow through the wall (all Nt tubes)