modelTestHeatTransfer2phDBa

Test case for HeatTransfer2phDB

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

The model is designed to test the component Water.HeatTransfer2phDB during the evaporation 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
IntegerNnodes10
Medium.SpecificEnthalpyhstartin1e5
SI.AreaAcross2.827e-3
Medium.AbsolutePressurep3e6
Medium.MassFlowRatewnom2
Medium.MassFlowRate[Nnodes]wwnom*ones(Nnodes)

Components

TypeNameDefaultDescription
Medium.SpecificEnthalpyhstartout(1e5 + 0.001) + 3.4e6*time
Medium.SpecificEnthalpy[Nnodes]hlinspace(hstartin, hstartout, Nnodes)
Medium.ThermodynamicState[Nnodes]fluidState
Thermal.HeatTransferFV.HeatTransfer2phDBHeatTransfer
Thermal.TempSource1DFVTempSource
Modelica.Blocks.Sources.ConstantTemperature_const

Contents

NameDescription
Medium

Revisions