modelTestWaterFlow1DFV_B

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, 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
SI.LengthLhex2Total length
SI.DiameterDihex0.02Internal diameter
SI.RadiusrhexDihex/2Internal radius
SI.LengthomegahexModelica.Constants.pi*DihexInternal perimeter
SI.AreaAhexModelica.Constants.pi*rhex^2Internal cross section
RealCfhex0.005Friction coefficient
SI.MassFlowRatewhex0.31Nominal mass flow rate
SI.Pressurephex3e5Initial pressure
SI.SpecificEnthalpyhs1e5Initial inlet specific enthalpy
SI.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
FluidPh.ValveLinvalve
FluidPh.SourceMassFlowfluidSource
FluidPh.SinkPressurefluidSink
Modelica.Blocks.Sources.StepTemperature
Modelica.Blocks.Sources.ConstantConstant1
FluidPh.SensTT_in
FluidPh.SensTT_out
Systemsystem
Thermal.TempSource1DFVtempSource
FluidPh.Flow1DFVhex

Contents

NameDescription
Medium

Revisions