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
Modelica.SIunits.LengthLhex200
Modelica.SIunits.DiameterDihex0.02
Modelica.SIunits.RadiusrhexDihex/2
Modelica.SIunits.LengthomegahexModelica.Constants.pi*Dihex
Modelica.SIunits.AreaAhexModelica.Constants.pi*rhex^2
RealCfhex0.005
Modelica.SIunits.MassFlowRatewhex0.3
Modelica.SIunits.Pressurephex1e5
Modelica.SIunits.SpecificEnthalpyhs1e5

Components

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

Contents

NameDescription
Medium

Revisions