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

TypeNameDefaultDescription
IntegerNnodes (from TestHeatTransfer2phDBa)10
Medium.SpecificEnthalpyhstartin (from TestHeatTransfer2phDBa)1e5
SI.AreaAcross (from TestHeatTransfer2phDBa)2.827e-3
Medium.AbsolutePressurep (from TestHeatTransfer2phDBa)3e6
Medium.MassFlowRatewnom (from TestHeatTransfer2phDBa)2
Medium.MassFlowRate[Nnodes]w (from TestHeatTransfer2phDBa)wnom*ones(Nnodes)

Components

TypeNameDefaultDescription
Medium.SpecificEnthalpyhstartout (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.HeatTransfer2phDBHeatTransfer (from TestHeatTransfer2phDBa)
Thermal.TempSource1DFVTempSource (from TestHeatTransfer2phDBa)
Modelica.Blocks.Sources.ConstantTemperature_const (from TestHeatTransfer2phDBa)

Revisions