modelTestWaterFlow1DFV_E

Test case for FluidPh.Flow1DFV

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

Information

The model is designed to test the component FluidPh.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
SI.LengthLhex200total length
SI.DiameterDihex0.02diameter of internal tube
SI.DiameterDehex0.04diameter of external tube
SI.LengthomegahexModelica.Constants.pi*Dihexwet perimeter of the tube interface
SI.AreaAintModelica.Constants.pi*Dihex^2/4cross section of internal tube
SI.AreaAextModelica.Constants.pi*Dehex^2/4 - Aintcross section of external tube
RealCfhex0.005friction coefficient
SI.MassFlowRatewhex0.31nominal (and initial) mass flow rate
SI.Pressurephex3e5initial pressure
SI.SpecificEnthalpyhinhex1e5initial inlet specific enthalpy
SI.SpecificEnthalpyhouthex1e5initial outlet specific enthalpy

Components

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

Contents

NameDescription
Medium

Revisions