modelCell1Dim_limit

1-D fluid flow model (Real fluid model) with a limiter on the node enthalpies

Information

Model Cell1Dim_limit represents the Cell1D model with the limiter proposed in:

Schulze et al., A limiter for Preventing Singularity in Simplified Finite Volume Methods

.

An overall flow model can be obtained by interconnecting several cells in series (see Flow1Dim_limit).

Numerical options

Two more options are available with respecto to Cell1Dim model:

  • limit_hnode: if set to true, it limits the node enthalpy to ensure more robustness of the model
  • ylimit: it is a security factor to ensure a minimum distance between the outlet enthalpy and the theoretical limit


S. Quoilin, July 2013

Parameters

TypeNameDefaultDescription
IntegerNt1Number of cells in parallel
RealpiModelica.Constants.pipi-greco
Modelica.SIunits.VolumeViVolume of a single cell
Modelica.SIunits.AreaAiLateral surface of a single cell
Modelica.SIunits.MassFlowRateMdotnomNominal fluid flow rate
Modelica.SIunits.CoefficientOfHeatTransferUnom_lif HTtype = LiqVap : Heat transfer coefficient, liquid zone
Modelica.SIunits.CoefficientOfHeatTransferUnom_tpif HTtype = LiqVap : heat transfer coefficient, two-phase zone
Modelica.SIunits.CoefficientOfHeatTransferUnom_vif HTtype = LiqVap : heat transfer coefficient, vapor zone
Initialization
Modelica.SIunits.PressurepstartFluid pressure start value
Medium.SpecificEnthalpyhstart1E5Start value of enthalpy
Numerical options
DiscretizationsDiscretizationThermoCycle.Functions.Enumerations.Discretizations.upwind_AllowFlowReversalSelection of the spatial discretization scheme
Booleanlimit_hnodetrueLimits the node enthalpy to ensure more robustness
RealyLimit0.9Limiting factor. Defines how close to the singular system we can go. Should be set close to 1
BooleanMdotconstfalseSet to yes to assume constant mass flow rate at each node (easier convergence)
Booleanmax_derfalseSet to yes to limit the density derivative during phase transitions
Booleanfilter_dMdtfalseSet to yes to filter dMdt with a first-order filter
Realmax_drhodt100Maximum value for the density derivative
Modelica.SIunits.TimeTT1Integration time of the first-order filter
Initialization › Intialization options
Booleansteadystatetrueif true, sets the derivative of h (working fluids enthalpy in each cell) to zero during Initialization

Connectors

TypeNameDefaultDescription
ThermoCycle.Interfaces.Fluid.FlangeA_limitInFlow
ThermoCycle.Interfaces.Fluid.FlangeB_limitOutFlow
ThermoCycle.Interfaces.HeatTransfer.ThermalPortLWall_int

Components

TypeNameDefaultDescription
HeatTransferheatTransfer
Medium.ThermodynamicStatefluidState
Medium.SaturationPropertiessat
Medium.AbsolutePressurep
Modelica.SIunits.MassFlowRateM_dot_su
Modelica.SIunits.MassFlowRateM_dot_ex
Medium.SpecificEnthalpyhFluid specific enthalpy at the cells
Medium.TemperatureTFluid temperature
Medium.DensityrhoFluid cell density
Modelica.SIunits.DerDensityByEnthalpydrdhDerivative of density by enthalpy
Modelica.SIunits.DerDensityByPressuredrdpDerivative of density by pressure
Modelica.SIunits.SpecificEnthalpyhnode_suEnthalpy state variable at inlet node
Modelica.SIunits.SpecificEnthalpyhnode_exEnthalpy state variable at outlet node
RealdMdtTime derivative of mass in cell
Modelica.SIunits.HeatFluxqdotheat flux at each cell
RealxVapor quality
Modelica.SIunits.SpecificEnthalpyh_l
Modelica.SIunits.SpecificEnthalpyh_v
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
HeatTransfer