modelTestWaterFlow1DFV_B

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, finite volumes).

This model represent the fluid side of a heat exchanger with convective exchange with an external source of uniform given temperature. The operating fluid is liquid water. The number of transfer units in the selected operating point is NTU = 0.73. Assuming incompressible fluid and constant cp, when the external temperature is raised at time t = 20 s, the outlet temperature should follow a ramp change, with a duration equal to the residence time of the fluid in the tubes, and an amplitude equal to a fraction exp(-NTU) of the external temperature change.

Simulation Interval = [0...200] sec

Integration Algorithm = DASSL

Algorithm Tolerance = 1e-6

Parameters

TypeNameDefaultDescription
IntegerNnodes10Number of nodes
IntegerNt5Number of tubes
Modelica.SIunits.LengthLhex2Total length
Modelica.SIunits.DiameterDihex0.02Internal diameter
Modelica.SIunits.RadiusrhexDihex/2Internal radius
Modelica.SIunits.LengthomegahexModelica.Constants.pi*DihexInternal perimeter
Modelica.SIunits.AreaAhexModelica.Constants.pi*rhex^2Internal cross section
RealCfhex0.005Friction coefficient
Modelica.SIunits.MassFlowRatewhex0.31Nominal mass flow rate
Modelica.SIunits.Pressurephex3e5Initial pressure
Modelica.SIunits.SpecificEnthalpyhs1e5Initial inlet specific enthalpy
Modelica.SIunits.CoefficientOfHeatTransfergamma1500Fixed heat transfer coefficient

Components

TypeNameDefaultDescription
RealcpMedium.specificHeatCapacityCp(hex.fluidState[1])
RealNTU(Nt*Lhex*Dihex*3.1415*gamma)/(whex*Medium.specificHeatCapacityCp(hex.fluidState[1]))Number of heat transfer units
Realalpha1 - exp(-NTU)Steady state gain of outlet temperature vs. external temperature
Water.ValveLinvalve
Water.SourceMassFlowfluidSource
Water.SinkPressurefluidSink
Modelica.Blocks.Sources.StepTemperature
Modelica.Blocks.Sources.ConstantConstant1
Water.SensTT_in
Water.SensTT_out
Systemsystem
Thermal.TempSource1DFVtempSource
Water.Flow1DFVhex

Contents

NameDescription
Medium

Revisions