
modelFlow1DimInc
1-D fluid flow model (finite volume discretization - incompressible fluid model). Based on the Cell component
Information
This model describes the flow of incompressible fluid through a discretized one dimentional tube. It is obtained by connecting in series N Cell1DimInc.
The model is characterized by a SummaryClass that provide a quick access to the following variables once the model is simulated:
- Enthalpy at each node
- Enthalpy at the center of each cell
- Density at the center of each cell
- Massflow at each node
- Temperature at the center of each cell
- Pressure in the tube
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.MassFlowRate | Mdotnom | 0.2588 | Nominal fluid flow rate |
| Modelica.SIunits.CoefficientOfHeatTransfer | Unom | | if HTtype = Const: Heat transfer coefficient |
| 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_pTX(pstart, Tstart_inlet, fill(0, 0)), Medium.specificEnthalpy_pTX(pstart, Tstart_outlet, fill(0, 0)), N) | Start value of enthalpy vector (initialized by default) |
| Numerical options |
| Discretizations | Discretization | ThermoCycle.Functions.Enumerations.Discretizations.centr_diff | Selection of the spatial discretization scheme |
| Initialization › Intialization options |
| Boolean | steadystate | true | if true, sets the derivative of h (working fluids enthalpy in each cell) to zero during Initialization |