modelFlow1DimInc_130702

1-D fluid flow model (finite volume discretization - incompressible fluid model)

Parameters

TypeNameDefaultDescription
HT_sfHTtypeHT_sf.ConstSelect type of heat transfer coefficient
RealpiModelica.Constants.pipi-greco
IntegerN2Number of cells
Modelica.SIunits.AreaA16.18Lateral surface of the tube: heat exchange area
Modelica.SIunits.VolumeV0.03781Volume of the tube
Modelica.SIunits.VolumeViV/NVolume of a single cell
Modelica.SIunits.AreaAiA/NLateral surface of a single cell
Modelica.SIunits.MassFlowRateMdotnom0.02588Nominal fluid flow rate
Modelica.SIunits.CoefficientOfHeatTransferUnomif HTtype = Const: Heat transfer coefficient
Initialization
Modelica.SIunits.PressurepstartFluid pressure start value
Medium.TemperatureTstart_inletInlet temperature start value
Medium.TemperatureTstart_outletOutlet temperature start value
Medium.SpecificEnthalpyhstart_inletMedium.specificEnthalpy_pTX(pstart, Tstart_inlet, fill(0, 0))Inlet temperature start value
Medium.SpecificEnthalpyhstart_outletMedium.specificEnthalpy_pTX(pstart, Tstart_outlet, fill(0, 0))Outlet temperature start value
Medium.SpecificEnthalpy[N]hstartlinspace(hstart_inlet, hstart_outlet, N)Start value of enthalpy vector (initialized by default)
Numerical options
DiscretizationsDiscretizationThermoCycle.Functions.Enumerations.Discretizations.centr_diffSelection of the spatial discretization scheme
Initialization › Intialization options
Booleansteadystatetrueif true, sets the derivative of h (working fluids enthalpy in each cell) to zero during Initialization

Connectors

TypeNameDefaultDescription
Interfaces.Fluid.FlangeAInFlow
Interfaces.Fluid.FlangeBOutFlow
Interfaces.HeatTransfer.ThermalPortWall_int

Components

TypeNameDefaultDescription
Medium.ThermodynamicState[N]fluidState
Modelica.SIunits.MassFlowRateM_dot_su
Modelica.SIunits.MassFlowRateMdot
Medium.SpecificEnthalpy[N]hFluid specific enthalpy at the cells
Medium.Temperature[N]TFluid temperature
Modelica.SIunits.Temperature[N]T_wallInternal wall temperature
Medium.Density[N]rhoFluid cell density
Medium.SpecificHeatCapacity[N]cpFluid cell heat capacity
Modelica.SIunits.SpecificEnthalpy[N + 1]hnodeEnthalpy state variables at each node
Modelica.SIunits.HeatFlux[N]qdotheat flux at each cell
Modelica.SIunits.CoefficientOfHeatTransferUHeat transfer coefficient between wall and working fluid
Modelica.SIunits.PowerQ_totTotal heat flux exchanged by the thermal port
Modelica.SIunits.MassM_totTotal mass of the fluid in the component

Contents

NameDescription
Medium