modelTestWaterFlow1DFEM_E

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 represent the two fluid sides of a heat exchanger in counterflow configuration. The operating fluid is liquid water.
The mass flow rate during the experiment and initial conditions are the same for the two sides.
During the simulation, the inlet specific enthalpy for hexA ("hot side") is changed:

  • t=50 s, Step variation of the specific enthalpy of the fluid entering hexA .
The outlet temperature of the hot side starts changing after the fluid transport time delay, while the outlet temperature of the cold side starts changing immediately.

Simulation Interval = [0...900] 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.31
Modelica.SIunits.Pressurephex3e5
Modelica.SIunits.SpecificEnthalpyhinhex1e5
Modelica.SIunits.SpecificEnthalpyhouthex1e5

Components

TypeNameDefaultDescription
Water.Flow1DFEMhexA
ThermoPower.Water.SinkPressureSideA_FluidSink
ThermoPower.Water.SinkPressureSideB_FluidSink
ThermoPower.Water.SourceMassFlowSideA_MassFlowRate
ThermoPower.Water.ValveLinValveLin1
ThermoPower.Water.ValveLinValveLin2
Water.Flow1DFEMhexB
ThermoPower.Water.SensTSensT_A_in
Modelica.Blocks.Sources.StepSideA_InSpecEnth
Modelica.Blocks.Sources.ConstantConstant1
Modelica.Blocks.Sources.ConstantConstant2
ThermoPower.Water.SensTSensT_B_in
ThermoPower.Water.SourceMassFlowSideB_MassFlowRate
ThermoPower.Water.SensTSensT_A_out
ThermoPower.Water.SensTSensT_B_out
Thermal.CounterCurrentFEMCounterCurrent1
Systemsystem

Contents

NameDescription
Medium

Revisions