modelTestWaterFlow1DFEM_C

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).
This model is designed to simulate the flow reversal througth the heat exchanger. The operating fluid is liquid water; the heat flux entering the heat exchanger is set to zero.
During the simulation, flow reversal is achieved:

  • t=500 s, Negative ramp variation (duration = 20 s) of the mass flow rate trough the heat exchanger. The final mass flow rate has the same magnitude and opposite direction with respect to the initial one.

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

Parameters

TypeNameDefaultDescription
IntegerNnodes12
SI.LengthLhex200
SI.DiameterDihex0.02
SI.RadiusrhexDihex/2
SI.LengthomegahexModelica.Constants.pi*Dihex
SI.AreaAhexModelica.Constants.pi*rhex^2
RealCfhex0.005
SI.MassFlowRatewhex0.3
SI.Pressurephex1e5
SI.SpecificEnthalpyhs1e5

Components

TypeNameDefaultDescription
FluidPh.Flow1DFEMhex
ThermoPower.FluidPh.ValveLinValveLin1
ThermoPower.FluidPh.SinkPressureSinkP1
ThermoPower.FluidPh.SourceMassFlowSourceW1
Modelica.Blocks.Sources.RampRamp1
Modelica.Blocks.Sources.ConstantConstant1
ThermoPower.FluidPh.SensTT_in
ThermoPower.FluidPh.SensTT_out
Systemsystem

Contents

NameDescription
Medium

Revisions