modelTestFlow1D2phDB

Test case for Flow1D2phDB

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

Information

The model is designed to test the component Flow1D2phDB (fluid side of a heat exchanger, finite volumes, two-phase flow, computation of the heat transfer coefficient).
This model represent the fluid side of a once-through boiler with an applied external linear temperature profile. The operating fluid is water.
The simulation proceeds through the following steps:

  • t=0 s. The initial state of the water is subcooled liquid. After 40 seconds all the thermal transients have settled.
  • t=100 s. Ramp increase of the external temperature profile. The water starts boiling at t=118 s. At the end of the transient (t=300) the outlet fluid is superheated vapour.
  • t=500 s. Ramp decrease of the external temperature profile. After the transient has settled, the fluid in the boiler is again subcooled water.

During the transient it is possible to observe the change in the heat transfer coefficients when boiling takes place; note that the h.t.c.'s do not change abruptly due to the smoothing algorithm inside the Flow1D2phDB model.

Simulation Interval = [0...1000] sec
Integration Algorithm = DASSL
Algorithm Tolerance = 1e-8

Parameters

TypeNameDefaultDescription
RealpiModelica.Constants.pi
IntegerNnodes8
SI.LengthLhex20
SI.DiameterDhex0.01
SI.Thicknessthhex0.002
SI.RadiusrhexDhex/2
SI.Lengthomegahexpi*Dhex
SI.AreaAhexpi*rhex^2
SI.PerUnitCfhex0.005

Components

TypeNameDefaultDescription
Water.Flow1D2phDBhex
ThermoPower.Water.ValveLinvalve
ThermoPower.Water.SinkPressureSink
Modelica.Blocks.Sources.StephIn
Modelica.Blocks.Sources.RampextTemp1
ThermoPower.Water.SourceMassFlowSource
Modelica.Blocks.Sources.RampextTemp2
Modelica.Blocks.Math.AddAdd1
Modelica.Blocks.Sources.RampxValve
Thermal.MetalTubeTube
Thermal.ConvHT_htchtFluid
Thermal.ConvHThtExt
Thermal.TempSource1DlintempSource
Modelica.Blocks.Math.AddAdd2
Modelica.Blocks.Sources.ConstantDT
Systemsystem

Contents

NameDescription
Medium

Revisions