Full Text 01
Full Text 01
ARTURO AROSEMENA
ARTURO AROSEMENA
Abstract
In the present study, a finite volume method is employed to model
the advection-diffusion phenomenon during a pure substance melting
process. The exercise is limited to a benchmark problem consisting of
the 2D melting from a vertical wall of a PCM driven by natural con-
vection in the melt. Numerical results, mainly the temporal evolution
of average Nusselt number at the hot wall and the average liquid frac-
tion, are validated by available literature data and the effect of thermal
inertia in the heat transfer is considered as well. Finally, motivated
by recent publications and the model presented here, possible new re-
search topics are proposed.
Acknowledgements
I would like to express my appreciation to the KTH Mechanics and KTH
Centre of Naval Architecture personnel involved in my education during the
programme. It has been a remarkable academic enrichment experience.
Last but not least, I would like to convey my thanks to my mother and grand-
mother who continuously support me and to my dear Angelica for her pa-
tience, understanding and unconditional affection.
1 Introduction 1
1.1 Thesis Outline . . . . . . . . . . . . . . . . . . . . . . . . . 2
2 Mathematical Background 5
2.1 General Notation . . . . . . . . . . . . . . . . . . . . . . . 5
2.1.1 Cartesian Coordinate System . . . . . . . . . . . . 5
2.1.2 Cartesian Tensors . . . . . . . . . . . . . . . . . . . 5
2.1.3 Indicial Notation . . . . . . . . . . . . . . . . . . . 6
2.1.4 Kronecker Delta and Permutation Symbol . . . . 7
2.1.5 Common Operators and Operations . . . . . . . . 7
2.2 Transport Phenomena . . . . . . . . . . . . . . . . . . . . 9
2.2.1 Overview about Transport Phenomena . . . . . . 9
2.2.2 Fluid Kinematics . . . . . . . . . . . . . . . . . . . 9
2.2.3 Conservation Laws . . . . . . . . . . . . . . . . . . 13
vii
viii CONTENTS
Bibliography 55
List of Figures
ix
List of Tables
xi
Chapter 1
Introduction
1
2 CHAPTER 1. INTRODUCTION
Mathematical Background
1 0 0
x = x1 e1 + x2 e2 + x3 e3 , e1 = 0 ,
e2 = 1 ,
e3 = 0 (2.1)
0 0 1
5
6 CHAPTER 2. MATHEMATICAL BACKGROUND
P
x
e2 x2
O e1
1
e3 x3
x1
Figure 2.1: Cartesian coordinate system and position vector x. The point O is
called the origin of coordinates and the lines O1, O2, and O3 the coordinate
axes which are orthogonal to each other. The orthogonality of the coordinate
system can also be represented through the use of unit vectors in the direction
of the axes, i.e. e1 , e2 , and e3 in the figure.
a · b = b · a = ai b i (2.7)
∂f
∇f = ei (2.9)
∂xi
The divergence of a vector is the dot product between the Nabla
operator and a vector field a leading to a scalar field:
∂ai
∇·a= (2.10)
∂xi
In case of a second-order tensor σ = σim , its divergence leads to a
vector field with i-component defined as:
∂σim
(∇ · σ)i = (2.11)
∂xm
The curl of a vector is the cross product between the Nabla operator
and a vector field a, with i-component defined as:
∂ak
(∇ × a)i = ijk (2.12)
∂xj
DU ∂UL ∂UE ∂t ∂UE ∂xi
= = + (2.13)
Dt ∂t xi 0 ∂t ∂t ∂xi ∂t
DU ∂UE ∂UE
= + ui (2.14)
Dt ∂t ∂xi
Consequently the material time derivative allows to express the
rate of change for the material fluid element property in terms of the
rate of change at a fixed position in space and the advection rate of
change as the fluid particle moves through the spatial gradients of the
property.
In the expression above the summation convention is used (see sec-
tion 2.1.3., e.g. uk uk ≡ u1 u1 + u2 u2 + u3 u3 ) and the velocity field com-
ponents are defined as ui = (u1 , u2 , u3 ).
Consider as an example U equal to the velocity field:
1 ∂ui ∂uj 2 ∂um 1 ∂um
S ij = + − δij , S mm = δij (2.18)
2 ∂xj ∂xi 3 ∂xm 3 ∂xm
Here ωk is the vorticity vector (i.e. rotational of the flow velocity
vector).
In summary, the motion of a fluid particle with velocity ui can
be divided into the following invariant parts: solid body translation
due to ui , solid body rotation due to Rij , deviation change in shape
(i.e. volume constant deformation) due to S ij , and isotropic compres-
sion/expansion due to S mm [16].
Z Z
D 1
Uij dV = lim Uij (t + ∆t) dV
Dt ∆t
∆t→0
V (t) V (t+∆t)
(2.19)
1 Z
− lim Uij (t) dV
∆t
∆t→0
V (t)
CHAPTER 2. MATHEMATICAL BACKGROUND 13
Z
1 Z
D
Uij dV = lim Uij (t + ∆t) dV
Dt ∆t
∆t→0
V (t) V (t+∆t)
1 Z
− lim Uij (t + ∆t) dV
∆t
∆t→0
V (t)
(2.20)
1 Z
+ lim Uij (t + ∆t) dV
∆t
∆t→0
V (t)
1 Z
− lim Uij (t) dV
∆t
∆t→0
V (t)
S(t)
V(t) S(t+Δt)
V(t+Δt)-
V(t)
u
n
V(t+Δt)
one is interested in the rate of change of the quantity Uij [16]. At this
point, it must be noted that not all flow quantities are conserved.
With the observation above or through the Reynolds Transport The-
orem previously presented, it is possible to derive the conservation
laws or transport equations of the following entities: mass, momen-
tum, and energy.
Conservation of Mass
Taking the arbitrary quantity equal to the pure fluid density ρ, from
equation (2.22):
Z Z
D ∂ρ ∂ (um ρ)
ρdV = + dV (2.23)
Dt ∂t ∂xm
V (t) V (t)
The right hand side represent the material time derivative of mass
in the material volume, which is conserved, and consequently this
term is equal to zero.
Since the expression above must be valid for any arbitrary volume,
the differential form of the mass transport equation is:
∂ρ ∂
+ (um ρ) = 0 (2.24)
∂t ∂xm
CHAPTER 2. MATHEMATICAL BACKGROUND 15
Conservation of Momentum
Taking the arbitrary quantity equal to the fluid momentum per unit
volume ρui , from equation (2.22):
Z Z
D ∂(ρui ) ∂ (um ρui )
ρui dV = + dV (2.25)
Dt ∂t ∂xm
V (t) V (t)
Here the right hand side of the expression represents the rate of
change of momentum per unit volume in the material element and
according to Newton’s second law is equal to the sum of all forces, in
this case per unit volume, acting on the element. Such forces include
both body forces (i.e. acting over the element with physical contact),
e.g. gravitational, magnetic, or electrostatic forces, and surface forces
(i.e. acting through direct contact with the fluid element), e.g. forces
due to pressure and viscous effects.
Therefore:
Z Z Z
Dui
ρ dV = Fi dV + Wi dS (2.26)
Dt
V (t) V (t) S(t)
Here Fi represents the body forces per unit volume and Wi repre-
sents the surface forces per unit area on surface dS with outward unit
normal vector nm .
One can divide the surface forces into components along the coor-
dinate directions, i.e. Wi = τim nm , where τim is the stress tensor and
it is the i-component of the surface force on a surface dS with a nor-
mal in the n-direction. Further, it can be shown that the stress tensor is
symmetric, i.e. τim = τmi [15].
16 CHAPTER 2. MATHEMATICAL BACKGROUND
The stress tensor can be decomposed into fluid static (due to pres-
sure p) and fluid dynamic (due to viscous stresses σim ) contributions
as τim = −pδim + σim .
Now a constitutive equation is required, i.e. an expression to relate
viscous stresses to deformation in the continuum. In case of Newto-
nian fluids, phenological observations have established a linear con-
stitutive equation between stresses and velocity gradients. Thus, for
an isotropic fluid:
σim = λS kk + 2µS im (2.27)
Where λ is the dilatational viscosity and µ is the dynamic viscosity.
S im and S kk are the traceless and isotropic part of the strain rate tensor
(see section 2.2.2), respectively.
With the above, equation (2.26) may be recast as:
Z Z Z
Dui
ρ dV = Fi dV + −pδim + λS kk + 2µS im nm dS (2.28)
Dt
V (t) V (t) S(t)
Conservation of Energy
Taking the arbitrary quantity equal to the product of the fluid density
and the sum of internal energy per unit mass e (i.e. energy associate
with the kinetic energy of molecules with respect to the flow velocity
and the intermolecular potential energies) and the kinetic energy per
unit mass 0.5ui ui associate with the bulk fluid motion,
from equation (2.22):
Z Z
D 1 ∂ 1
ρ e + ui ui dV = ρ e + ui ui dV
Dt 2 ∂t 2
V (t) V (t)
Z (2.30)
∂ 1
+ um ρ e + ui ui dV
∂xm 2
V (t)
CHAPTER 2. MATHEMATICAL BACKGROUND 17
The right hand side term represents the rate of change of total en-
ergy in the material fluid element which according to the first law of
thermodynamics is equal to the rate of energy received by transport of
heat plus the execution of work on the fluid (due to body and surface
forces).
Z Z Z
D 1
ρ e + ui ui dV = Fi ui dV + [Tim um − qi ] ni dS
Dt 2
V (t) V (t) S(t)
Z (2.31)
∂
= F i ui + (Tim um − qi ) dV
∂xi
V (t)
The total energy transport equation can be split into an equation for
the transport of mechanical energy and an equation for the transport
of thermal energy. The mechanical energy equation can be found by
taking the dot product between the transport equation for momentum
and the velocity field. The thermal energy equation is then found sub-
tracting the mechanical energy equation to the total energy transport
equation, hence:
following:
Dh De 1 Dp p Dρ
= + − 2 (2.35)
Dt Dt ρ Dt ρ Dt
Where Dρ/Dt = −ρ (∂ui /∂xi ), consequently the thermal energy
transport equation may be recast as:
Dh Dp ∂ ∂T
ρ = +Φ+ k (2.36)
Dt Dt ∂xi ∂xi
19
20 CHAPTER 3. MELTING AND PHASE CHANGE MATERIALS
Ts Tm 1 Solid
Ts
s(t) x s(t) x x
Figure 3.1: Classification of a melting problem in 1D: (a) one region, (b) two
regions, and (c) three regions. Here T , x, and s stands for temperature field,
spatial coordinate, and the melting front position, respectively. The sub-index
l, s, and m stands for liquidus, solidus, and melting point, respectively.
the fluid and induce buoyancy forces (e.g. "cooling" of a boiled egg
or a potato in air). In this sense, heat transfer processes involving a
phase change are also considered to be convection on account of the
fluid motion induced during the process [17].
In general, it is convenient to work with the non-dimensional form
of the governing equations (e.g. for easy comparison with other re-
search results, to gain a better understanding of the physical problem,
and to reduce the number of independent parameters) using the ap-
propriate scaling parameters. And such procedure introduces certain
dimensionless variables in the dimensionless form of the governing
equations.
In case of natural convection, there are certain dimensionless pa-
rameters associate with this physical mechanism: the Prandtl number
Pr which is the ratio of molecular diffusivity of momentum to molec-
ular diffusivity of heat (i.e. ratio of momentum and heat dissipation
rate through the fluid), the Grashof number Gr which is the ratio of
buoyancy forces (driven by temperature gradients) and viscous forces
acting on the fluid, the Rayleigh number Ra which is the product of the
Grashof and Prandtl numbers and that actually determines the onset
CHAPTER 3. MELTING AND PHASE CHANGE MATERIALS 21
Figure 3.2: Four-regime model predicted by Jany and Bejan [12]: (a) conduc-
tion regime, (b) conduction and convection regime, (c) convection regime, (d)
shrinking solid regime (after the melting front reaches the right wall).
For a time greater than ( StFo) 2 , see figure 3.2(d), Jany and Bejan
[12] observed that the liquid circulation is always in the convection
regime, however the heat transfer and melting rates depend on the
size of the remaining solid.
Dui ∂p ∂ 2 ui
ρ =− +µ + Fi (3.2)
Dt ∂xi ∂xj ∂xj
CHAPTER 3. MELTING AND PHASE CHANGE MATERIALS 23
Dh Dp ∂ 2T
ρ = +k (3.3)
Dt Dt ∂xi ∂xi
Where: (1) the Cartesian coordinates are defined as xi = (x1 , x2 ) =
(x, y). Here the positive y axis is pointing upwards and the positive
x axis is pointing to the right, (2) the velocity field components are
defined as ui = (u1 , u2 ) = (u, v), and (3) the source terms are grouped
as Fi = (F1 , F2 ) = (Fx , Fy ).
Often an enthalpy method is employed for the treatment of phase
change problems. In this formulation, the total enthalpy is separated
into a sensible heat component and a latent heat component ∆h = fl L.
Taking into account the above, the energy equation might be recast
as:
DT Dp ∂ 2T D(fl L)
ρc = +k −ρ (3.4)
Dt Dt ∂xi ∂xi Dt
Where c, fl , and L represent the specific heat, the liquid fraction,
and the latent heat, respectively.
For a pure substance, where isothermal phase change takes place,
the term ∂(uj fl L)/∂xj = 0 and the liquid fraction is given by the Heav-
iside step function: (
0, T < Tm
fl = (3.5)
1, T ≥ Tm
However from a computational point of view discontinuities are
difficult to track and often it is necessary to smear the phase change
over a small temperature range to attain numerical stability [18]. View
figure 3.3.
Thus defining Ts = Tm − ε, Tl = Tm + ε and consequently hs = cTs ,
hl = cTl + L, the liquid fraction may be given by:
0, h < hs
h − hs
fl = , hs ≤ h ≤ hl (3.6)
hl − hs
1, h > hl
The previous expression will hold exact in the case of pure con-
duction but otherwise it will be a procedure to linearly interpolate the
liquid fraction in the phase change region. It must be commented that
in this formulation, the liquid fraction is computed at each time step
and the phase change interface is not tracked explicitly.
24 CHAPTER 3. MELTING AND PHASE CHANGE MATERIALS
(a) (b)
h h
hl
hl
L
L
hs hs
2ε
Tm T T s Tl T
∂ui ∗
=0 (3.7)
∂xi ∗
Dui ∗ ∂ p̃∗ ∂ 2 ui ∗
= − + Pr + Si ∗ + RaPr T ∗ δi2 (3.8)
Dt∗ ∂xi ∗ ∂xj ∗ ∂xj ∗
DT ∗ ∂ 2T ∗ 1 ∂fl
∗
= ∗ ∗
− (3.9)
Dt ∂xi ∂xi St ∂t∗
CHAPTER 3. MELTING AND PHASE CHANGE MATERIALS 25
(1 − fl )2 ∗
Si ∗ = A ui (3.10)
fl3 + ε
Table 4.1: Test cases corresponding to the two Stefan number ranges.
St = 0.01 Ra = 2.5 × 104 Ra = 2.5 × 105
Pr = 0.02 Case 1 Case 2
St = 10 Ra = 5 × 104 Ra = 1.7 × 105 Ra = 8.4 × 105 Ra = 6.8 × 106
Pr = 1 Case 3 Case 4 Case 5 Case 6
27
28 CHAPTER 4. PROPOSED TEST CASES
u = v = 0,
(a) Adiabatic (b)
u (t = 0) = 0,
u = v = 0, Solid
u = v = 0,
v (t = 0) = 0,
T = T1 & T1 > Tm region
T (t = 0) = Tm
T = Tm g
T = Tm
y y
x u = v = 0,
x
Adiabatic
29
30 CHAPTER 5. NUMERICAL MODELLING OF MELTING PROBLEM
tations.
results. Consistency, stability, and convergence form the basis for such
quantitative assessment [21].
Consistency is a condition on the numerical scheme; that is the dis-
cretized equation must tend to the differential or integral equation as
the spatial grid spacing and time step tend to zero. Hence, consis-
tency is related to how well the numerical scheme approximates the
mathematical model of the problem, i.e. the truncation error (order of
accuracy) of the scheme.
Stability is a condition on the numerical solution; that is all errors
of any source (e.g. round off and truncation errors) remain bounded
(i.e. do not grow) as the computation proceeds. The stability of a nu-
merical scheme (e.g. absolute stable, conditional stable) can be evalu-
ated through a Von Neumann stability analysis. It must be comment
that fully explicit methods are conditionally stable while fully implicit
methods are absolute stable.
Convergence is a condition on the numerical solution; that is the
numerical solution approaches the exact solution as the spatial grid
spacing and time step approach zero. Differently to consistency and
stability, it is very difficult to show convergence without knowing the
exact solution. However, according to the Lax-Richtmyer equivalence
theorem: for a linear, well-posed initial value problem (in the sense
of Hadamard) and a consistent discretization scheme, stability is the
necessary and sufficient condition for convergence.
1
a1 On+1 + a2 On + a3 On−1 = b1 f (On ) + b2 f On−1
∆t
+ d c1 g On+1 + c2 g(On )
(5.1)
+ d c3 g On−1
∂ui
=0 (5.2)
∂xi
∂ui ∂ (ui uj ) ∂ p̃ ∂ 2 ui
=− − + Pr + Si + RaPr T δi2 (5.3)
∂t ∂xj ∂xi ∂xj ∂xj
∂T 1 ∂fl ∂ (T ui ) ∂ 2T
+ =− + (5.4)
∂t St ∂t ∂xi ∂xi ∂xi
Here all variables have been previously defined and to avoid cum-
bersome notation the ∗ super-index, in this chapter, has been dropped
as a sign of a non-dimensional variable.
j+1
u
1 v
j+2
p,T
j
1
j-2
dx2
j-1
dx1
1 1 3
i-2 i i+2 i+1 i+2
Figure 5.1: Staggered Cartesian grid employed for the finite volume formu-
lation of the governing equations.
At this point, the operations are split, i.e. to enforce the divergence
free condition, a projection-correction method is used.
Prediction step:
a1 U ∗ 1
a2 Un + a3 Un−1
=−
∆t ∆t
+ b1 ADV x (Un ) + b2 ADV x Un−1
(5.11)
n n
+ c2 [Pr DIF F x (U ) + DS x (U )]
+ c3 Pr DIF F x Un−1 + DS x Un−1
a1
[U∗∗ − U∗ ] = c1 [Pr DIF F x (U∗∗ ) + DS x (U∗∗ )] (5.12)
∆t
Correction step:
a1 n+1
− U∗∗ = −Dx Pnum n+1
U (5.13)
∆t
CHAPTER 5. NUMERICAL MODELLING OF MELTING PROBLEM 39
41
42 CHAPTER 6. RESULTS AND DISCUSSIONS
Figure 6.1: Melting front profile corresponding to test case 1: (a) StFo = 0.004,
(b) StFo = 0.01, (c) StFo = 0.04, (d) StFo = 0.1. Here Fo = (αt)/H 2 represents
the Fourier number.
Figure 6.2: Average Nusselt number at the hot wall and average melting front
position for test case 1 and 2: (a) Nuav for test case 1, (b) Nuav for test case 2,
(c) s∗ av for test case 1, (d) s∗ av for test case 2.
CHAPTER 6. RESULTS AND DISCUSSIONS 43
Figure 6.3: Flow structure corresponding to test case 2: (a) StFo = 0.01, (b)
StFo = 0.02, (c) StFo = 0.04, (d) StFo = 0.1.
Figure 6.4: Average Nusselt number at the hot wall and average melting front
position for test cases 3-6: (a) Nuav , (b) s∗ av .
44 CHAPTER 6. RESULTS AND DISCUSSIONS
Table 6.1: Correlations corresponding to the end of the mixed regime (iden-
tified by the sub-index min) and the end of the convective regime (identified
by the sub-index 2 ). In the case of Pr < O(1) is assumed that there is no
contact with the cold wall and Nu2 represents a quasi-steady average Nus-
selt number in the convective regime. Low and high St denote the low and
high range of the Stefan number, respectively.
Numin FoStmin Nu2 FoSt2
Low St Pr < O(1) ∼ ∼ 0.29Ra 0.27 Pr 0.18 ∼
Pr > O(1) 0.28Ra 1/4 9Ra −1/2 0.35Ra 1/4 1.8Ra −1/4
High St Pr > O(1) 0.31Ra 1/4 56Ra −1/2 0.29Ra 1/4 8.7Ra −1/4
Figure 6.5: Scaling from the numerical modelling corresponding to the high
Stefan number range.
Chapter 7
47
48 CHAPTER 7. CONCLUSIONS AND FURTHER WORK
ing since it can effectively affect the time evolution and trend of the
heat transfer in the melting problem in an almost cost free manner for
storage system applications based on PCMs.
(3) Another possibility could be to study phase change problems where
a PCM inside a rectangular cavity is subject to different effects and
other boundary conditions. An example is El Khaoudi et al. [39] where
the cavity is linearly heated from the side and the effect of a magnetic
field is taken into account.
(4) Study phase change problems taking into account the possibility of
non-constant thermosphysical properties both in the liquid and in the
solid due to high temperature differences in the initial and/or bound-
ary conditions. As an example consider Rihab et al. [40] where a study
of heat conduction during melting of PCMs with different thermo-
physical properties is performed.
(5) Study of phase change problems where the PCMs is not a pure sub-
stance and the mushy zone region is not a numerical artefact. In this
case, the advection of the liquid fraction needs to be accounted for in
the energy equation.
(6) A numerical study concerning a rectangular PCM containing cav-
ity taking into account volumetric expansion/contraction due to melt-
ing/solidification through an elastic wall. Dallaire and Gosselin [41]
for example, studied the solidification of water, as PCM, inside the
cavity taking into account the density change during the phase change
and resulting in the deformation of the wall cavity due to the expan-
sion. This study was implemented through Fluent, Ansys 17.0 com-
mercial software.
(7) Scaling laws for phase change problems where the effect of tran-
sient conduction in the solid phase is taken into account. This is one
of the possible extensions for the scaling theory published by Jany and
Bejan [12] and it is of interest since even in laboratory experiment is
difficult to maintain the solid uniformly at the melting temperature.
(8) Study of the flow structure in the melting of the PCM inside the
rectangular cavity driven by natural convection in the melt for the low
Prandtl number range and relatively high Rayleigh numbers. As ob-
served by Dantzig [25] and studied by Le Quéré and Gobin [26] for
this case, an apparent instability in the flow takes place at the end of
the conduction regime. This instability later leads to a secondary os-
cillatory instability (view figure 6.2(b)) which strongly affects the heat
transfer and the melting front position, as reported in Bertrand et al.
50 CHAPTER 7. CONCLUSIONS AND FURTHER WORK
[8] and Gobin and Le Quéré [9]. In Le Quéré and Gobin [26] the au-
thors recognized as limitations in their analysis the assumptions of a
quasi-steady base flow and that the instability develops rapidly com-
pared to the slow time scale evolution. It is also worth noted that they
performed a linear stability analysis.
(9) Suitability, from a numerical stability point of view, of certain meth-
ods to solve phase change problems. An example of this type of study
for time dependent diffusion-advection problems is done by Ascher,
Ruuth, and Wetton [23]. Second order IMEX schemes are particularly
convenient since the employed algorithm used such method.
(10) Numerical studies of heat transfer enhancement techniques in
PCMs. Most PCMs have unacceptably low thermal conductivity, lead-
ing to slow charging/discharging rates [1] and required a way to en-
hance the heat transfer. Agyenim et al. [1] reported that due to simplic-
ity, ease in fabrication, and low cost during construction, the majority
of heat enhancement are based on the application of fin embedded
in the PCM followed by the used of metal matrix, where the metal
presents high conductivity, into the PCM. A possible set up could be
the use of fins of determined aspect ratio inside a rectangular cavity
with the purpose of study the flow structure and the heat transfer en-
hancement with respect to a configuration without the fins.
Appendix A
Additional Validation:
Conductive Melting
St
ζexp ζ 2 erf (ζ) = √
(A.1)
π
√
s∗ (F o) = 2ζ F o (A.2)
h √ i
erf x∗ / 2 F o
T ∗ (x∗ , F o) = 1 − , 0 ≤ x∗ ≤ s∗ (F o) (A.3)
erf (ζ)
In the expressions above ζ is a coefficient implicitly dependent of
the Stefan number, exp is the exponential function and erf is the error
function.
51
52 APPENDIX A. ADDITIONAL VALIDATION: CONDUCTIVE MELTING
53
54 APPENDIX B. MATLAB CODE AND NUMERICAL DATA
Figure B.1: Example of obtained data from code after case 1 computation: (a)
melting front, (b) temperature field, (c) average Nusselt number, (d) average
melting front position.
Bibliography
55
56 BIBLIOGRAPHY