modelTestHeatTransfer2phDBb
Test case for HeatTransfer2phDB
Extends from Modelica.Icons.Example (Icon for runnable examples), TestHeatTransfer2phDBa (Test case for HeatTransfer2phDB).
Information
The model is designed to test the component Water.HeatTransfer2phDB during the condensation process, using water as a test medium.
The wall temperature is fixed and uniform. The fluid enthalpy spatial distribution is linear: the inlet condition is subcooled fluid, while the outlet condition is progressively increased from subcooled to superheated. The ensuing heat flows do not show any discontinuity when the phase boundaries cross the volume boundaries.
Simulation Interval = [0...1] sec
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | Nnodes (from TestHeatTransfer2phDBa) | 10 | |
| Medium.SpecificEnthalpy | hstartin (from TestHeatTransfer2phDBa) | 1e5 | |
| SI.Area | Across (from TestHeatTransfer2phDBa) | 2.827e-3 | |
| Medium.AbsolutePressure | p (from TestHeatTransfer2phDBa) | 3e6 | |
| Medium.MassFlowRate | wnom (from TestHeatTransfer2phDBa) | 2 | |
| Medium.MassFlowRate[Nnodes] | w (from TestHeatTransfer2phDBa) | wnom*ones(Nnodes) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.SpecificEnthalpy | hstartout (from TestHeatTransfer2phDBa) | (1e5 + 0.001) + 3.4e6*time | |
| Medium.SpecificEnthalpy[Nnodes] | h (from TestHeatTransfer2phDBa) | linspace(hstartin, hstartout, Nnodes) | |
| Medium.ThermodynamicState[Nnodes] | fluidState (from TestHeatTransfer2phDBa) | ||
| Thermal.HeatTransferFV.HeatTransfer2phDB | HeatTransfer (from TestHeatTransfer2phDBa) | ||
| Thermal.TempSource1DFV | TempSource (from TestHeatTransfer2phDBa) | ||
| Modelica.Blocks.Sources.Constant | Temperature_const (from TestHeatTransfer2phDBa) |
Revisions
- 3 May 2013 by Stefano Boni:
First release.