modelTestWaterFlow1DFV_F

Test case for Water.Flow1DFV

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

The model is designed to test the component Water.Flow1DFV (fluid side of a heat exchanger, model uses finite volumes).

This model represent the two fluid sides of a heat exchanger made by two concentric tubes in counterflow configuration. The thickness of the wall separating the two tubes is negligible. 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 at time t = 50 s. 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...1200] sec

Integration Algorithm = DASSL

Algorithm Tolerance = 1e-6

Parameters

TypeNameDefaultDescription
IntegerNnodes20number of nodes
Modelica.SIunits.LengthLhex200total length
Modelica.SIunits.DiameterDihex0.02diameter of internal tube
Modelica.SIunits.DiameterDehex0.04diameter of external tube
Modelica.SIunits.Lengthth0.002tube wall thickness
Modelica.SIunits.RadiusrintDihex/2internal radius tube walls
Modelica.SIunits.Radiusrextrint + thinternal radius tube walls
Modelica.SIunits.LengthomegaintModelica.Constants.pi*Dihexwet perimeter internal tube
Modelica.SIunits.LengthomegaextModelica.Constants.pi*(Dihex + 2*th)wet perimeter internal tube
Modelica.SIunits.AreaAintModelica.Constants.pi*rint^2
Modelica.SIunits.AreaAextModelica.Constants.pi*Dehex^2/4 - Modelica.Constants.pi*rext^2
RealCfhex0.005friction coefficient
Modelica.SIunits.MassFlowRatewhex0.31nominal (and initial) mass flow rate
Modelica.SIunits.Pressurephex3e5initial pressure
Modelica.SIunits.SpecificEnthalpyhinhex1e5initial inlet specific enthalpy
Modelica.SIunits.SpecificEnthalpyhouthex1e5initial outlet specific enthalpy

Components

TypeNameDefaultDescription
Water.SinkPressureSideA_FluidSink
Water.SinkPressureSideB_FluidSink
Water.SourceMassFlowSideA_MassFlowRate
Water.ValveLinValveLin1
Water.ValveLinValveLin2
Water.SensTSensT_A_in
Modelica.Blocks.Sources.StepSideA_InSpecEnth
Modelica.Blocks.Sources.ConstantConstant1
Modelica.Blocks.Sources.ConstantConstant2
Water.SensTSensT_B_in
Water.SourceMassFlowSideB_MassFlowRate
Water.SensTSensT_A_out
Water.SensTSensT_B_out
Systemsystem
Water.Flow1DFVhexFVb
Water.Flow1DFVhexFVa
Thermal.CounterCurrentFVcounterCurrentFV
Thermal.MetalTubeFVmetalTubeFV

Contents

NameDescription
Medium

Revisions