modelTestHeatTransfer2phDB
Test of two-phase heat transfer components
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
The test demonstrates that the computed heat flows change continuously with the node enthalpies and the flow rate, as required to guarantee the existence and uniqueness of the DAE solution.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | Nf | 6 | Number of nodes on the fluid side |
| Integer | Nw | 5 | Number of nodes on the wallside |
| Integer | Nt | 1 | Number of tubes in parallel |
| SI.Distance | L | 2 | Tube length |
| SI.Area | A | 1e-3 | Cross-sectional area (single tube) |
| SI.Length | omega | 1e-3 | Wet perimeter of heat transfer surface (single tube) |
| SI.Length | Dhyd | 1e-4 | Hydraulic Diameter (single tube) |
| SI.MassFlowRate | wnom | 10 | Nominal mass flow rate (single tube) |
| Boolean | useAverageTemperature | true | = true to use average temperature for heat transfer |
| Medium.AbsolutePressure | p | 1e6 | |
| Medium.SpecificEnthalpy | h_liq | 1e5 | |
| Medium.SpecificEnthalpy | h_vap | 3.2e6 | |
| Real | u | 1 | For unit consistency |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermoPower.Thermal.HeatTransferFV.HeatTransfer2phDB | heatTransfer | ||
| ThermoPower.Thermal.TempSource1DFV | tempSource | ||
| Medium.SpecificEnthalpy | h1 | ||
| Medium.SpecificEnthalpy | h2 | ||
| Medium.SpecificEnthalpy[Nf] | h | ||
| Medium.ThermodynamicState[Nf] | fluidState | ||
| Medium.MassFlowRate[Nf] | w | ||
| SI.Power[Nw] | Q | -tempSource.wall.Q |
Contents
| Name | Description |
|---|---|
Revisions
- 15 Lug 2014 by Francesco Casella:
First release.