modelFlow1Dim_limit
1-D fluid flow model (finite volume discretization - real fluid model). Based on the cell component with limited node enthalpy
Information
Implementation of the Flow1Dim model with the limiter proposed in:
Schulze et al., A limiter for Preventing Singularity in Simplified Finite Volume Methods
It is obtained by connecting in series N Cell1Dim_limit.
The model is characterized by a SummaryClass that provide a quick access to the following variables once the model is simulated:
S. Quoilin, July 2013
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | Nt | 1 | Number of cells in parallel |
| Real | pi | Modelica.Constants.pi | pi-greco |
| Integer | N | 10 | Number of cells |
| Modelica.SIunits.Area | A | 16.18 | Lateral surface of the tube: heat exchange area |
| Modelica.SIunits.Volume | V | 0.03781 | Volume of the tube |
| Modelica.SIunits.Volume | Vi | V/N | Volume of a single cell |
| Modelica.SIunits.Area | Ai | A/N | Lateral surface of a single cell |
| Modelica.SIunits.MassFlowRate | Mdotnom | 0.2588 | Nominal fluid flow rate |
| Modelica.SIunits.CoefficientOfHeatTransfer | Unom_l | 100 | if HTtype = LiqVap : Heat transfer coefficient, liquid zone |
| Modelica.SIunits.CoefficientOfHeatTransfer | Unom_tp | 100 | if HTtype = LiqVap : heat transfer coefficient, two-phase zone |
| Modelica.SIunits.CoefficientOfHeatTransfer | Unom_v | 100 | if HTtype = LiqVap : heat transfer coefficient, vapor zone |
| Initialization | |||
| Modelica.SIunits.Pressure | pstart | Fluid pressure start value | |
| Medium.Temperature | Tstart_inlet | Inlet temperature start value | |
| Medium.Temperature | Tstart_outlet | Outlet temperature start value | |
| Medium.SpecificEnthalpy[N] | hstart | linspace(Medium.specificEnthalpy_pT(pstart, Tstart_inlet), Medium.specificEnthalpy_pT(pstart, Tstart_outlet), N) | Start value of enthalpy vector (initialized by default) |
| Numerical options | |||
| Discretizations | Discretization | ThermoCycle.Functions.Enumerations.Discretizations.upwind_AllowFlowReversal | Selection of the spatial discretization scheme |
| 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 | InFlow | ||
| ThermoCycle.Interfaces.Fluid.FlangeB | OutFlow | ||
| ThermoCycle.Interfaces.HeatTransfer.ThermalPort | Wall_int |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SummaryClass | Summary | ||
| Interfaces.Fluid.PortConverter_limit | portConverter_in | ||
| Interfaces.Fluid.PortConverter_limit | portConverter_out | ||
| 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 | |
| ThermoCycle.Components.FluidFlow.Pipes.Cell1Dim_limit[N] | Cells | ||
| Interfaces.HeatTransfer.ThermalPortConverter | thermalPortConverter |
Contents
| Name | Description |
|---|---|
| Medium | |
| SummaryClass | |