modelTestFlow1D2phChen_hf

Test case for Flow1D2ph

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, heat transfer computation) with a prescribed external heat flux, for debugging purposes. The heat transfer coefficient on the wall connector should be a continuous function.

Simulation Interval = [0...300] sec
Integration Algorithm = DASSL
Algorithm Tolerance = 1e-7

Parameters

TypeNameDefaultDescription
RealpiModelica.Constants.pi
IntegerNnodes10
SI.LengthLhex10
SI.DiameterDhex0.02
SI.Thicknessthhex0
SI.RadiusrhexDhex/2
SI.LengthomegahexDhex
SI.AreaAhexpi*rhex^2
RealCfhex0.005

Components

TypeNameDefaultDescription
Water.Flow1D2phChenhex
ThermoPower.Water.ValveLinvalve
ThermoPower.Thermal.HeatSource1DhtcheatSource
ThermoPower.Water.SinkPressureSink
Modelica.Blocks.Sources.RampextPower
ThermoPower.Water.SourceMassFlowSource
Modelica.Blocks.Sources.RampextPower2
Modelica.Blocks.Math.AddAdd1
Modelica.Blocks.Sources.RampxValve
Modelica.Blocks.Sources.RamphIn1
Modelica.Blocks.Math.AddAdd2
Modelica.Blocks.Sources.RampextPower1
Modelica.Blocks.Sources.RampextPower3
Modelica.Blocks.Math.AddAdd3
Systemsystem

Contents

NameDescription
Medium

Revisions