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:
S. Quoilin, July 2013
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | Nt | 1 | Number of cells in parallel |
| Real | pi | Modelica.Constants.pi | pi-greco |
| Modelica.SIunits.Volume | Vi | Volume of a single cell | |
| Modelica.SIunits.Area | Ai | Lateral surface of a single cell | |
| Modelica.SIunits.MassFlowRate | Mdotnom | Nominal fluid flow rate | |
| Modelica.SIunits.CoefficientOfHeatTransfer | Unom_l | if HTtype = LiqVap : Heat transfer coefficient, liquid zone | |
| Modelica.SIunits.CoefficientOfHeatTransfer | Unom_tp | if HTtype = LiqVap : heat transfer coefficient, two-phase zone | |
| Modelica.SIunits.CoefficientOfHeatTransfer | Unom_v | if HTtype = LiqVap : heat transfer coefficient, vapor zone | |
| Initialization | |||
| Modelica.SIunits.Pressure | pstart | Fluid pressure start value | |
| Medium.SpecificEnthalpy | hstart | 1E5 | Start value of enthalpy |
| Numerical options | |||
| Discretizations | Discretization | ThermoCycle.Functions.Enumerations.Discretizations.upwind_AllowFlowReversal | Selection of the spatial discretization scheme |
| Boolean | limit_hnode | true | Limits the node enthalpy to ensure more robustness |
| Real | yLimit | 0.9 | Limiting factor. Defines how close to the singular system we can go. Should be set close to 1 |
| Boolean | Mdotconst | false | Set to yes to assume constant mass flow rate at each node (easier convergence) |
| Boolean | max_der | false | Set to yes to limit the density derivative during phase transitions |
| Boolean | filter_dMdt | false | Set to yes to filter dMdt with a first-order filter |
| Real | max_drhodt | 100 | Maximum value for the density derivative |
| Modelica.SIunits.Time | TT | 1 | Integration time of the first-order filter |
| Initialization › Intialization options | |||
| Boolean | steadystate | true | if true, sets the derivative of h (working fluids enthalpy in each cell) to zero during Initialization |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ThermoCycle.Interfaces.Fluid.FlangeA_limit | InFlow | ||
| ThermoCycle.Interfaces.Fluid.FlangeB_limit | OutFlow | ||
| ThermoCycle.Interfaces.HeatTransfer.ThermalPortL | Wall_int |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| HeatTransfer | heatTransfer | ||
| Medium.ThermodynamicState | fluidState | ||
| Medium.SaturationProperties | sat | ||
| Medium.AbsolutePressure | p | ||
| Modelica.SIunits.MassFlowRate | M_dot_su | ||
| Modelica.SIunits.MassFlowRate | M_dot_ex | ||
| Medium.SpecificEnthalpy | h | Fluid specific enthalpy at the cells | |
| Medium.Temperature | T | Fluid temperature | |
| Medium.Density | rho | Fluid cell density | |
| Modelica.SIunits.DerDensityByEnthalpy | drdh | Derivative of density by enthalpy | |
| Modelica.SIunits.DerDensityByPressure | drdp | Derivative of density by pressure | |
| Modelica.SIunits.SpecificEnthalpy | hnode_su | Enthalpy state variable at inlet node | |
| Modelica.SIunits.SpecificEnthalpy | hnode_ex | Enthalpy state variable at outlet node | |
| Real | dMdt | Time derivative of mass in cell | |
| Modelica.SIunits.HeatFlux | qdot | heat flux at each cell | |
| Real | x | Vapor quality | |
| Modelica.SIunits.SpecificEnthalpy | h_l | ||
| Modelica.SIunits.SpecificEnthalpy | h_v | ||
| Modelica.SIunits.Power | Q_tot | Total heat flux exchanged by the thermal port | |
| Modelica.SIunits.Mass | M_tot | Total mass of the fluid in the component |
Contents
| Name | Description |
|---|---|
| Medium | |