modelTestWaterFlow1DFEM_B

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 fluid side of a heat exchanger with convective exchange with an external source at a given temperature.
The operating fluid is liquid water.
During the experiment the external (fixed) temperature changes:

  • t=20 s, Step variation of the external temperature. Heat exchanger outlet temperature should vary accordingly to the transfer function (K1/(1+s*tau1))*(1-exp(-K2-s*tau2)), where the parameters K1, K2, tau1, tau1 depend on exchanger geometry, the fluid heat transfer coefficient and operating conditions.

Simulation Interval = [0...200] 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.SpecificEnthalpyhs1e5

Components

TypeNameDefaultDescription
Water.Flow1DFEMhex
Thermal.TempSource1DFEMTempSource
ThermoPower.Water.ValveLinValveLin1
ThermoPower.Water.SourceMassFlowFluidSource
ThermoPower.Water.SinkPressureFluidSink
Modelica.Blocks.Sources.StepTemperature
Modelica.Blocks.Sources.ConstantConstant1
ThermoPower.Water.SensTT_in
ThermoPower.Water.SensTT_out
Systemsystem

Contents

NameDescription
Medium

Revisions