modelTestWaterFlow1DFEM_A

Test case for Flow1DFEM
Diagram of TestWaterFlow1DFEM_A

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 fluid side of a heat exchanger with an applied external heat flow. The operating fluid is liquid water.
During the simulation, the inlet specific enthalpy, heat flux and mass flow rate are changed:

  • t=0 s, Step variation of the specific enthalpy of the fluid entering the heat exchanger. The outlet temperature should undergo a step change 10 s later.
  • t=30 s, Step variation of the thermal flow entering the heat exchanger lateral surface. The outlet temperature should undergo a ramp change lasting 10 s
  • t=50 s, Step variation of the mass flow rate entering the heat exchanger. Again, the outlet temperature should undergo a ramp change lasting 10s

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

Parameters

TypeNameDefaultDescription
IntegerNnodes12
Modelica.SIunits.LengthLhex10
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.Pressurephex2e5
Modelica.SIunits.SpecificEnthalpyhinhex1e5
Modelica.SIunits.SpecificEnthalpyhouthex1e5
Modelica.SIunits.SpecificEnthalpydeltah41800
Modelica.SIunits.EnergyFlowRateW41800*whex

Components

TypeNameDefaultDescription
ThermoPower.Water.SourceMassFlowFluid_Source
ThermoPower.Water.SinkPressureFluid_Sink
ThermoPower.Water.ValveLinValve
Water.Flow1DFEMhex
ThermoPower.Water.SensTT_in
Thermal.HeatSource1DFEMHeatSource1D1
Modelica.Blocks.Sources.StepMassFlowRate
Modelica.Blocks.Sources.ConstantConstant1
Modelica.Blocks.Sources.StepInSpecEnthalpy
Modelica.Blocks.Sources.StepExtPower
ThermoPower.Water.SensTT_out
Systemsystem

Contents

NameDescription
Medium

Revisions