
modelFlow1DimInc_130702
1-D fluid flow model (finite volume discretization - incompressible fluid model)
Parameters
| Type | Name | Default | Description |
| HT_sf | HTtype | HT_sf.Const | Select type of heat transfer coefficient |
| Real | pi | Modelica.Constants.pi | pi-greco |
| Integer | N | 2 | 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.02588 | 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 | hstart_inlet | Medium.specificEnthalpy_pTX(pstart, Tstart_inlet, fill(0, 0)) | Inlet temperature start value |
| Medium.SpecificEnthalpy | hstart_outlet | Medium.specificEnthalpy_pTX(pstart, Tstart_outlet, fill(0, 0)) | Outlet temperature start value |
| Medium.SpecificEnthalpy[N] | hstart | linspace(hstart_inlet, hstart_outlet, 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 |
Components
| Type | Name | Default | Description |
| Medium.ThermodynamicState[N] | fluidState | | |
| Modelica.SIunits.MassFlowRate | M_dot_su | | |
| Modelica.SIunits.MassFlowRate | Mdot | | |
| Medium.SpecificEnthalpy[N] | h | | Fluid specific enthalpy at the cells |
| Medium.Temperature[N] | T | | Fluid temperature |
| Modelica.SIunits.Temperature[N] | T_wall | | Internal wall temperature |
| Medium.Density[N] | rho | | Fluid cell density |
| Medium.SpecificHeatCapacity[N] | cp | | Fluid cell heat capacity |
| Modelica.SIunits.SpecificEnthalpy[N + 1] | hnode | | Enthalpy state variables at each node |
| Modelica.SIunits.HeatFlux[N] | qdot | | heat flux at each cell |
| Modelica.SIunits.CoefficientOfHeatTransfer | U | | Heat transfer coefficient between wall and working fluid |
| 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 |