modelFlow1DFV2w

Same as Flow1DFV with two walls and heat transfer models

Extends from Flow1DFV (1-dimensional fluid flow model for water/steam (finite volumes)).

Parameters

TypeNameDefaultDescription
Realpi (from Flow1DBase)Modelica.Constants.pi
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)omega/piHydraulic 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 (friction term only!)
RealKfnom (from Flow1DBase)0Nominal hydraulic resistance coefficient (DP = Kfnom*w^2/rho)
Medium.Densityrhonom (from Flow1DBase)0Nominal inlet density
SI.PerUnitCfnom (from Flow1DBase)0Nominal Fanning friction factor
SI.PerUnite (from Flow1DBase)0Relative roughness (ratio roughness/diameter)
SI.PerUnitKfc (from Flow1DBase)1Friction factor correction coefficient
BooleanDynamicMomentum (from Flow1DBase)falseInertial phenomena accounted for
ThermoPower.Choices.Flow1D.HCtypesHydraulicCapacitance (from Flow1DBase)ThermoPower.Choices.Flow1D.HCtypes.DownstreamLocation of the hydraulic capacitance
BooleanavoidInletEnthalpyDerivative (from Flow1DBase)trueAvoid inlet enthalpy derivative
BooleanallowFlowReversal (from Flow1DBase)system.allowFlowReversal= true to allow flow reversal, false restricts to design direction
SI.PerUnitwnf (from Flow1DBase)0.02Fraction of nominal flow rate at which linear friction equals turbulent friction
SI.Accelerationg (from Flow1DBase)Modelica.Constants.g_n
SI.PerUnitdzdx (from Flow1DBase)H/LSlope
SI.Lengthl (from Flow1DBase)L/(N - 1)Length of a single volume
SI.VolumeV (from Flow1DBase)Nt*A*LTotal volume (all Nt tubes)
SI.PerUnitwnm (from Flow1DFV)1e-3Maximum fraction of the nominal flow rate allowed as reverse flow
Initialisation
Choices.FluidPhase.FluidPhasesFluidPhaseStart (from Flow1DBase)Choices.FluidPhase.FluidPhases.LiquidFluid phase (only for initialization!)
Medium.AbsolutePressurepstart (from Flow1DBase)1e5Pressure start value
Medium.SpecificEnthalpyhstartin (from Flow1DBase)if FluidPhaseStart == Choices.FluidPhase.FluidPhases.Liquid then 1e5 else if FluidPhaseStart == Choices.FluidPhase.FluidPhases.Steam then 3e6 else 1e6Inlet enthalpy start value
Medium.SpecificEnthalpyhstartout (from Flow1DBase)if FluidPhaseStart == Choices.FluidPhase.FluidPhases.Liquid then 1e5 else if FluidPhaseStart == Choices.FluidPhase.FluidPhases.Steam then 3e6 else 1e6Outlet enthalpy start value
Medium.SpecificEnthalpy[N]hstart (from Flow1DBase)linspace(hstartin, hstartout, N)Start value of enthalpy vector (initialized by default)
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)
ThermoPower.Thermal.DHTVolumeswall (from Flow1DFV)
Thermal.DHTVolumeswall2

Components

TypeNameDefaultDescription
ThermoPower.Systemsystem (from Flow1DBase)System wide properties
SI.PowerQ (from Flow1DBase)Total heat flow through the lateral boundary (all Nt tubes)
SI.TimeTr (from Flow1DBase)Residence time
Medium.ThermodynamicState[N]fluidState (from Flow1DFV)Thermodynamic state of the fluid at the nodes
SI.Lengthomega_hyd (from Flow1DFV)Wet perimeter (single tube)
SI.PressureDpfric (from Flow1DFV)Pressure drop due to friction (total)
SI.PressureDpfric1 (from Flow1DFV)Pressure drop due to friction (from inlet to capacitance)
SI.PressureDpfric2 (from Flow1DFV)Pressure drop due to friction (from capacitance to outlet)
SI.PressureDpstat (from Flow1DFV)Pressure drop due to static head
Medium.MassFlowRatewin (from Flow1DFV)Flow rate at the inlet (single tube)
Medium.MassFlowRatewout (from Flow1DFV)Flow rate at the outlet (single tube)
RealKf (from Flow1DFV)Hydraulic friction coefficient
Realdwdt (from Flow1DFV)Dynamic momentum term
SI.PerUnitCf (from Flow1DFV)Fanning friction factor
Medium.AbsolutePressurep (from Flow1DFV)Fluid pressure for property calculations
Medium.MassFlowRatew (from Flow1DFV)Mass flow rate (single tube)
Medium.MassFlowRate[N - 1]wbar (from Flow1DFV)Average flow rate through volumes (single tube)
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.Temperature[N]T (from Flow1DFV)Fluid temperature
Medium.SpecificEnthalpy[N]h (from Flow1DFV)Fluid specific enthalpy at the nodes
Medium.SpecificEnthalpy[N - 1]htilde (from Flow1DFV)Enthalpy state variables
Medium.Density[N]rho (from Flow1DFV)Fluid nodal density
SI.MassM (from Flow1DFV)Fluid mass (single tube)
SI.MassMtot (from Flow1DFV)Fluid mass (total)
SI.MassFlowRate[N - 1]dMdt (from Flow1DFV)Time derivative of mass in each cell between two nodes
HeatTransferheatTransfer (from Flow1DFV)Instantiated heat transfer model
HeatTransferheatTransfer2Instantiated heat transfer model

Contents

NameDescription
HeatTransfer2