Академический Документы
Профессиональный Документы
Культура Документы
TABLE OF CONTENTS
1. Introduction...................................................................................................................... 1
2. Getting started with the Thermal-Hydraulic Library .................................................. 2
3. The thermal properties of the liquids............................................................................. 9
3.1. Using the liquid thermal properties submodel ........................................................... 9
3.1.1. The "index of thermal hydraulic fluid" parameter............................................. 9
3.1.2. The "initial temperature" parameter ............................................................... 10
3.1.3. The "name of the fluid" parameter .................................................................. 10
3.1.4. The "filename for fluid characteristic data" parameter .................................. 11
3.2. Determining the thermal properties of the liquid..................................................... 11
3.2.1. Specific volume of a liquid............................................................................... 11
3.2.2. Absolute viscosity of a liquid ........................................................................... 12
3.2.3. Specific heat of a liquid ................................................................................... 12
3.2.4. Thermal conductivity of a liquid...................................................................... 12
3.3. Generating your own thermal liquid properties ....................................................... 13
4. Running multi-liquid simulations................................................................................. 18
5. Heat exchanger models based on effectiveness-NTU method .................................... 22
5.1. Effectiveness-NTU method ..................................................................................... 22
5.2. Liquid-liquid heat exchangers ................................................................................. 23
5.3. Liquid - gas heat exchangers ................................................................................... 27
6. Modeling a system with thermal components: important rules................................. 28
6.1. Causality in the thermal-hydraulic library ............................................................... 28
6.2. Other important rules............................................................................................... 28
7. Formulation of equations and underlying assumptions ............................................. 30
7.1. Brief review of the theory: flow calculations .......................................................... 30
7.1.1. Basic equations................................................................................................ 30
7.1.2. Further assumptions ........................................................................................ 31
7.1.3. About the Reynolds number............................................................................. 31
7.1.4. Resistive components: classification ............................................................... 32
7.1.4.1. Frictional drag category........................................................................... 33
7.1.4.2. Local resistance category ........................................................................ 35
7.1.4.3. Frictional and local resistance category................................................... 35
7.2. Brief review of the theory: thermal calculations...................................................... 36
7.2.1. Basic equations................................................................................................ 36
7.2.1.1. Capacitive Components........................................................................... 36
7.2.1.2. Resistive Components ............................................................................. 38
7.2.2. Further assumptions ........................................................................................ 39
7.2.3. About convection phenomena .......................................................................... 40
8. Advanced thermal-hydraulic properties...................................................................... 43
References........................................................................................................................... 47
September 2004
Table of Contents
1/2
September 2004
Table of Contents
2/2
Using the
Thermal-Hydraulic Library
1. Introduction
Heat exchanges occur in most industrial processes either because they are wanted (ovens,
heat exchangers) or because they are unavoidable (thermal shocks, thermal losses,
friction). These exchanges are likely to occur through mobile fluids or between mobile
fluids and the environment as soon as temperature differences are encountered.
The thermal-hydraulic library deals with liquids. It is based on a transient heat transfer
approach and is used to model thermal phenomena in liquids (energy transport,
convection) and to study the thermal evolution in these liquids when submitted to
different kinds of heat sources. As a consequence, special thermal liquid properties are
needed.
In fact, the thermal-hydraulic library is separated in three categories, the thermalhydraulic, the thermal-hydraulic resistance and the thermal hydraulic valves categories
which are all treated in this manual as a unique library.
By using the thermal-hydraulic library it is also possible to model large thermal-hydraulic
networks and evaluate pressure drops and mass flow rates through the components of
these networks.
This library can be used alone or can be coupled with the other AMESim Thermal library
and Cooling System library. These libraries contain some components having thermal
ports. Temperature and heat flow information can be exchanged between components of
these three libraries through their thermal ports. Building systems with components
belonging to these three libraries permits the study of thermal interactions between solids
and liquids.
Before describing the thermal properties of the liquid, we will work through a small
tutorial example. Then a second example will be given followed by rules and advices.
Finally, we will detail the theory and assumptions used in this library.
It is assumed that the reader is familiar with the use of AMESim. If this is not the case,
we suggest that you do the tutorial exercises of the AMESim manual before attempting
the examples below.
September 2004
1/47
200 L/hr
50 degC
100 L/hr
pump
injector
100 L/hr
25 L/hr
pressure
relief valve
75 L/hr
Figure 1: simplified part of an injection system
In this example, the unit chosen for the volumetric flow rates is L/hr because it is one of
the commonly used units in injection systems.
To model this system, select the thermal-hydraulic libraries category icons shown in
Figure 2.
September 2004
2/47
3/47
First look at the components available in this library. Display the titles of each component
by moving the pointer over the icons. When this is done, build the model of the system
above as shown in Figure 4.
Belongs to category
2, 5
3, 6
GA00 submodel of a
gain
4, 7
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
Default parameters
Thermal-Hydraulic
Signal, control and
observers
Default parameters
Expression :
max(x-1000,0)
8
9
10
11, 20
12
13
September 2004
Thermal-Hydraulic
Principal simulation
parameters
filename to be used
$AME/libthh/data/diesel.data
Constant value = 50
Thermal-Hydraulic
4/47
14
15
16, 19
17
18
Default parameters
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
No parameters
Resistive Components
Flow calculations:
mass flow rate
dm (kg/s)
Thermal
calculations:
enthalpy flow rates
dmh (W)
Capacitive Components
Flow calculations:
pressure
p (barA)
Thermal
calculations:
temperature
T (degC)
5/47
These variables are available for plotting. The symbols T, dmh, p, dm and dh will be
used in the equations that follow. Thermal ports are easily recognizable because of
September 2004
6/47
Next, we can compare the distribution of volumetric flow rates in the injector (flow in
component 8 - flow in component 16) and in the pressure relief valve branch (flow in
component 16) as shown in Figure 7. Finally, display the pressure drop in the pressure
relief valve (component 15: input pressure - output pressure) as shown in Figure 8. This
pressure drop is computed by subtracting the pressures computed at the pressure relief
valve ports.
This submodel contains the thermal properties of the liquid used for the simulation. More
details on TFFD1 will be given in section 3.
September 2004
7/47
Thermal considerations:
What are the hypotheses used concerning heat transport in the liquids, heat
transfers by convection and heat exchanges with the outside?
In section 6, a brief review of the theory and the equations concerning these
features is given.
How does the user have access to the thermal properties of the liquids and how
are these properties dealt with in the thermal-hydraulic library?
The thermal-hydraulic library uses a special submodel TFFD1 to handle the
thermal properties of the liquids. The use of this submodel will be fully described
in section 3.
Is it possible for the user to use his own liquid thermal properties?
Yes. To model the thermal properties of a liquid in the thermal-hydraulic library,
the use of submodel TFFD1 is of great importance. This submodel requires a
filename as parameter which contains all the data needed to have access to the
thermal characteristic properties of the liquid. In what follows, we explain how this
file can be generated using a special C utility delivered with the thermal-hydraulic
library.
If the user has a system to model which contains several liquids, is it possible to
run multi-liquid simulations ?
Yes. In some cases, systems comprise different liquids interacting with each other
(heat exchanges). Use of more than one instance of submodel TFFD1 enables the
handling of multi-liquid systems.
September 2004
8/47
September 2004
9/47
If this icon is inserted on the sketch of such a system, it behaves like the "Robert Bosch
Diesel Properties" icon, in that it defines properties that replace the standard hydraulic
properties of AMESim.
When using the standard hydraulic properties of AMESim, there is no influence of the
temperature on the calculation of the fluid properties. By using the icon above and
changing the initial temperature parameter, it is possible to make the thermal properties of
the liquid used vary as a function of not only pressure but also temperature. This
temperature parameter will be considered as the average temperature of the fluid in the
whole system during the overall simulation.
September 2004
10/47
vs = = vs0 [1 + (a p ) p + (a p 2 ) (p)
+ (a t ) T + (a t 2 ) ( T) 2 + (a pt ) pT ]
where vs0 is the reference specific volume (given at specified reference temperature and
pressure), ap is the specific volume coefficient for the pressure, ap2 is the specific volume
coefficient for the squared pressure, at is the specific volume coefficient for the
temperature, at2 is the specific volume coefficient for the squared temperature and apt is
the specific volume coefficient for the pressure*temperature term. We also define:
T = Tw Tref
where Tw is the working temperature and Tref is the reference temperature defined in the
thermal properties of the liquid, and
p = p p
w
ref
where pw is the working pressure and pref is the reference pressure defined in the thermal
properties of the liquid.
The specific volume of the liquid is expressed in m3/kg.
September 2004
11/47
= 10
0
and
= b p p + bt T + bt 2 (T )2
where 0 is the reference absolute viscosity (given at reference temperature and pressure),
bp is the absolute viscosity coefficient for the pressure, bt is the absolute viscosity
coefficient for the temperature and bt2 is the absolute viscosity coefficient for the squared
temperature. The absolute viscosity of the liquid is expressed in Ns/m2.
cp = cp0 [1 + (c t ) T + (c t 2 ) (T)
+ (c p ) p + (c pt ) pT ]
where cp0 is the reference specific heat (given at a reference temperature), ct is the specific
heat coefficient for the temperature, ct2 is the specific heat coefficient for the squared
temperature, cp is the specific heat coefficient for the pressure and cpt is the specific heat
coefficient for the pressure*temperature term. The specific heat of the liquid is expressed
in J/kg/degC.
= 0 [1 + (d t ) T + (d t 2 ) (T ) 2 ]
where 0 is the reference thermal conductivity (given at reference pressure and
temperature), dt is the thermal conductivity coefficient for the temperature and dt2 is the
thermal conductivity coefficient for the squared temperature. The thermal conductivity of
the liquid is expressed in W/m/degC.
These four properties described by polynomial functions are needed to define completely
a thermal liquid. They give access to:
-
d
dp
September 2004
12/47
=
-
=
-
2 =
d
dT
cp
The thermal properties of liquids are modeled in the thermal-hydraulic library from these
equations.
0 (in kg/m )
0 (kg/m/s)
0 (in W/m/K)
1049
0.0024
4189
0.46
September 2004
10
20
35
50
70
110
1060
1055
1049
1040
1031
1019
995
13/47
(in m2/s)
499*10-08
314*10-08
230*10-08
154*10-08
114*10-08
82*10-08
47*10-08
cp (in J/kg/K)
4208
4197
4189
4181
4179
4185
4229
(in W/m/K)
0.456
0.46
0.463
0.468
0.473
0.479
0.493
1
1
=
= 7,7.10 10 (PaA-1)
5
(T0, p0)
13000.10
Determining the other coefficients involves a great deal of computation effort. A special
utility does this work for you. This utility requires the data in a special format.
Step1 : Supply the characteristic data of the liquid
You must supply in a file the characteristic data for the liquid. This characteristic data
consists of:
- liquid name,
- reference temperature,
- minimum operating temperature,
- maximum operating temperature,
- reference pressure,
- minimum operating pressure,
- maximum operating pressure,
- pressure coefficient for specific volume,
- pressure * temperature coefficient fro specific volume,
- squared pressure coefficient for specific volume,
- pressure coefficient for absolute viscosity,
- a set of temperatures,
- corresponding values for density,
- corresponding values for specific heat,
- corresponding values for thermal conductivity,
- corresponding values for kinematic viscosity.
Here is a file for the coolant properties given above:
# fluid name
special coolant
# reference temperature (in degC)
20.0
# minimum temperature (in degC)
0.0
# maximum temperature (in degC)
110.0
# reference pressure (in PaA)
1e5
# minimum pressure (in PaA)
0.0
# maximum pressure (in PaA)
500e5
# pressure coefficient for specific volume
-7.7e-10
# pressure * temperature coefficient for specific volume
0.0
# squared pressure coefficient for specific volume
0.0
# pressure coefficient for absolute viscosity
0.0
September 2004
14/47
#
T(degC)
0
10
20
35
50
70
110
rho(kg/m**3)
1060
1055
1049
1040
1031
1019
995
cp(J/kg/degC)
4208
4197
4189
4181
4179
4185
4229
lam(W/m/degC)
0.456
0.46
0.463
0.468
0.473
0.479
0.493
nu(m**2/s)
499e-8
314e-8
230e-8
154e-8
114e-8
82e-8
47e-8
This file contains all the information needed by submodel TFFD1. You must strictly stick
to the format of this file otherwise problems may occur when starting the simulation.
Therefore, to build your own characteristic data file, we recommend that you copy and
edit the file $AME/libthh/data/coolant.
The editable lines of the file are those in bold characters. The following rules must be
followed:
- do not edit the lines preceded by (#),
- do not add blank lines.
Here, the properties are given for 7 temperature values. The user can choose to give
more values provided there is always the same number of values for each property.
The minimum number is 3 values. It is advised to supply a great number of values so
as to be very accurate. Generating this type of file requires a special attention.
Therefore an erroneous value supplied for the density for example will affect the
computation of the bulk modulus and the volumetric expansion coefficient. In
addition, the range of working temperatures and pressures for the fluid is specified
in this file. You must ensure that the fluids used in the system work in the defined
range of temperature and pressure.
NOTA:
The pressure coefficient for density should NEVER be equal to zero. This
coefficient is calculated using the formula below:
ap =
(p , T0 )
0
15/47
Reference pressure
[PaA]
Reference temperature
[degC]
Reference density
[kg/m**3]
Reference absolute viscosity
[kg/m/s]
Reference specific heat
[J/kg/K]
Reference thermal conductivity
[W/m/K]
Minimum pressure allowed
[PaA]
Maximum pressure allowed
[PaA]
Minimum temperature allowed
[degC]
Maximum temperature allowed
[degC]
Temperature coefficient for specific volume
Temperature squared coefficient for specific volume
Pressure coefficient for specific volume
Pressure * temperature coefficient for specific volume
Squared pressure coefficient for specific volume
Temperature coefficient for absolute viscosity
Temperature squared coefficient for absolute viscosity
Pressure coefficient for absolute viscosity
Temperature coefficient for specific heat
Temperature squared coefficient for specific heat
Pressure * temperature coefficient for specific heat
Pressure coefficient for specific heat
Temperature coefficient for thermal conductivity
Temperature squared coefficient for thermal conductivity
When all the data is ready, it is to wise to check that these properties are correct. This can
be achieved by constructing the small system shown in Figure 12:
September 2004
16/47
Finally, rerun the first tutorial example using this time the coolant thermal properties. Plot
the evolution of the temperature at the pressure relief valve outlet and compare the results
with those obtained using the diesel thermal properties as shown in Figure 14.
Submodel name and type
TFFD1 liquid thermal
0
properties
UD00 piecewise signal
1
TFPT0 conversion of a
signal into a temperature
and a pressure
TFFPR calculation of
thermal liquid properties
Thermal-hydraulic
Thermal-hydraulic
Default parameters
Belongs to category
Thermal-hydraulic
Signal, control and
observers
Figure 13: coolant thermal properties with respect to temperature and pressure
As you can see in Figure 13, the density and the specific heat are influenced by
temperature and pressure. This is due to the pressure coefficient for the density. The
September 2004
17/47
absolute viscosity could also behave like this, but with this data, it only varies with
temperature .
For the thermal conductivity of the liquids, it normally depends only on the temperature.
The user must put on the sketch one liquid thermal properties icon for each liquid
involved in the system and set a different index for each icon. Finally, the index of
hydraulic fluids in each other submodels of the system must be updated. This rule is
applied in the following tutorial example.
Tutorial example:
In this new example, the following topics will be illustrated:
- multi-liquid simulations
- transient heat transfer approach
- coupling thermal-hydraulic and thermal components
September 2004
18/47
Diameter = 25 mm
Length = 1m
September 2004
Belongs to category
Thermal-Hydraulic
19/47
2, 12
5
6
7
8
9
10
11
13
Constant value = 20
Constant value = 20
Default parameters
Thermal-Hydraulic
Thermal-Hydraulic
Default parameters
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
Signal, control and
observers
Thermal-Hydraulic
When this is done, plot graphs of the temperatures in components TFPC5 and TFC00
against time as shown in Figure 17.
20/47
Diesel is cooled from 100 degC to 62 degC, which is the equilibrium temperature, after a
transient behavior of approximately 3 seconds. The transient phenomenon is very fast
because the convective heat flow rate is directly transmitted from one liquid to another.
To be more accurate, we should model the aluminum wall between diesel and coolant
through which the heat is propagating. Modify the previous system as shown on Figure
18, you will find how thermal and thermal-hydraulic components can be coupled.
Belongs to category
Thermal
Thermal
Thermal
Thermal-Hydraulic
When this is done, display the evolutions of the temperatures in components 4, 16 and 18
against time as shown in Figure 19.
September 2004
21/47
September 2004
22/47
q
q max
where q is the actual heat transfer rate and qmax is the maximum heat transfer
rate.
The number of transfer units NTU is a dimensionless parameter and is defined as:
NTU =
U*A
C min
where U is the overall heat transfer coefficient, A is the total area and Cmin is the
minimum heat capacity rate.
There are many relations given for the heat exchanger effectiveness as a function of the
NTU and Cr=Cmin/Cmax numbers. These are based on analytical calculations available
for various types of heat exchangers. Examples of functions commonly used are
summarized in the APPENDIX 1 section of this manual.
September 2004
23/47
TFFD1
thermal-hydraulic
properties
TFFD1
thermal-hydraulic
properties
TFMTS
signal into thermalhydraulic mass flow
rate
TFMTS
signal into thermalhydraulic mass flow
rate
September 2004
Belongs to
category
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
24/47
5
5 bis
6
6 bis
7
8
9
10
11
12
13
14
TFPC1
thermal-hydraulic
adiabatic pipe
TFPC1
thermal-hydraulic
adiabatic pipe
TFEX01
thermal-hydraulic
half heat exchanger
TFEX01
thermal-hydraulic
half heat exchanger
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
TF223
thermal-hydraulic
restriction
TFTK0
thermal-hydraulic
tank
CONS0
constant signal
CONS0
constant signal
TFPHI01
thermal-pneumatic
heat flow rate
calculation
TFPHI01
thermal-pneumatic
heat flow rate
calculation
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
Thermal-Hydraulic
TFPHI01
thermal-pneumatic
heat flow rate
calculation
TFPHI01
thermal-pneumatic
heat flow rate
calculation
When this is done, plot a graph of the outlet temperatures in components TFEX01 against
time as shown in Figure 21, Figure 22 and Figure 23.
September 2004
25/47
Figure 21: Outlet liquid temperatures (cold and hot side)- effectiveness at port
For the model with effectiveness directly fixed on the signal port, the hot liquid is cooled
from 300 degC to 180 degC while the fresh liquid is warmed from 30 degC to 165 degC.
The interesting point is to observe the outlet temperatures of the hot and cold liquids with
the three proposed flow arrangements of cross, parallel and counter flows.
Figure 22: outlet liquid temperatures (cold liquid) 1. cross flow; 2. parallel flow;
3. counter flow
September 2004
26/47
Figure 23: outlet liquid temperatures (hot liquid). 1. cross flow; 2. parallel flow;
3. counter flow
One can easily see that every arrangement leads to different outlet temperatures for hot
and cold liquids. The most efficient arrangement is the counter flow heat exchanger since
the hot liquid temperature is the lowest and the cold liquid temperature the highest.
September 2004
27/47
28/47
common liquids used in engineering. However, it is not exhaustive and the user has the
possibility to generate his own liquid thermal properties.
This version of the thermal-hydraulic library includes about 65 submodels. Full
documentation of these submodel is available in HTML format or, more briefly, directly
in AMESim, in the description of each submodel.
The AMESim thermal-hydraulic library can be coupled with the thermal library to
study thermal interactions between liquids and solids as shown in the previous example.
Really in the thermal-hydraulic library, thermal ports have been added to hydraulic
components (Figure 26).
September 2004
29/47
2
wmax
= loc + fr
(1)
(2)
where
ptot
loc
fr
wmax
From equation (1) we can express the total pressure drop as a function of the volumetric
flow rate:
p =
Q 2
2
2 Amin
(3)
where
Q
volumetric flow rate;
Amin smallest cross-sectional area of the element considered.
Every resistive component in the thermal-hydraulic library uses equation (3). This
equation is manipulated so as to compute the volumetric flow rate from the pressure drop.
September 2004
30/47
Total pressure
Volumetric flow rate
Mass flow rate
Friction factor
Reynolds number
Geometrical dimensions
Relative roughness
Angles
Re =
wmax .Dh
Q.Dh
Ah min .
(4)
where
wmax
Dh
Ahmin
In the rest of this document the Reynolds number at which the transition between laminar
and turbulent flow occurs will be called the critical Reynolds number. This is not an
absolute constant but its value in a component can vary considerably with the geometry.
In thermal-hydraulic submodels where friction is modeled, laminar and turbulent regimes
are taken into account and the following assumptions are used:
-
when the flow is laminar, the total pressure drop is proportional to the flow velocity.
when the flow is turbulent, the total pressure drop is proportional to the square of the
velocity.
September 2004
31/47
Figure 27 shows the way laminar and turbulent regime are taken into account in resistive
submodels.
There are two types of submodels which differ in the way they deal with the critical
Reynolds number:
-
Type 1: Submodels using Idel'cik [5] friction factors tables so that the critical
Reynolds number is not used explicitly because it is already taken into account in the
tables.
Type 2: Submodels with fixed friction factors supplied by the user and using the
critical Reynolds number. A suitable value must be given to the critical Reynolds
number depending on the nature of the fitting.
Total pressure drop
p = k.Q 2
p = k.Q
Volumetric flow rate
Laminar
Turbulent
Components which
compute frictional drag
Components which
compute local
resistance
Components which
compute frictional drag
+ local resistance
September 2004
32/47
p =
where
Dh
l
l Q 2
. 2
D h 2 Amin
(5)
For this type of submodel, in order to make an analogy with equation (2), the total friction
factor is given by:
l
Dh
(6)
In straight tubes, the resistance to the motion of a liquid or a gas under conditions of
laminar flow is due to the force of internal friction. This happens when one layer of the
liquid (or gas) has a relative motion compared to the others. These viscosity forces are
proportional to the flow velocity. We then have:
(Re)
(7)
As the Reynolds number increases, the inertia forces, which are proportional to the
velocity squared, begin to dominate. As flow becomes turbulent, there is a significant
increase in the resistance to the motion. Part of this increase is due to the roughness of the
wall surface. Therefore we have:
( Re, rr )
(8)
where rr is the relative roughness.
The relative roughness is calculated as the ratio of the average height of asperities to the
tube diameter. See details in Figure 28:
Dh
September 2004
33/47
rr =
Dh
(9)
where
Dh
=
=
A sampling of absolute pipe roughness for new clean pipes is proposed by Binder [9]:
Pipe material
Drawn brass
Drawn copper
Commercial steel
Wrought iron
Asphalted cast iron
Galvanized iron
Cast iron
Wood stave
Concrete
Riveted steel
Absolute roughness
1.5 m
1.5 m
45 m
45 m
120 m
150 m
260 m
0.2 to 0.9 mm
0.3 to 3.0 mm
0.9 to 9.0 mm
rr = 0.033
= 64
Re
rr = 0.016
rr = 0.008
rr = 0.004
rr = 0.002
rr = 0.001
rr = 0.0
Figure 30: evolution of the frictional drag factor with the Reynolds number
and the relative roughness
September 2004
34/47
p = loc
2
wmax
(10)
The submodels in the hydraulic resistance library found in this category are:
TF220
TF221
TF222
TF223
TF230
TF208
TF22B
To
TF22D
TF22E
To
TF22I
TF206
TF20B
TF20C
The friction factors computed for these components can depend on the Reynolds number,
on a parameter related to the change in geometry, but not on the length (as it is local) or
on the relative roughness.
p = ( fr + loc )
2
wmax
(11)
35/47
TF232
TF23B
To
TF23E
Resistive components,
Capacitive components.
m = V
(12)
dm
= dmi dmo
dt
(13)
where dmi is the incoming mass flow rate in the volume and dmo is the outgoing mass
flow rate.
dmi
Control volume
dmo
It is possible, from equations (12) and (13), to formulate the continuity equation in terms
of the density derivative as follows:
dm
dV
d
dt
= dt
dt
V
September 2004
(14)
36/47
The density being a thermodynamic property of the liquid, it is a function of pressure and
temperature:
= ( p ,T )
(15)
By differentiating with respect to temperature and pressure, equation (15) leads to:
d =
dp +
dT
p
T
(16)
From this equation, it is now possible to write the continuity equation in terms of the
pressure derivative as follows:
dp =
d T dT
(17)
Using the definition of the liquid properties and more particularly the bulk modulus and
the volumetric expansion coefficient, the pressure derivative with respect to time is given
by:
1 d
dp
dT
= .
+
dt
dt
dt
where:
( p ,T ) =
(18)
p
1
( p ,T ) =
T
The temperature is a state variable and is computed from the energy conservation
assumption. The first equation describes the relationship between the specific internal
energy and the specific enthalpy of the liquid:
u = h
(19)
where u is the specific internal energy, h is the specific enthalpy, p is the pressure and
is the density of the liquid. The energy in the control volume is given by:
mV 2
E = mu +
+ mgz
2
(20)
The three terms in equation (20) represent respectively the internal energy, the kinetic
energy and the potential energy.
September 2004
37/47
We modify equation (20) introducing the second assumption: the kinetic and potential
energies in the control volume are neglected. This leads to:
E = mu
(21)
dh
dT (1 T ) dp
= cp
+
dt
dt
dt
(22)
Differentiating and combining equations (19), (21) and (22) leads to the following
relation:
m.c p .
dT
m. .T dp
= dmhi dmho + Q& +
dm h
dt
dt
(23)
where m is the mass of liquid in the volume, cp is the specific heat of the liquid at constant
pressure, dmhi is the incoming enthalpy flow rate, dmho is the outgoing enthalpy flow rate,
Q& is the heat flow rate exchanged with the outside, V is the volume, dm is the mass flow
rate through the volume, is the volumetric expansion coefficient, is the fluid density
and h is the specific enthalpy.
Finally, the temperature derivative with respect to time is given by:
(24)
Equation (24) is the complete energy equation represented by the temperature derivative
with respect to time. The pressure derivative term in this equation shows the crosscoupling effect with the continuity equation (18) represented by the pressure derivative
with respect to time.
dm = .cq .A
2.p
(25)
dmh = dm h
(26)
where dm is the mass flow rate through the resistive component and h is the specific
enthalpy of the fluid.
September 2004
38/47
Tsolid
solid
convection
the thermal properties of the liquids are functions of pressure and temperature only
(see next section).
39/47
convection = h A ( T m T w )
(27)
where h is the convective exchange coefficient, A is the exchange area, Tm is the mixing
temperature of the fluid and Tw is the wall temperature.
There are two kinds of convective exchange and we now give a brief review of the
assumptions and equations governing these phenomena.
Forced convection
We talk about forced convection as soon as a fluid moves under the action of a
mechanical external source and flows along a solid wall. Basically, the forced convection
heat flow rate is computed using the following equation:
forced = h forced A ( T m T w )
(28)
where hforced is the forced convective exchange coefficient, A is the exchange area, Tm and
Tw are respectively the mixing temperature of the fluid and the temperature of the solid
wall.
The major problem is to determine hforced. We express it as:
h forced =
Nu (Re , Pr )
c dim
(29)
Pr =
September 2004
cp
(30)
40/47
where is the absolute viscosity of the fluid, cp is the specific heat of the fluid and is the
thermal conductivity of the fluid. These thermal properties depend on pressure and
temperature. The Prandtl number characterizes the thermal properties of the fluid.
The Reynolds number is given as follows:
Re =
V D
(31)
where V is the velocity of the fluid, D is the hydraulic diameter of the flow and is the
kinematic viscosity of the fluid. The Reynolds number can be interpreted as the ratio of
the inertia and viscous forces. It characterizes the flow regime of the fluid.
There are a lot of relations available for the Nusselt number as a function of the Prandtl
and the Reynolds number. These are based on experiment available either for external
flow or internal flow conditions. Examples of functions commonly used are summarized
in the APPENDIX section of this manual.
Free convection
Free convection occurs when the movement of the fluid is due to variations of its density
induced by heat exchanges between the fluid and the solid wall. The free convection heat
flow rate is computed using the following equation:
free = h free A ( T m T w )
(32)
where hfree is the free convective exchange coefficient, A is the exchange area, Tm and Tw
are respectively the mixing temperature of the fluid and the temperature of the solid wall.
The major problem is to determine hfree. We express it as:
h free =
Nu (Gr , Pr )
c dim
(33)
c dim
Gr =
g (T f T w )
(34)
where is the absolute viscosity of the fluid, cdim is a characteristic geometrical dimension
of the exchange, is the density of the fluid, g is the gravity acceleration, is the
volumetric expansion coefficient of the fluid, Tf is the fluid temperature and Tw is the solid
wall temperature.
September 2004
41/47
Pr =
cp
(35)
where is the absolute viscosity of the fluid, cp is the specific heat of the fluid and is the
thermal conductivity of the fluid. These thermal properties depend on pressure and
temperature. The Prandtl number characterizes the thermal properties of the fluid.
There are a lot of relations available for the Nusselt number as a function of the Prandtl
and the Grashof number. These are based on experiment available either for external flow
or internal flow conditions. Examples of functions commonly used are summarized in the
APPENDIX section of this manual.
September 2004
42/47
piecewise linear
signal
2
Thermal-hydraulic
stage1
Signal, control and
observers
UD00
piecewise linear
signal
3
Belongs to category
TFPT0
conversion of a
signal into a
temperature and a
pressure
TFFPR
calculation of thermal
liquid properties
September 2004
Thermal-hydraulic
no parameters
Thermal-hydraulic
default parameters
43/47
Use the batch facility (in Tools menu, Batch setup option) to define four temperature
values at which the fluid properties will be calculated (20, 37, 80 and 120 [degC]) and
perform a simulation over 1 second with a communication interval equal to 0.01 second.
When this is done, plot the density and the bulk modulus of the fluid versus pressure for
these four temperatures as shown in figure 10.
September 2004
44/47
Figure 29: Density and bulk modulus evolution in aeration and cavitation conditions
September 2004
45/47
To interpret these results, it is important to know that the saturation pressure is equal to
2000 barA. This means that below this pressure, dissolved air and gas are coexisting in the
fluid. Before pressure decreases to 0.5 barA, the dissolved air turns into gas into the
liquid. Therefore, the fluid density and the bulk modulus are decreasing. At the beginning
of the sudden decrease of the bulk modulus and the density, the air dissolved is totally
transformed into gas and this is the beginning of the liquid vaporization. At this stage, it is
necessary to do a zoom on the interesting region of the graphs which is lying between 0
and 0.5 barA as shown in Figure 30.
pvaph
pvapl
Figure 30: Influence of liquid vaporization on the fluid density and bulk modulus
When the pressure reaches pvaph = 0.5 barA, the liquid starts to vaporize and it is totally
vaporized when the pressure has reached pvapl = 0.4 barA. These two pressures
correspond respectively to the high saturated vapor pressure and the low saturated vapor
pressure of the liquid. These two pressures are parameters of submodel TFFD2 and can be
changed.
Finally, when the pressure value is in the range 0 to 0.4 barA, it is considered that almost
all the liquid has turned into vapor and as a result, a polytropic law is used to describe the
properties of the gas.
Please refer to Technical Bulletin N117 AMESim Standard Fluid Properties for full
details on the cavitation model used in submodel TFFD2
CAUTION:
The fluid properties file parameter for use in submodel TFFD2 has a special format and
contains a number of coefficients which is different from the number of coefficient found
in the files for use in TFFD1. It follows that you can not use the file parameter used with
TFFD1 in submodel TFFD2 and reciprocally.
The thermal-hydraulic properties files suitable for TFFD2 will be found in the following
directory: $AME/libthh/data_advanced.
September 2004
46/47
References
[Ref. 1]
[Ref. 2]
[Ref. 3]
[Ref. 4]
[Ref. 5]
[Ref. 6]
[Ref. 7]
September 2004
47/47
APPENDIX
Values for friction factors given in the literature for special fitting configuration
All these values are extracted from data provided by J. Faisandier [7].
1 Sudden expansion/contraction:
d2
d1
exp
d2/d1
cont
0.81
0.1
0.4
0.64
0.2
0.38
0.49
0.3
0.34
0.36
0.4
0.30
0.25
0.5
0.24
0.16
0.6
0.18
0.09
0.7
0.1
0.04
0.8
0.05
0.01
0.9
0.015
Ljdflsdflsdjfljsdlkfjsdlfjlsqflksdflsdjflsdjfmlksdjfmklsdjflksjdfljsdlfjsldkjfsdjflksdlfjsdlfjs
2 Volumes connected to pipes:
60
90
Sharp entry
Extended entry
= 0.5 to 1.0
= 0.68 to 2.5
Conical entry
90 degrees
= 0.25
Conical entry
60 degrees
= 0.1 to 0.18
Rounded entry
= 0.04 to 0.1
3 Junctions:
T-junction
90 degrees
T-junction
90 degrees
T-junction
45 degrees
T-junction
45 degrees
T-junction
45 degrees
T-junction
45 degrees
= 1.2
= 0.1
= 0.5
= 2.5 to 3
= 0.06
= 0.15
September 2004
Appendix
1/4
4 Intersecting holes:
= 0.15
= 0.6 to 0.9
= 0.6
= 1.1
= 0.5
All the following values are extracted from data provided by Incropera and DeWitt [1].
Summary of most common Nusselt correlation for external flow forced convection heat
transfer:
Correlation
Geometry
Conditions
Nu = 0.332Re0.5Pr0.33
Nu = 0.664Re0.5Pr0.33
Flat plate
Flat plate
Nu = 0.0296Re0.8Pr0.33
Flat plate
Nu = C.RemPr0.33
Cylinder
Average, 0.4<Re<4*105
Sphere
Average, 3.5<Re<7.6*104
0.7<Pr<380
Re
0.4-4
0.989
0.33
4-40
0.911
0.385
40-4000
0.683
0.466
4000-40000
0.193
0.618
40000-400000
0.027
0.805
0.5
Nu = 2 +(0.4Re
+ 0.06Re0.66)Pr0.4
Summary of most common Nusselt correlation for forced convection heat transfer, flow
in circular tubes:
Correlation
Nu = 3.66
Nu = 1.86(Re.Pr.D/L)0.33*(/s)0.14
Nu = 0.027Re0.8Pr0.33*(/s)0.14
Conditions
Laminar, fully developed, uniform T,
Pr>=0.6
Laminar, combined entry length, L = length of the
cylinder, D = diameter of the cylinder
Turbulent, fully developed, 0.7<Pr<16700
Re > 10000, L/D > 10
Summary of most common Nusselt correlation for free convection heat transfer:
A general form of the Nusselt number for free convection is given as follows:
Nu = C( Gr Pr)n
September 2004
Appendix
2/4
where Gr is the Grashof number and Pr is the Prandtl number. It is explained in the theoretical
section of this manual how to compute these 2 numbers. Here are the values of C and n
constant for different geometrical configuration of the free convection heat transfer:
For laminar flow, n = 0.25
For turbulent flow, n = 0.33
Geometry and
orientation of the wall
Characteristic
dimension of the
exchange
Height
Horizontal cylinder
External diameter
Width
Width
C coefficient
Laminar convection Turbulent convection
n = 0.25
n = 0.33
0.59
0.13
(104<Gr.Pr<109)
(109<Gr.Pr<1013)
0.10
0.53
(109<Gr.Pr<1013)
(103<Gr.Pr<109)
0.14
0.54
(2*107<Gr.Pr<3*1010)
(105<Gr.Pr<2*107)
0.27
0.07
(3*105<Gr.Pr<3*1010)
(3*1010<Gr.Pr<1013)
List of filenames of liquid thermal characteristic data available for use directly in
submodel TFFD1 :
There are several predefined liquid thermal properties files in the directory $AME/libthh/data.
Type of liquid
OIL 15W40
Special Coolant
Special diesel fuel
Properties filename
15W40
coolant
diesel
These files can be copied in your working directory, they can be renamed and even modified
for your own applications. Some more fluid properties file are being generated. They will be
sent to the customers as soon as they are ready. Note that you have the possibility to generate
your own fluid properties data files.
All the following values are extracted from data provided by Incropera and DeWitt [1].
Summary of most common Heat Exchanger Effectiveness Relations:
Flow arrangement
Relation
Concentric tube
Parallel flow
1 exp[ NTU (1 + C r )]
1 + Cr
1 exp[ NTU (1 C r )]
1 C r exp[ NTU (1 C r )]
NTU
=
1 + NTU
Counter flow
(C r < 1)
(Cr = 1)
September 2004
Appendix
3/4
n shell pass
(2n, 4n,tube passes)
2 2
1
exp
NTU
(
1
C
)
+
2 2
1 = 2 1 + C r + (1 + C r )
1
1 exp NTU (1 + C r ) 2
1 C
1 r
=
1 1
n
1 C
1 r
1
1 1
C r
1
C r
= 1 exp
Cmax (mixed),
Cmin (unmixed)
Cmin (mixed),
Cmax (unmixed)
All exchangers (Cr=0)
{ [
] }
September 2004
Appendix
4/4
HOTLINE REPORT
Creation date:
Created by:
Company:
Contact:
! Bug
! Improvement
! Other
Summary:
Description:
! Unix (all)
! PC (all)
! HP
! Windows 2000
! IBM
! Windows NT
! SGI
! Windows XP
! SUN
! Linux
! Other:
! Other:
! All
! AMESim (all)
! AMERun (all)
! AMESet (all)
! AMECustom (all)
! AMESim 4.0
! AMERun 4.0
! AMESet 4.0
! AMECustom 4.0
! AMECustom 4.0.1
! AMECustom 4.0.2
! AMECustom 4.0.3
! AMESim 4.1
! AMECustom 4.1
! AMERun 4.1
! AMESet 4.1
Web Site
http://www.amesim.com
FRANCE - ITALY - SPAIN
PORTUGAL - BENELUX SCANDINAVIA
S.A.
5, rue Brison
42300 ROANNE - FRANCE
Tel. : 04-77-23-60-30
Tel. : (33) 4-77-23-60-37
Fax : (33) 4-77-23-60-31
E.Mail : hotline@amesim.com
CHINA
China
Room. 109
Jinyan Building (Business), N. 3800 Chunshen Road,
Shanghai 201100
CHINA (PRC)
E-mail: qing@amesim.com
U.K.
Park Farm Technology Centre
Kirtlington, Oxfordshire
OX5 3JQ
ENGLAND
Tel: +44 (0) 1869 351 994
Fax: +44 (0) 1869 351 302
E-mail: support.uk@amesim.com
Room 716-717
North Office Tower Beijing, New World Center
No.3-B Chong Wen MenWai dajie,
Postal Code: 100062, BEIJING, P.R CHINA
Tel: (86) 10-67082450(52)(53)(54)
Fax: (86) 10-67082449
E.Mail: urt@urtgroup.com
SOUTH KOREA
#702
Ssyongyong IT Twin Tower
442-5, Sangdaewon-dong
Jungwon-gu
Seongnam-si
Gyeonggi
South Korea <462-723 >
Tel. : 82-31-608-0434
Fax : 82-31-608-0439
E.Mail : iclee@shinho-systems.co.kr
GERMANY - AUSTRIASWITZERLAND
KEOHPS
Software, Inc.
Software GmbH
Elsenheimerstr. 15
D - 80687 Mnchen - DEUTSCHLAND
BRAZIL
CELTA Parc Tec ALFA
Rod. SC 401-km 01 CEP 88030-000
FLORIANOPOLIS SC BRAZIL
Tel. : (55) 48 239 2281
Fax : (55) 48 239 2282
E.Mail : info@keohps.com
HUNGARY
JAPAN
Japan KK
SATOKURA AKEBONOBASHI Bldg. 2F
SHINJUKU KU, SUMIYOSHI MACHI, 1-19
TOKYO 162-0065 - JAPAN
Tel. : 81 (0) 3 3351 9691
Fax : 81 (0) 3 3351 9692
E.Mail : hotline-japan@amesim.com
Budapest University of
Technology & Economics
Department of Fluid Mechanics
H-1111 BUDAPEST, Bertalan L. U. 4- 6 HUNGARY
Tel. : (36) 1 463 4072 / 463 2464
Fax : (36) 1 463 3464
E.Mail : vad@simba.ara.bme.hu