modelTestWaterFlow1DFEM_G

Test case for Flow1DFEM

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

Information

The model is designed to test the component Flow1DFEM (fluid side of a heat exchanger, finite element method) under reversing and zero flow conditions.

The simulation starts with cold fluid in the pipe and with positive flow from the hot source on the left. Around t = 20, the flow is reversed, and cold fluid enters the pipe from the cold source on the right. Around t = 40, the flow is brought to zero and stays there.

Simulation Interval = [0...50] sec

Integration Algorithm = DASSL

Algorithm Tolerance = 1e-6

Parameters

TypeNameDefaultDescription
IntegerNnodes6
SI.LengthLhex10
SI.DiameterDihex0.02
SI.RadiusrhexDihex/2
SI.LengthomegahexModelica.Constants.pi*Dihex
SI.AreaAhexModelica.Constants.pi*rhex^2
SI.PerUnitCfhex0.005
SI.MassFlowRatewhex0.3
SI.Pressurephex2e5
SI.SpecificEnthalpyhinhex1e5
SI.SpecificEnthalpyhouthex1e5
SI.SpecificEnthalpydeltah41800
SI.EnergyFlowRateW41800*whex

Components

TypeNameDefaultDescription
ThermoPower.Water.SourceMassFlowFluid_Source
ThermoPower.Water.SinkPressureFluid_Sink
Water.Flow1DFEMhex
ThermoPower.Water.SensTT_in
Modelica.Blocks.Sources.TimeTableMassFlowRate
ThermoPower.Water.SensTT_out
Systemsystem

Contents

NameDescription
Medium

Revisions