FTocci MScThesis 2016
FTocci MScThesis 2016
FTocci MScThesis 2016
net/publication/340253602
CITATION READS
1 551
Some of the authors of this publication are also working on these related projects:
Stability and Sensitivity Methods for Industrial Design (SSeMID) View project
All content following this page was uploaded by Francesco Tocci on 28 March 2020.
Relatore Candidato
Prof. Luciano Galfetti Francesco Tocci
Matr. 804717
Politecnico di Milano:
www.polimi.it
Scuola di Ingegneria Industriale e dell’Informazione:
www.ingindinf.polimi.it
Abstract
iii
Sommario
iv
Contents
1 Introduction 1
1.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Research objective . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Thesis outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Literature Review 5
2.1 Multiphase flow: basic definitions and dimensionless numbers . . . . 5
2.1.1 Velocities . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1.2 Slip effects . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1.3 Froude number . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1.4 Morton number . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1.5 Eotvos number . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1.6 Dimensionless inverse viscosity number . . . . . . . . . . . . 7
2.1.7 Slippage number . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Upward gas-liquid flow in vertical pipes . . . . . . . . . . . . . . . . 7
2.2.1 Flow regimes . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2.2 Flow pattern maps . . . . . . . . . . . . . . . . . . . . . . . 12
2.2.3 Transition mechanism . . . . . . . . . . . . . . . . . . . . . 15
2.3 CFD methodologies for two-phase flow . . . . . . . . . . . . . . . . 16
2.3.1 Direct numerical simulation . . . . . . . . . . . . . . . . . . 16
2.3.2 Eulerian-Lagrangian method . . . . . . . . . . . . . . . . . . 18
2.3.3 Eulerian-Eulerian method . . . . . . . . . . . . . . . . . . . 19
4 Validation 33
4.1 Case study 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.1.1 Case description . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.1.2 Case setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.1.3 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.2 Case study 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
v
vi CONTENTS
Conclusions 63
A blockMesh with m4 65
A.1 Case study 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
A.2 Case study 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
C fvSolution 75
D fvSchemes 77
Bibliography 81
List of Figures
vii
viii LIST OF FIGURES
4.1 Results comparison: data with Fluent, SFC, and OLGA from [115]
and with OpenFOAM. . . . . . . . . . . . . . . . . . . . . . . . . . 44
4.2 Number of cells used in different grids. . . . . . . . . . . . . . . . . 45
4.3 Dimensionless numbers. . . . . . . . . . . . . . . . . . . . . . . . . 51
4.4 Flow development along the vertical riser in the simulation with
OpenFOAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
4.5 Comparison between experiments and CFD simulations with Star-
CCM+ (from [5]) and with OpenFOAM for the leading Taylor bubble:
void fraction and liquid film thickness. . . . . . . . . . . . . . . . . 61
ix
Listings
xi
Chapter 1
Introduction
1.1 Background
Multiphase flows remain an area where the prediction through CFD is yet
out of reach for the majority of applications. Multiphase flows present a unique
challenge due to the variety of flow regimes. They are characterized by a broad
range of scales, from the dispersed droplets at the microscale up to macroscale free
surface flows. A complication is the regime dependency limitation of the existing
multiphase CFD methodology: specific simulation methods are applicable only to a
specific class of flows. For example, free surface flows, in which the dynamics of the
interface are important to the overall physics, are typically modeled with a shared
momentum equation and a phase fraction field using a sharp interface capturing
method. However, such methods are not suited for the simulation of dispersed
flows characterized by many small fluid particles which cannot be fully resolved
on a computational mesh. In such cases, the two-fluid or Euler-Euler approach is
taken. Here the phases are treated as interpenetrating continua, each governed by
its own momentum equation and having exchange terms to account for interphase
momentum transfer. This methodological segregation of flow regimes is acceptable
for many classes of flows but presents severe limitations for problems in which both
segregated and dispersed flow features are present or where transitions between
flow types are critical to the phenomena of interest.
Recently, a hybrid CFD solver has been developed which aims to overcome the
issue of regime dependency by combining the Euler-Euler multifluid method with
sharp interface capturing in a regime flexible framework [89], [109].
In this context the interest is focused on vertical upward gas-liquid flows. Gas-
liquid flows occur in many applications. The motion of bubbles in a liquid as well as
droplets in a conveying gas stream are examples of gas-liquid flows. Bubble columns
1
2 Chapter 1. Introduction
in 3.
The aim of this thesis becomes to build up a knowledge base, through numerical
simulations and validation against experimental data, of a hybrid solver developed
in the framework of OpenFOAM, that can be used for defining multiphase CFD
procedures for industrial applications.
Literature Review
2.1.1 Velocities
The superficial gas velocity Us,gas is the gas velocity as if the gas was flowing in
the pipe without liquids, in other words the total gas throughput (Qgas in m3 /s at
operating temperature and pressure) divided by the total cross sectional area of
the pipe (A). For the superficial liquid velocity the same can be derived, and the
simple expressions are:
Qgas Qliquid
Us,gas = Us,liquid = (2.1)
A A
The sum of the Us,gas and Us,liquid is the multiphase mixture velocity, and the
expression is given by:
Um = Us,gas + Us,liquid (2.2)
Qgas Qliquid
Ugas = Uliquid = (2.3)
Agas Aliquid
5
6 Chapter 2. Literature Review
The difference and ratio for phase velocities is the slip velocity and the slip ratio,
respectively:
Ugas
Us = |Ugas − Uliquid | S= (2.4)
Uliquid
In pipe flow the liquid volume fraction is usually defined as the fraction of the total
volumetric flow rate that consists of liquid. The liquid hold-up is equal to the liquid
volume fraction only under conditions of no-slip, when the flow is homogeneous and
the two phases travel at equal velocities. Only in no-slip conditions the gas volume
fraction is equal to the gas void fraction. Owing to the slip, the liquid hold-up will
be larger than the liquid volume fraction in the majority of the conditions in the
flow regimes and the gas void fraction will be smaller than the gas volume fraction.
The lighter gas phase will normally move much faster than the liquid phase. The
superficial velocity and the phase velocity are related by the hold-up fraction:
u2
Fr = (2.10)
gD
2.2. Upward gas-liquid flow in vertical pipes 7
gη 4
Mo = (2.11)
ρσ 3
where g is the gravity constant, η the viscosity [Kg/ms], ρ the density and σ the
surface tension [N/m].
ρgD2
Eo = (2.12)
σ
where D is the pipe diameter [m].
diameter and fluid properties, play a role as well. An appropriate starting point
is a phenomenological description of the geometric distributions or flow patterns
that are observed in common multiphase flows. This section describes the flow
patterns observed in vertical pipes and identifies a number of the instabilities that
lead to transition from one flow pattern to another. The material in this section is
extracted from various sources: [3], [24], [48], [13].
Bubbly flow: In this configuration, there is a continuous liquid phase and the
gas phase is dispersed as bubbles within the liquid. The bubbles travel with
a complex motion within the flow, may be coalescing and are generally of
non-uniform size.
Slug flow: Characteristic bullet-shaped bubbles, often called Taylor bubbles, flow
up the pipe surrounded by a thin film of liquid. The liquid slug body between
the Taylor bubbles often contains a dispersion of smaller bubbles.
Churn flow: At higher velocities, the Taylor bubbles in slug flow break down
into an unstable pattern in which there is an oscillatory motion or churning
of liquid in the tube.
In Fig. 2.2 a visual identification of each flow pattern, including the transitional
regimes, is shown. Bubbly-slug flow is characterized by the presence of a relatively
large cap-shaped bubble and the churn flow shows an unstable slug since the liquid
slug might be able to bridge the pipe diameter but it is continually penetrated by
the gas [81]. In the semi-annular flow one may notice the existence of a gas core
and a relatively uniform annular liquid film on the pipe wall as well as liquid slugs.
We now confine our attention to the slug flow since this regime with its formation
and transition will be the key topic of the CFD simulations of this thesis.
2.2. Upward gas-liquid flow in vertical pipes 9
Figure 2.1: Sketches of flow regimes for two-phase flow in vertical pipes. From left to
rigth: Bubbly, Slug, Churn and Annular Flow. (Taitel and Bornea, 1980)
Figure 2.2: Test section photographs of upward air-water flow exhibiting the visual flow
pattern features: (a) Bubbly; (b) Spherical cap; (c) Stable slug; (d) Unstable
slug; (e) Semi-annular ; (f) Annular. (Rosa, Flora and Souza, 2012)
image of the flow around a Taylor bubble and a schematic model of the slug unit
respectively [68]. The bubble velocity (UTB ), the radius of curvature at the nose
(RN ), the interaction distance above the bubble (ZA ), the length needed to have
fully developed annular liquid film (Z ∗ ), the film thickness (δ), the wall shear stress
in the stabilized film (τW ), and the wake dimensions, represented by its length (lW ),
are depicted in Fig. 2.5b.
In [101] Taitel and Barnea presented a review on the modeling of gas-liquid flow
in pipes. As in [99] the review follows an approach based on Fernandes et al. [40],
which establishes macroscopic balances to the two phases and quantifies the various
physical parameters comprising those equations. In Campos et al. [68] different
physical mechanisms inside the flow of a Taylor bubble are extensively assessed
through dimensional analysis, following the work of White and Beardmore [113].
To accurately model slug flow it is first essential to understand the motion of
single Taylor bubbles rising through stagnant liquids. Throughout its rise, the
bubble is influenced by gravitational, inertial, viscous and interfacial forces. Fluid
density, surface tension and viscosity also have an important effect on the flow
regime in a pipe [25], [60], [2]. Szalinski et al. [97] found that in the air-water
flow there is the relation between coalescence and breakup shifted towards more
coalescence than in air-silicone oil flow. Bubbles in the air-water flow tend to be
larger than in air-silicone oil flow at similar superficial velocities. These differences
in coalescence intensity are obviously due to the different viscosities of the liquid
phases. Hernandez et al. [47] studied the effect of the Morton number on Taylor
bubble behaviour: for a higher Morton number there is more distortion.
Neglecting gas expansion, several authors, [113], [31] and [98], reported F r =
f (Eo, M o) to be sufficient for the characterization of the rise of single Taylor bubble
2.2. Upward gas-liquid flow in vertical pipes 11
Figure 2.3: Visualization of wire-mesh sensor data from air-silicone oil two-phase flow at
liquid superficial velocity = 0.25 m/s and different gas superficial velocities.
The gas phase is represented by bright and the liquid phase by dark colour.
Left: virtual side projection, right: axial slice images. (Szalinski et al., 2010)
Nicklin et al. [69] proposed an empirical relationship to describe the rise velocity
of single Taylor air bubble in a static water column. Nicklin’s empirical relationship,
given by Eq. (2.15), describes the translational velocity of a Taylor bubble, Ub , as
the sum of drift velocity, which is the velocity of a Taylor bubble in a stagnant
liquid, plus the contribution of the mixture superficial velocity in the preceding
slug.
(2.15)
p
Ub = C0 (Us,gas + Us,liquid ) + 0.35 gD
12 Chapter 2. Literature Review
Figure 2.4: An image of the Taylor bubble bottom, the near wake and the film region.
Bright dots in the liquid region represent the fluorescent particles. (R. van
Hout, 2001)
Figure 2.6: A flow regime map for the flow of an air-water mixture in a vertical, 25 mm di-
ameter pipe showing the experimentally observed transition regions hatched.
Adapted from Weisman (1983).
at a set of conditions covering the field, and then to sketch in boundary lines
separating the different patterns. Because of problems in correctly identifying flow
patterns, it often happens that a few experimental points lie on the wrong side
of these lines, and the lines would be better regarded as transition zones. This
should always be remembered when using maps on which only the boundary lines
appear [13]. Besides these difficulties there are a number of other troublesome
questions. In single phase flow it is well known that an entrance length of 30 to
50 diameters is necessary to establish fully developed turbulent pipe flow. The
corresponding entrance lengths for multiphase flow patterns are less well established
and it is quite possible that some of the reported experimental observations are for
temporary or developing flow patterns. Moreover, the implicit assumption is often
made that there exists a unique flow pattern for given fluids with given flow rates.
It is by no means certain that this is the case [24]. Consequently, there may be
several possible flow patterns whose occurence may depend on the initial conditions,
specifically on the manner in which the multiphase flow is generated. In vertical
upward flows, the pressure decreases with increasing elevation, but also drops due to
viscous friction; this implies a decrease in gas density and a commensurate increase
in the gas superficial velocity with increasing elevation. Consequently, the flow
pattern at a certain location in the pipe would not only depend on inlet conditions,
but also on the coupled actions of bubble breakup/coalescence and pressure drop.
For some conditions, gas-liquid flows may not reach full development even not for
very long axial pipe lengths. Among the wide variety of flow pattern maps for
vertical flow found in the literature, Taitel et al. [100] suggested physically based
mechanisms which underlie each transition and modelled the transitions based on
these mechanisms. Figs. 2.7a and 2.7b report their results.
2.2. Upward gas-liquid flow in vertical pipes 15
Figure 2.7: Flow pattern map for vertical tubes, air-water. (Taitel et al., 1980)
Experiments suggest that the bubble void fraction at which this happens is around
0.25 to 0.30 [43]. Published data agree in that the void fraction in bubbly flow
rarely exceeds 0.35, whereas for void fractions less than 0.20 coalescence is rarely
observed [44]. A review of models for this transition can be found in [13].
latter is the most popular one. In the VOF technique, the interface is determined
by using a scalar indicator which varies between one (fluid 1) and zero (fluid 2),
corresponding to the volume fraction occupied in each cell. As a consequence, in
the VOF method, the interface is characterized by a discontinuous change in the
volume fractions and difficulties related to its advection are well documented in the
literature [42].
There are several ways to implement this concept and in the framework of
OpenFOAM the methodology is described in extenso by Ubbink [106], Rusche [83]
and Berberovic et al. [21]. In OpenFOAM [66], the solver interFoam is developed
based on the compressive volume-of-fluid method, which incorporates an interfacial
compression flux term to mitigate the effects of numerical smearing of the inter-
face [36], [85], [111]. The interface location, its normal and curvature are known
only implicitly from the underlying indicator function.
The main features of VOF are the conservation of mass and the ability to include
phenomena such as interface breakup and coalescence. It should also be noted
that this technique is dependent on the grid resolution, which might be a source
of errors in the advection and reconstruction algorithms. This drawback induces
the so-called artificial or numerical coalescence of the disperse phase, preventing
the real definition of the interface when the separation between two interfaces is
smaller than the size of the computational cell.
Furthermore, the calculation of the surface tension force constitutes a key issue
of these methods, since its effects at the interface play a decisive role in multiphase
flows [18], [11]. In most cases, the surface tension term is accounted for in the
momentum equation by using the Continuum Surface Force (CSF) model developed
by Brackbill et al. [22].
Nevertheless, this model may introduce parasitic or spurious currents [45], [41].
The main sources of spurious currents have been identified as inaccurate interface
curvature and lack of a discrete force balance [36]. Several solvers have been
developed to reduce these parasitic currents [73], [78] although the problem has not
been completely solved so far [57].
Figure 2.9: Representation of short and long geometrical scales in a bubbly flow. a)
Long scale interfaces, b) short scale interfaces, c) presence of both scales
simultaneously. [84]
The applicability of each model and the quality of the results strongly relies
on the nature of the problem. The VOF model is used in problems where surface
capturing is crucial, such as the importance of surface tension and adhesion phe-
nomena (jet break-up, drop formation) or where the free surface position prediction
is essential (free-surface problems in hydraulics, liquids separation). In all of these
cases the interfaces are covered by an appropriate mesh size, Fig. 2.9. In the case
of two-fluid models the interest is in the capability of predicting the behaviour of
flows with small-scale interfaces when is not possible or desirable to have a more
complete modeling. This kind of interfaces is often found in sedimentation tanks,
cyclone separators, annular flow in refineries and fine bubbles flow in heat exchangers.
20 Chapter 2. Literature Review
The DNS is the only method that is capable to resolve general multiphase
problems [86]; however, the required huge computational resources make DNS out
of reach for most applications. On the other hand, due to their lack of generality, the
other models work only for particular cases that sufficiently satisfy the underlying
model assumptions.
This master thesis deals with the validation of a two-phase CFD code in
OpenFOAM based on the combination of an Eulerian two-fluid approach and sharp
interface capturing using the Volume of Fluid approach. Details of the model are
presented in Chapter 3.
Chapter 3
21
22 Chapter 3. Coupling Euler-Euler two-fluid with VOF
coupled model was to combine two mathematical models with different numbers of
equations across the same domain.
Strubelj and Tiselj [95] give a good overview of methods that have been employed
for this coupling along with details regarding difficulties in coupling the phase
momentum equations at the sharp interface, where the phase velocities should be
equal. This issue has particular importance in the treatment of the velocities, since
the VOF model has only one velocity field whereas the two-fluid model has one
velocity per phase. The transition from two velocities to one is managed by the
definition of the velocity for the centre-of-volume, in the opposite case the same
velocity is assigned to each phase, losing the interface friction.
Wardle and Weller [109] developed a hybrid multiphase method in OpenFOAM
based on the combination of an Eulerian multifluid solution framework and sharp
interface capturing. This solver, named multiphaseEulerFoam, has been included
in the release of version 2.1 of OpenFOAM.
3.2 multiphaseEulerFoam
In multiphaseEulerFoam a numerical interface sharpening is implemented
within the Eulerian framework. The advantage is that the governing equations
to be solved are the same in the whole domain; on the other hand, a numerical
sharpening on top of an Eulerian solver may not be as effective as a coupled model
with interface capturing capabilities [103].
The phase volume fraction is calculated as the probability of point (x, t) being
in phase k:
αk = Ik (x, t) (3.2)
where the overbar represents the ensemble average. The ensemble average is
more fundamental than time and volume averaging and it does not have the time
3.2. multiphaseEulerFoam 23
and space restrictions. As already pointed out the averaging process introduces
new variables and terms and therefore closure laws are required.
In Rusche [83] and Weller [112] this ensemble averaging method is described in
details, and this is not reproduced in the present report.
Assuming that there is no mass transfer across the phases, the conditionally
averaged phase continuity and momentum equations for incompressible, isothermal
flow are given by a set of mass and momentum equations for each of the phases k:
∂αk
+ uk · ∇αk = 0 (3.3)
∂t
∂(ρk αk uk )
+(ρk αk uk ·∇)uk = −αk ∇p+∇·(µk αk ∇uk )+ρk αk g +FD,k +Fs,k (3.4)
∂t
where ρk , αk , uk are the density, phase fraction and velocity, respectively, for
phase k and g is the gravity. The two interfacial forces are the drag force FD,k
and the surface tension force Fs,k . Generally, in the gas-liquid flows, the interfacial
forces (interphase momentum transfer) are divided into two categories: drag force
and non-drag forces. The non-drag forces are the lift force, the virtual mass force,
the turbulent dispersion force and the wall lubrication force [64]. In this work lift,
virtual mass force, wall lubrication, and turbulent dispersion are neglected, and
only the drag force, that is the dominant interfacial force, is included [74].
where σ is the fluid surface tension coefficient and κ is the local surface curvature
determined from:
∇α
κ = −∇ · (3.8)
|∇α|
The accurate calculation of the phase fraction distribution is crucial for a proper
evaluation of the surface curvature, which is required for the determination of
the surface tension force and the corresponding pressure gradient acrosss the free
surface. The interface region between two phases is typically smeared out over a
few grid cells and is therefore highly sensitive to the grid resolution.
Version 2.2.x of OpenFOAM is used in this work. In this version, and also
in the following versions, surface tension was omitted from the reconstruction of
the velocity field, though it is included in the construction of the pressure itself.
However it is straightforward to fix the velocity reconstruction, see E and E.1.
3.2. multiphaseEulerFoam 25
where the subscripts c and d denote the continuous and dispersed phase values
and K is given by:
3 |ud − uc |
K = ρc CD (3.10)
4 dd
The drag calculation implemented in the solver is generic, such that the model must
simply return the value of K. The drag coefficient CD is usually deduced from
experiments and many models were developed in order to fit different experimental
data sets. The drag coefficient is related to many factors: the bubble shape,
orientation with respect to the flow, flow parameters such as the bubble Reynolds
number, the Eotvos number, turbulent level, and so on. An interesting and
comprehensive literature study on the topic can be found in [83]. In the solver
many different drag coefficient models are implemented [66].
The model of Schiller and Naumann [87] is used for the simulations in this thesis.
According to this model the correlation for the drag coefficient is:
24 1+0.15Re0.683
CD = Re
Re ≤ 1000 (3.11)
0.44 Re > 1000
|ud − uc |
Re = dd (3.12)
νc
where νc is the kinematic viscosity of the continuous phase and dd is the diameter
of the disperse phase.
In multiphaseEulerFoam the calculation of the drag coefficient can be done
by specifying a dispersed phase or by an independent calculation with each phase
as the dispersed phase. For the latter case the overall drag coefficient, applied to
the momentum equations, is taken as the volume fraction weighted average of the
two values. This is the blended scheme in in the code listing of Table 3.1. In this
way both drag forces are calculated and the solver automatically weights the drag
forces based on the phase fraction. Different models for each dispersed phase can be
chosen.Therefore the parameters for the drag model need to be specified pair-wise.
The phases are read in the transportProperties dictionary from left to right, see
line 3 in the code listing of Table 3.1. In this example the first phase, air, is the
dispersed phase and its diameter is used for the calculation of Eq. (3.12).
Table 3.1: Drag specification in transportProperties dictionary
1 drag
2 (
3 ( air siliconeOil )
26 Chapter 3. Coupling Euler-Euler two-fluid with VOF
4 {
5 type blended ;
6
7 air
8 {
9 type SchillerNaumann ;
10 residualPhaseFraction 0;
11 residualSlip 0;
12 }
13
14 siliconeOil
15 {
16 type SchillerNaumann ;
17 residualPhaseFraction 0;
18 residualSlip 0;
19 }
20
21 r e s i d u a l P h a s e F r a c t i o n 1 e −3;
22 r e s i d u a l S l i p 1 e −3;
23 }
24 );
In the listing given in Table 3.1 there are two extra parameters in the setup
of transportProperties: residualPhaseFraction and residualSlip. They are
not included in the calculation of the actual phase fractions or velocities, but only
in the calculation of the drag force itself to help the coupled formulation stability.
In the limit of a sharp interface, the velocities on either side of the interface must be
equal to meet the so-called no-slip interface condition. This is an inherent feature
of traditional VOF simulations as all phases share a single momentum equation
and thus the phase velocities are the same everywhere. Imposing a sharp interface
through the addition of interface compression on top of a two-fluid formulation
requires that an additional artificial drag is used to equalize the velocities at the
interface. That is why constants for a small residual drag and residual phase
fraction are added for each phase pair [109].
pV = nRT (3.13)
pV = const (3.14)
d3 π
V = (3.15)
6
3.2. multiphaseEulerFoam 27
The time step is directly proportional to the mesh spacing, that is, if the mesh
spacing is cut in half, the timestep must essentially be decreased by a factor 2.
Bounded discretization schemes for divergence terms and time step control are both
used to improve the numerical stability. It is generally recommended to keep the
maximum local Courant number much below unity. It is also beneficial to solve the
phase fraction equation in several subcycles within a single time step. The time
step to be used in a single time subcycle, ∆tsc , is set by dividing the global time
step, ∆t, by the preset number of subcycles ( nAlphaSubCycles, nsc ).
∆t
∆tsc = (3.19)
nsc
Besides the Courant number several other physical parameters will also have an
influence on the stability and accuracy of the solver [20]. The surface tension can
impose a restriction on the time step, related to:
r
µ∆x ρ∆x3
∆t ≤ max(10τµ , 0.1τp ) with τµ = and τp = (3.20)
σ σ
3.2.3 Turbulence
In the release version 2.2.x of OpenFOAM, turbulence can be covered by using
Large Eddy Simulation (LES) with the Smagorinsky sub-grid model for the mixture
or with RANS (see B). These models have been originally developed for turbulence
modeling in single-phase flows and thus solely accounts for turbulence within the
continuous phase or within the effective fluid (i.e. the mixture). However, for the
Euler-Euler formulation it is more rigorous to have a turbulence model per phase
and inter-phase turbulence exchange terms [83], [32]. This is more general but also
more complex. In this study turbulence is accounted through RANS models for the
mixture, [74], [4], [49], [34].
28 Chapter 3. Coupling Euler-Euler two-fluid with VOF
The first argument passed to the constructor is the density; in case of incompressible
phases, it is passed as geometricOneField() which is a unit value field. The second
argument is the variable to be solved which is the phase fraction in our case. The
limited normal convective flux is the next argument which is earlier solved explicitly
by MULES:limit. The next two terms are the explicit and implicit source terms in
the continuity equation which arise when mass transfer across the phases or reaction
source terms exist. In our case we pass both the arguments as zeroFields() since
there is no mass transfer. The MULES algorithm solves for the phase fraction with the
explicit consideration of the convective flux of the phase fraction. The considered
transport mechanism is convection only [61]. The procedure is showed in Fig. 3.2.
The solution for the phase fraction is invoked by the fluidSolve() function.
The schematic of the function operation is shown in Fig. 3.3. If the number of
correctors are larger than one, then the phase fraction at the old time is stored and
fluxes for all phases are set to zero.
3.2. multiphaseEulerFoam 31
Validation
33
34 Chapter 4. Validation
Figure 4.1: Model geometry for simulation of vertical upward flow through a 50.8 mm
diameter pipe.
uniform.
It was not possible to carry out a grid convergence study to check the mesh
dependency because of the high computational costs required, however we can
consider the work of Worthen & Henkes in [115] where the mesh dependency of
the solution for the same case is checked. Moreover there are experimental results
available for the comparison with the CFD results. About 55 days of real time were
needed to simulate 14 seconds of physical time by performing a parallel computation
on 12 processors with the time step limitations discussed in 4.1.2.6.
The mesh shown in Fig. 4.2 is a rather coarse grid for an interface capturing
solver, where a mesh spacing of ∼ 10 times smaller than the smallest droplet would
be required. However the scope of this work is to provide a first validation of the
solver using limited computational time.
The idea of the coupled solver is to deal with different scales: the VOF model is
appropriate for flows with large interfacial length scales (larger than grid size), and
the Eulerian-Eulerian model for the cases with small length scales. Neither of them
seems to be applicable for this problem: VOF requires a finer mesh and two-fluid is
to be discarded because we want to track the interface, at least for the large scales
of the annular liquid film. With this problem we can test multiphaseEulerFoam
capabilities.
The quality of this full hexahedral O-grid mesh is high. The maximum skewness
is equal to 0.48 and the maximum mesh non-orthogonality is equal to 38.3. Non-
orthogonality introduces misalignment between the face normal vector and the
computed gradients and affects the Laplacian terms. High values of skewness can
36 Chapter 4. Validation
affect the convective terms. It introduces a first order interpolation error due to
the distance between the intersection of the line connecting two cell centres with
their common face and the centre of that face. The volume ratio plays also a role,
introducing artificial, non-physical boundaries and inconsistent interpolation.
4.1.2.2 Turbulence
Turbulence is modelled using the RANS equations with the SST K − ω model
for the mixture [115], with wall functions [76], [114] (see also B.2). The initialization
of the turbulence quantities follows the expressions provided in [46].
The initial condition is that the riser contains gas and that all the velocity
components are equal to 0 m/s.
Figure 4.4: CFD results with OpenFOAM for the flow pattern in the vertical pipe at t
= 10 s. Cells having a water volume fraction larger than 0.5 are coloured
blue.
0.2. The upper limit on the time step is set to 5e−6 which decrease the maximum
Courant number to ∼ 0.03 during the simulation. This is done to increase the
stability of the simulation and improve the convergence.
4.1.3 Results
The CFD results described in [115] were obtained with Fluent using a VOF
method. An attempt to use the VOF method is made also in OpenFOAM with
similar results. The disagreement between experiment and CFD (see Table 4.1 and
Fig. 4.9) is attributed to the failure of the VOF method to predict slug flow in the
risers. Therefore the hybrid model is used in the following simulations.
In the experiments the gas flow was too low to obtain annular flow in the risers
and the flow condition observed is churn flow. The CFD results for the flow pattern
in the vertical pipe at t = 10 s are presented in Fig. 4.4. The CFD simulations
predict a churn-like flow in the riser.
Fig. 4.5 displays time series of cross-sectional averaged void fraction data (see
Eq. (4.4)) which contain prime information concerning liquid structures within the
flow. All time series exhibit cylic fluctuations that are in the form of sudden drops
in cross-sectional averaged void fraction. The presence of the drops in the time
series is due to the passage of cyclic liquid structures. The amplitude of these drops
is controlled by the liquid volume of the passing structure. In other words, the
more the liquid content of the passing structure, the larger the amplitude of the
drops in the time series. According to Parsi et al. [75], the cyclic liquid structures
can be liquid continuous (liquid slug body) or non-continues liquid structures
(huge wave, disturbance wave). In order to determine the time series of the void
fraction, the following procedure is followed (which is similar to the one used by
Hernandez-Perez. [48] and Abdulkadir [3]): a cross-sectional plane is defined across
4.1. Case study 1 39
the measurement location and an area-weighted average value of the void fraction
is calculated. The area-weighted average of the void fraction is computed by:
n
1 1X
Z
αA = αi Ai (4.4)
A A i=1
where the sum is extended to all the faces of the cells that lie on the measurement
section.
Fig. 4.6 demonstrates the ability of the CFD model in OpenFOAM to reproduce
a liquid structure briefly bridging the pipe cross-section as well as large interfacial
waves of different sizes compressing the gas core.
The instantaneous (at t = 10 s) liquid holdup and mixture velocities are shown
in Fig. 4.7 and Fig. 4.8 for different sections.
For this case the experimental results available are the pressure drop and the
liquid holdup fraction. The liquid holdup was not measured but it was estimated
based on the measured pressure drop across the riser, assuming that the pressure
drop was due solely to gravity (i.e., frictional pressure drop was assumed negligible).
The liquid holdup and pressure drop were time-averaged after a time at which
the flow was considered to have been stabilized to obtain a single value for each
and compare them with [115]. In the work of Worthen & Henkes the quantities
were time-averaged over the time between 2 s and 9 s. From Fig. 4.9 we can see
that for the case with multiphaseEulerFoam the time to reach fully developed flow
is larger than with Fluent and therefore the average is computed over a flow time
from 5 s to 14 s.
The value of the pressure drop per unit length is computed by defining two
cross-sectional planes: at 20D and at the outlet. An area-weighted average value
of the pressure is calculated for the two sections (p20D and pOutlet respectively).
Finally the pressure drop is given by:
p20D − pOutlet
∆pl = (4.5)
l
where l is the distance between the two sections. The total liquid holdup fraction is
simply defined as the volume average of the phase fraction of water over the entire
pipe. Table 4.1 gives a summary of the predicted and measured pressure drop per
unit length and for the liquid holdup fraction for upward flow through a 50.8 mm di-
ameter vertical pipe. The results provided by this work with multiphaseEulerFoam
are indicated as OpenFOAM.
The prediction by OpenFOAM using multiphaseEulerFoam agrees better than
any other method with the measurements, indicating that multiphaseEulerFoam
does properly capture the multiphase flow pattern. The large differences between
the liquid holdup fraction and pressure drop as found in the CFD simulation
with multiphaseEulerFoam and the CFD simulation with VOF, show the capability
of this hybrid model to overcome the limitations of the VOF model that was used
in Fluent and OpenFOAM.
Fluent and OpenFOAM with VOF overpredicts the dispersion between the
phases, which gives a too low liquid holdup fraction, which in turn also gives a too
low hydrostatic head and thus a too low pressure drop.
40 Chapter 4. Validation
0.8
Void Fraction
0.6
0.4
0.2
0
7.3 8.3 9.3 10.3 11.3 12.3 13.3 14.3
Time [s]
(a) 20D from inlet
0.8
Void Fraction
0.6
0.4
0.2
0
7.3 8.3 9.3 10.3 11.3 12.3 13.3 14.3
Time [s]
(b) 30D from inlet
0.8
Void Fraction
0.6
0.4
0.2
0
7.3 8.3 9.3 10.3 11.3 12.3 13.3 14.3
Time [s]
(c) 40D from inlet
Figure 4.5: Time series for the void fraction in the CFD simulations with OpenFOAM.
4.1. Case study 1 41
Figure 4.6: CFD results for the last 30D of the vertical pipe at t = 10 s.
42 Chapter 4. Validation
0.3
0.25
Total liquid holdup fraction
0.2
0.15
0.1
Experiment
0.05 Hybrid model with OpenFOAM
VOF with OpenFOAM
VOF with Fluent
0
0 2 4 6 8 10 12 14
Time [s]
Figure 4.9: Total liquid holdup fraction in the 50D long vertical pipe.
Table 4.1: Results comparison: data with Fluent, SFC, and OLGA from [115] and with
OpenFOAM.
oil mixture. The details of this experimental facility can be found in Azzopardi et
al. [6], [9]. The experimental test section consists of a transparent acrylic pipe and
the flow patterns were recorded using electrical capacitance tomography (ECT) and
wire mesh sensors (WMS). A detailed description of the ECT and WMS technology
can be found in [6], [10], [91] and [7]. A ring of two measurement electrodes (also
known as twin-plane sensors) were placed around the circumference of the riser at
a given height above the injection portals at the bottom of the riser section. The
use of the twin-plane sensors enabled the determination of the rise velocity of any
observed Taylor bubbles and liquid slugs. The twin-plane ECT sensors were placed
at a distance of 4.4 m (ECT-Plane 1) and 4.489 m (ECT-Plane 2) from the base of
the riser. The capacitance WMS (WMS-Plane 3) was placed at 4.92 m away from
the mixing section, at the base of the riser. In addition to the physical experiments,
CFD simulations were carried out by Abdulkadir et al. in [3] using Star-CD and
Star-CCM+ with a VOF method. In this case the VOF method in Star-CCM+
seems to provide good results. However in OpenFOAM the hybrid model is again
used since a preliminary study with VOF failed in simulating the slug flow.
4.2.2.1 Mesh
Fig. 4.10 shows the geometry for the computational flow domain. A mesh
sensitivity analysis has been carried out in [5] in order to identify the minimum
mesh density that is required to ensure that the solution is almost independent
of the mesh resolution. In this work four different sets of grid are developed for
a computational domain of 1 m length. This length is sufficient to carry out a
test on the performance of the mesh with quite reasonably computational effort [5].
A comprehensive mesh dependency study on the 6 m long vertical pipe, with
successively refined grids, would require huge computer times which is out of the
scope of this thesis. The meshes that were investigated are shown in Fig. 4.11 and
Table 4.2 lists the details of the grids employed.
The simulation results of the Taylor bubble by mean of the aforementioned four
different sets of grid are shown in Fig. 4.12. From Fig. 4.12, the Taylor bubble
shape can be clearly observed in all four meshes. However, the interface of the higher
46 Chapter 4. Validation
Figure 4.10: 3D geometry of the computational flow domain showing the location of the
experimental measurement.
4.2. Case study 2 47
Figure 4.11: Cross-sectional view of different computational grid used for mesh inde-
pendent study.
48 Chapter 4. Validation
Figure 4.12: Simulation with OpenFOAM for the Taylor bubble with different grid
number.
1
344400 cells
184250 cells
0.9 106191 cells
63360 cells
0.8
0.7
0.6
Void Fraction
0.5
0.4
0.02
0.3
0.01
0.2
0
0.68 0.7 0.72
0.1
0
0.65 0.7 0.75 0.8 0.85
Time [s]
Figure 4.13: Void fraction (see Eq. (4.4)) at the measurement section (0.5 m).
4.2. Case study 2 49
Figure 4.14: Computational mesh used for simulations by Abdulkadir et al. in [5].
mesh resolution is sharper than in the other cases. In order to evaluate whether or
not the employed mesh resolution is adequate to obtain accurate solutions, the time
for the Taylor bubble to reach a section located at a distance of 0.5 m downstream
the inlet is compared in Fig. 4.13 for the four meshes [3]. From Fig. 4.12 and
Fig.4.13 it can be concluded that the mesh c is adequate. The change in the results
produced is very small when the number of cells is increased to the finer mesh d.
Fig. 4.14 shows the mesh used in [3]. The mesh used in this study is given
by Fig. 4.15 and the same considerations of 4.1.2.1 hold also for this case.
50 Chapter 4. Validation
In [48], [75], [107] and [5] CFD similations with similar coarse meshes are described.
The number of hexahedral cells is 1105500, the maximum orthogonality is 32.7
and the maximum skewness is 0.52. The experimental data were obtained over an
interval of 60 s while the CFD covered 17 s both with OpenFOAM in the present
work and with Star-CCM+ in [5]. About 36 days of real time were needed to
simulate 17 seconds of physical time by performing a parallel computation on 12
processors with the upper limit on the time step set to 5e−5.
4.2.2.2 Turbulence
It is important to consider the turbulence in the numerical simulation as the
bubbles rising through the liquid create a developing film around themselves and a
wake behind them [98], [80]. The k-ε model with wall function is used as suggested
by the multiphase flow study of Ramos-Banderas et al. [79] and as was also used
in [4] and [30]. The flow inlet values for the turbulent kinetic energy k, and
dissipation rate ε, are estimated using the equations proposed by Launder and
Spalding [63].
At the outlet at the top of the riser, a fixed value for the pressure is specified.
As in 4.1.2.3 the type fixedMean is used. At t = 0 the riser is completely filled
with liquid at zero velocity.
The air-silicone oil surface tension is specified as 0.02 N/m. The dimensionless
numbers Eo, Nf , and M o are presented in Table 4.3. The regime of this case
corresponds to Eo > 100 and Nf > 300. According to Wallis et al. [44] when
Eo > 100 the surface tension plays little role in determining the slug ascent velocity.
In a later critical review of the literature Fabre et al [39] concluded that the viscosity
acts essentially to develop the liquid velocity profile far ahead of the bubbles, but
has no influence near the front where the inertia dominates. This condition is
satisfied provided Nf > 300 and the rise velocity of the bubble is determined solely
by liquid inertia [44].
4.2. Case study 2 51
Dimensionless numbers
Eotvos number Eo = 1981.67
Dimensionless inverse viscosity Nf = 9311.72
Morton’s number M o = 1.035 × 10−6
4.2.3 Results
In Fig. 4.16 the vector plot of the velocity field around the leading Taylor bubble
rising in the stagnant silicone oil is shown.
Figure 4.16: Simulation with OpenFOAM for the for the leading Taylor bubble rising
through a 0.067 m internal diameter vertical pipe: instantaneous velocity
field for the liquid phase.
As shown in Fig. 4.16 the bubble has a round nose and fills almost the cross
sectional area of the pipe. The liquid ahead of the bubble moves around the bubble
as a thin liquid film moving downwards in the annular space between the pipe wall
and the bubble surface. At the rear of that bubble, the liquid film plunges into the
liquid plug behind the bubble and produces a highly agitated mixing zone in the
bubble wake. This recirculation zone contains small bubbles shed from the bubble
tail due to the turbulent jet of the liquid film. A similar observation was reported
in [40].
52 Chapter 4. Validation
Figure 4.17: Simulation with OpenFOAM for the fully developed slug flow: instanta-
neous void fraction.
Fig. 4.17 depicts the fully developed slug flow. Taylor bubbles can clearly be
viewed followed by liquid slug bodies with dispersed small bubbles. The oscillatory
motion of the liquid phase can be observed in Fig. 4.18 where the downward flow of
silicone oil around the air bubbles is shown. The flow in the liquid slug body shown
in Fig. 4.17 can be divided into two main parts: immediately below the rear of the
bubble, where there is the formation of a recirculation and mixing region, also called
wake region and the main body of the liquid slug body where the flow is gradually
recovering its original and undisturbed state. For a fully developed continuous slug
flow, the length of the liquid slug bodies between any pair of consecutive bubbles
remains constant and long enough, so that all the bubbles are not interacting with
each other, and are rising at the same translational velocity. The intermittence
evident in the developing slug flow pattern indicate the extremely complicated
nature of the hydrodynamics involved.
The void fraction is a fundamental quantity in the description and analysis of
4.2. Case study 2 53
Figure 4.18: Simulation with OpenFOAM for the fully developed slug flow: instanta-
neous velocity.
two phase flows; in the case of slug flows the void fraction at any point varies with
time. Therefore monitoring the time trace of cross-sectional average void fraction
is desirable.
A fully developed flow is defined as one where the flow pattern does not change
with the downstream distance, and it also does not change over time. Time series of
void fraction and probability density function (PDF) of void fraction obtained from
the CFD simulation are used to assess the change in the flow characteristics [72], [33].
The flow development over time is shown in Table 4.4 for different test section.
For large numbers of discrete samples, the PDF can be estimated by a normal-
ized histogram calculation. Here the number of occurrences in the histogram is
normalized by the total number of samples, thus representing a probability. For
the histogram calculation, 200 bins in the phase fraction interval 0 to 1 were used.
Costigan and Whalley [33] proposed that twin peaked probability density function of
recorded void fractions represent slug flow. The low void fraction peak corresponds
to the liquid slug body while the high void fraction peak corresponds to the Taylor
bubble.
The PDF of the time series of void fraction in Table 4.4 shows that the results
obtained from 1.0 m are initially affected by entrance effects. At a distance of 4.0
m from the inlet the PDF of void fraction has taken the shape of slug flow showing
a double peak.
It can be concluded that at 4.0 m the flow is fully developed. The experimental
measuring instruments used by Abdulkadir et al [5] were located at 4.4 m (ECT-
Plane 1), 4.489 m (ECT-Plane 2) and 4.92 m (WMS-Plane 3).
Fig. 4.19 shows a typical plot of a large trailing Taylor bubble (start-up) and
leading train of Taylor bubbles (stationary) from the simulation with OpenFOAM.
A qualitative comparison between CFD simulations with Star-CCM+ and
experiment is given in Fig. 4.20 as reported by Abdulkadir et al. in [5].
The comparison between CFD simulations with OpenFOAM and experiments
is shown in Fig. 4.21. The experimental data were kindly provided by Professor
54 Chapter 4. Validation
0.8
Void Fraction
0.6
0.4
0.2
0
1.2 2.2 3.2 4.2
Time [s]
Figure 4.19: Simulation with OpenFOAM for a large trailing Taylor bubble and leading
train of Taylor bubbles.
1 1
Experiment Star-CCM+
0.8 0.8
Void Fraction
Void Fraction
0.6 0.6
0.4 0.4
0.2 0.2
0 0
1 2 3 4 5 7.2 8.2 9.2 10.2 11.2 12.2
Time [s] Time [s]
0.8 0.8
Void Fraction
Void Fraction
0.6 0.6
0.4 0.4
0.2 0.2
0 0
0 1 2 3 4 5 6.2 7.2 8.2 9.2 10.2 11.2
Time [s] Time [s]
0.8 0.8
Void Fraction
Void Fraction
0.6 0.6
0.4 0.4
0.2 0.2
0 0
0 1 2 3 4 5 6.1 7.1 8.1 9.1 10.1 11.1
Time [s] Time [s]
Figure 4.20: Comparison between experimental data (red) and CFD simulation with
Star-CCM+ (black) from Abdulkadir et al. [5].
1
Experiment
OpenFOAM
0.8
Void Fraction
0.6
0.4
0.2
0
11 12 13 14 15 16 17
Time [s]
(a) WMS-Plane 3
1
Experiment
OpenFOAM
0.8
Void Fraction
0.6
0.4
0.2
0
11 12 13 14 15 16 17
Time [s]
(b) ECT-Plane 2
1
Experiment
OpenFOAM
0.8
Void Fraction
0.6
0.4
0.2
0
11 12 13 14 15 16 17
Time [s]
(c) ECT-Plane 1
Figure 4.21: Time series for the void fraction in different planes; comparison between
experiments and CFD simulations with OpenFOAM.
Again, we can notice the higher values of the void fraction in the liquid slug
56 Chapter 4. Validation
0.08
Experiment
OpenFOAM
Star-CCM+
0.06
0.02
0
0 0.2 0.4 0.6 0.8 1
Void Fraction
(a) WMS-Plane 3
0.08
Experiment
OpenFOAM
Star-CCM+
0.06
Probability density function
0.04
0.02
0
0 0.2 0.4 0.6 0.8 1
Void Fraction
(b) ECT-Plane 2
0.08
Experiment
OpenFOAM
Star-CCM+
0.06
Probability density function
0.04
0.02
0
0 0.2 0.4 0.6 0.8 1
Void Fraction
(c) ECT-Plane 1
Figure 4.22: PDF of cross-sectional average void fraction for the case of slug flow
obtained from the experiments, from the CFD simulations with Star-CCM+
(in Abdulkadir et al. [5]) and with OpenFOAM.
4.2. Case study 2 57
body in the CFD results with both Star-CCM+ and OpenFOAM, as compared to
the experiments. There is a good agreement between the CFD simulations and
the experiments in predicting the same flow pattern, being slug flow: there is a
twin-peaked PDF, with one peak being characteristic for the liquid slug body and
the other peak being characteristic for the Taylor bubble.
By cross-correlating the void fraction signals from ECT-Plane 1 and ECT-Plane
2 (in Fig. 4.23), the transit time between the two section can be measured; this
together with the distance between the measurement sections enable us to calculate
the velocity of the slug unit for the fully developed flow. Fig. 4.24 shows that the
time delay between the planes in the CFD predictions with OpenFOAM and the
experiments is 0.08 s, while in the CFD simulations with Star-CCM+ is equal to
0.075 s. Dividing the distance of 0.089 m between the Plane 1 and the Plane 2 by
the delay time of 0.075 s gives a slug velocity of 1.19 m/s. The slug velocity given
by the simulations with Star-CCM+ is slightly lower and equal to 1.11 m/s.
Fig. 4.25 represent a comparison between CFD simulations and experiments as
the large leading Taylor bubble reaches the ECT-Plane 1 and the ECT-Plane 2.
From Fig. 4.25 the void fraction in the leading Taylor bubble can be obtained.
The liquid film thickness could not be measured directly using the ECT planes
in [5] and the expression proposed by Fernandes et al. [40] is used. This is given by:
D √
δ= (1 − εT B ) (4.9)
2
In Eq. (4.9) δ represents the liquid film thickness, D represents the internal pipe
diameter and εTB is the void fraction in the Taylor bubble. The void fraction and
the liquid film thickness obtained are summarised in Table 4.5.
The comparison between CFD simulations and experiments is again reasonably
good.
58 Chapter 4. Validation
Experiment
1
Plane 1
Plane 2
0.8
Void Fraction
0.6
0.4
0.2
0
11 12 13 14 15 16
Time [s]
0.6
0.4
0.2
0
11 12 13 14 15 16
Time [s]
(b) Time series for the void fraction in the CFD simulations
with OpenFOAM
Star-CCM+
1
Plane 1
Plane 2
0.8
Void Fraction
0.6
0.4
0.2
0
7.8 8.8 9.8 10.8 11.8 12.8
Time [s]
(c) Time series for the void fraction in the CFD simulations
with Star-CCM+ (in [5])
Figure 4.23: Comparison between experiments and CFD simulations with Star-CCM+
(from [5]) and with OpenFOAM.
1
Experiment: t = 0.075 s
OpenFOAM: t = 0.075 s
Star-CCM+: t = 0.08 s
Correlation Coefficient
0.5
-0.5
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
Time delay [s]
Figure 4.24: Time delay of a Taylor bubble passing along two different measuring
locations in the pipe.
4.2. Case study 2 59
Table 4.4: Flow development along the vertical riser in the simulation with OpenFOAM.
Distance from the inlet [m] Void fraction traces PDF of void fraction
0.08
1
0.8 0.06
Void Fraction
0.6
PDF
0.04
0.4
0.2 0.02
0
11 12 13 14 15 16 17
1.0 (15 pipe diameters)
0
0 0.2 0.4 0.6 0.8 1
Time [s] Void Fraction
0.08
1
0.8 0.06
Void Fraction
0.6
PDF
0.04
0.4
0.2 0.02
0
11 12 13 14 15 16 17
2.0 (30 pipe diameters)
0
0 0.2 0.4 0.6 0.8 1
Time [s] Void Fraction
0.08
1
0.8 0.06
Void Fraction
0.6
PDF
0.04
0.4
0.2 0.02
0
11 12 13 14 15 16 17
3.0 (45 pipe diameters)
0
0 0.2 0.4 0.6 0.8 1
Time [s] Void Fraction
0.08
1
0.8 0.06
Void Fraction
0.6
PDF
0.04
0.4
0.2 0.02
0
11 12 13 14 15 16 17
4.0 (60 pipe diameters)
0
0 0.2 0.4 0.6 0.8 1
Time [s] Void Fraction
0.08
1
0.8 0.06
Void Fraction
0.6
PDF
0.04
0.4
0.2 0.02
0
11 12 13 14 15 16 17
4.4 (66 pipe diameters)
0
0 0.2 0.4 0.6 0.8 1
Time [s] Void Fraction
0.08
1
0.8 0.06
Void Fraction
0.6
PDF
0.04
0.4
0.2 0.02
0
11 12 13 14 15 16 17
4.489 (67 pipe diameters)
0
0 0.2 0.4 0.6 0.8 1
Time [s] Void Fraction
0.08
1
0.8 0.06
Void Fraction
0.6
PDF
0.04
0.4
0.2 0.02
0
11 12 13 14 15 16 17
4.92 (73 pipe diameters)
0
0 0.2 0.4 0.6 0.8 1
Time [s] Void Fraction
60 Chapter 4. Validation
1
Experiment
OpenFOAM
Star-CCM+
0.8
Void Fraction
0.6
0.4
0.2
0
0 0.2 0.4 0.6 0.8
Time [s]
(a) ECT-Plane 1
1
Experiment
OpenFOAM
Star-CCM+
0.8
Void Fraction
0.6
0.4
0.2
0
0 0.2 0.4 0.6 0.8
Time [s]
(b) ECT-Plane 2
Figure 4.25: Comparison between experiments and CFD simulations with Star-CCM+
(from [5]) and with OpenFOAM for the leading Taylor bubble (Start-up).
Table 4.5: Comparison between experiments and CFD simulations with Star-CCM+
(from [5]) and with OpenFOAM for the leading Taylor bubble: void fraction
and liquid film thickness.
Case study 1
The main goal to simulate vertical upward air-water churn flow through a pipe with
50.8 mm internal diameter is achieved. From a comparison of the results obtained
from the CFD simulations in OpenFOAM and the experiments, the following
conclusions can be drawn:
• Very good agreement was detected for the pressure drop and liquid holdup
fraction. The pressure drop was 2400 Pa/m in the the experiments and 2370
Pa/m in the CFD simulations. The liquid holdup fraction in the experiments
was estimated to be 0.24 based on the measured pressure drop whereas for
61
62 Conclusions
the simulations the time averaged liquid holdup fraction was 0.21. The
experimentally determined holdup was higher than the CFD prediction and
this can be partly due to the assumption of zero frictional pressure drop.
Case study 2
A detailed simulation of the slug flow in a 6 m vertical pipe with a 0.067 m internal
diameter with air and silicone oil has been successfully carried out. The results
were compared with the experimental measurements and the CFD simulations with
Star-CCM+ reported in literature. The main findings are:
• A reasonably good agreement between the CFD simulations and the experi-
ments was obtained for the time series of cross-sectional averaged void fraction
over three monitoring planes. The slug flow data had alternating periods of
high and low void fraction. High void fraction marked the gas bubble passage,
and low void fraction marked the passage of the liquid slug body with same
entrained dispersed gas bubbles. However, the void fraction in the liquid
slug body was seen to have lower values in the CFD simulations than in the
experiments.
• A perfect agreement was found for the velocity of the slug unit for the
fully developed flow between the CFD simulations with OpenFOAM and the
experiments. The CFD simulations with Star-CCM+ predicted a slightly
lower value.
blockMesh with m4
m4 is a macro processor that can be used for the parameterization of the blockMesh
dictionary. The scripts that generate the meshes for the two cases are listed below.
Table A.1: m4 Script to generate the blockMesh dictionary for the Case study 1.
1 //Run u s i n g :
2 //m4 −P bloc kM esh Dic t . m4 > b loc kMe sh Dic t
3
4 //m4 d e f i n i t i o n s :
5 m4_changecom ( // ) m4_changequote ( [ , ] )
6 m4_define ( c a l c , [ m4_esyscmd ( p e r l −e ’ u s e Math : : T r i g ; p r i n t f ( $1 ) ’ ) ] )
7 m4_define (VCOUNT, 0 )
8 m4_define ( v l a b e l , [ [ // ] Ve rt ex $1 = VCOUNT m4_define ( $1 , VCOUNT) m4_define ( [VCOUNT
] , m4_incr (VCOUNT) ) ] )
9
10 // Mathematical c o n s t a n t s :
11 m4_define ( pi , 3 . 1 4 1 5 9 2 6 5 3 6 )
12
13 // Geometry
14 m4_define ( rOut , 0 . 0 2 5 4 )
15 m4_define ( r I n t , c a l c ( 0 . 9 0 5 5 1 1 8 1 1 0 2 3 6 2 2 ∗ rOut ) )
16
17 // Grid p o i n t s :
18 m4_define ( r N u m b e r O f C e l l s 1 s t , 1 0 ) // i n t h e f i r s t O−g r i d
19 m4_define ( rNumberOfCells2nd , 7 ) // i n t h e s e c o n d O−g r i d
20 m4_define ( tNumberOfCells , 2 0 )
21 m4_define ( zABnumberOfCells , 3 2 0 )
22
23 m4_define ( rGrading1 , 1 . 8 )
24 m4_define ( rGrading2 , 2 . 7 )
25 m4_define ( zGrading , 1 )
26
27 // Plane A:
28 m4_define ( zA , 0 )
29 m4_define ( rA , r I n t )
30 m4_define ( rOutA , rOut )
31 m4_define ( rRelA , 0 . 6 9 0 5 3 7 0 8 4 3 9 8 9 7 7 )
32 m4_define ( rRelAc , 0 . 8 5 )
33
34 // Plane B :
35 m4_define ( zB , 2 . 5 4 )
36 m4_define ( rB , r I n t )
37 m4_define ( rOutB , rOut )
38 m4_define ( rRelB , 0 . 6 9 0 5 3 7 0 8 4 3 9 8 9 7 7 )
39 m4_define ( rRelBc , 0 . 8 5 )
40
63
64 Appendix A. blockMesh with m4
41 /∗−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−∗\
42 | ========= | |
43 | \\ / F ield | OpenFOAM: The Open S o u r c e CFD Toolbox |
44 | \\ / O peration | Version : 2.2.2 |
45 | \\ / A nd | Web : h t t p : / /www. openfoam . o r g |
46 | \\/ M anipulation | |
47 \∗−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−∗/
48
49 FoamFile
50 {
51 version 2.0;
52 format ascii ;
53
54 root "" ;
55 case "" ;
56 instance "" ;
57 local "" ;
58
59 class dictionary ;
60 object bl oc kMe sh Dic t ;
61 }
62
63 // ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ //
64
65 convertToMeters 1 ;
66
67 vertices
68 (
69
70 // Plane A:
71 ( c a l c ( rRelA ∗rA∗ c o s ( p i / 4 ) ) −c a l c ( rRelA ∗rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A0)
72 ( c a l c ( rRelA ∗rA∗ c o s ( p i / 4 ) ) c a l c ( rRelA ∗rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A1)
73 ( c a l c (−rRelA ∗rA∗ c o s ( p i / 4 ) ) c a l c ( rRelA ∗rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A2)
74 ( c a l c (−rRelA ∗rA∗ c o s ( p i / 4 ) ) −c a l c ( rRelA ∗rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A3)
75 ( c a l c ( rA∗ c o s ( p i / 4 ) ) −c a l c ( rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A4)
76 ( c a l c ( rA∗ c o s ( p i / 4 ) ) c a l c ( rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A5)
77 ( c a l c (−rA∗ c o s ( p i / 4 ) ) c a l c ( rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A6)
78 ( c a l c (−rA∗ c o s ( p i / 4 ) ) −c a l c ( rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A7)
79 ( c a l c ( rOutA∗ c o s ( p i / 4 ) ) −c a l c ( rOutA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A8)
80 ( c a l c ( rOutA∗ c o s ( p i / 4 ) ) c a l c ( rOutA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A9)
81 ( c a l c (−rOutA∗ c o s ( p i / 4 ) ) c a l c ( rOutA∗ s i n ( p i / 4 ) ) zA ) v l a b e l ( A10 )
82 ( c a l c (−rOutA∗ c o s ( p i / 4 ) ) −c a l c ( rOutA∗ s i n ( p i / 4 ) ) zA ) v l a b e l ( A11 )
83
84
85 // Plane B :
86 ( c a l c ( rRelB ∗rB∗ c o s ( p i / 4 ) ) −c a l c ( rRelB ∗rB∗ s i n ( p i / 4 ) ) zB ) v l a b e l ( B0 )
87 ( c a l c ( rRelB ∗rB∗ c o s ( p i / 4 ) ) c a l c ( rRelB ∗rB∗ s i n ( p i / 4 ) ) zB ) v l a b e l ( B1 )
88 ( c a l c (−rRelB ∗rB∗ c o s ( p i / 4 ) ) c a l c ( rRelB ∗rB∗ s i n ( p i / 4 ) ) zB ) v l a b e l ( B2 )
89 ( c a l c (−rRelB ∗rB∗ c o s ( p i / 4 ) ) −c a l c ( rRelB ∗rB∗ s i n ( p i / 4 ) ) zB ) v l a b e l ( B3 )
90 ( c a l c ( rB∗ c o s ( p i / 4 ) ) −c a l c ( rB∗ s i n ( p i / 4 ) ) zB ) v l a b e l ( B4 )
91 ( c a l c ( rB∗ c o s ( p i / 4 ) ) c a l c ( rB∗ s i n ( p i / 4 ) ) zB ) v l a b e l ( B5 )
92 ( c a l c (−rB∗ c o s ( p i / 4 ) ) c a l c ( rB∗ s i n ( p i / 4 ) ) zB ) v l a b e l ( B6 )
93 ( c a l c (−rB∗ c o s ( p i / 4 ) ) −c a l c ( rB∗ s i n ( p i / 4 ) ) zB ) v l a b e l ( B7 )
94 ( c a l c ( rOutB∗ c o s ( p i / 4 ) ) −c a l c ( rOutB∗ s i n ( p i / 4 ) ) zB ) v l a b e l ( B8 )
95 ( c a l c ( rOutB∗ c o s ( p i / 4 ) ) c a l c ( rOutB∗ s i n ( p i / 4 ) ) zB ) v l a b e l ( B9 )
96 ( c a l c (−rOutB∗ c o s ( p i / 4 ) ) c a l c ( rOutB∗ s i n ( p i / 4 ) ) zB ) v l a b e l ( B10 )
97 ( c a l c (−rOutB∗ c o s ( p i / 4 ) ) −c a l c ( rOutB∗ s i n ( p i / 4 ) ) zB ) v l a b e l ( B11 )
98
99 );
100
101 // D e f i n i n g b l o c k s :
102 blocks
103 (
104 // B l o c k s between p l a n e E and p l a n e F :
105 // b l o c k 0 − p o s i t i v e x O−g r i d b l o c k 1 s t b e l t
106 hex (A5 A1 A0 A4 B5 B1 B0 B4 ) AB
107 ( r N u m b e r O f C e l l s 1 s t tNumberOfCells zABnumberOfCells )
108 s i m p l e G r a d i n g ( r G r a d i n g 1 1 zGrading )
109 // b l o c k 1 − p o s i t i v e y O−g r i d b l o c k 1 s t b e l t
110 hex (A6 A2 A1 A5 B6 B2 B1 B5 ) AB
111 ( r N u m b e r O f C e l l s 1 s t tNumberOfCells zABnumberOfCells )
A.1. Case study 1 65
112 s i m p l e G r a d i n g ( r G r a d i n g 1 1 zGrading )
113 // b l o c k 2 − n e g a t i v e x O−g r i d b l o c k 1 s t b e l t
114 hex (A7 A3 A2 A6 B7 B3 B2 B6 ) AB
115 ( r N u m b e r O f C e l l s 1 s t tNumberOfCells zABnumberOfCells )
116 s i m p l e G r a d i n g ( r G r a d i n g 1 1 zGrading )
117 // b l o c k 3 − n e g a t i v e y O−g r i d b l o c k 1 s t b e l t
118 hex (A4 A0 A3 A7 B4 B0 B3 B7 ) AB
119 ( r N u m b e r O f C e l l s 1 s t tNumberOfCells zABnumberOfCells )
120 s i m p l e G r a d i n g ( r G r a d i n g 1 1 zGrading )
121 // b l o c k 4 − c e n t r a l O−g r i d b l o c k
122 hex (A0 A1 A2 A3 B0 B1 B2 B3 ) AB
123 ( tNumberOfCells tNumberOfCells zABnumberOfCells )
124 s i m p l e G r a d i n g ( 1 1 zGrading )
125 // b l o c k 5 − p o s i t i v e x O−g r i d b l o c k 2nd b e l t
126 hex (A9 A5 A4 A8 B9 B5 B4 B8 ) AB
127 ( rNumberOfCells2nd tNumberOfCells zABnumberOfCells )
128 s i m p l e G r a d i n g ( r G r a d i n g 2 1 zGrading )
129 // b l o c k 6 − p o s i t i v e y O−g r i d b l o c k 2nd b e l t
130 hex ( A10 A6 A5 A9 B10 B6 B5 B9 ) AB
131 ( rNumberOfCells2nd tNumberOfCells zABnumberOfCells )
132 s i m p l e G r a d i n g ( r G r a d i n g 2 1 zGrading )
133 // b l o c k 7 − n e g a t i v e x O−g r i d b l o c k 2nd b e l t
134 hex ( A11 A7 A6 A10 B11 B7 B6 B10 ) AB
135 ( rNumberOfCells2nd tNumberOfCells zABnumberOfCells )
136 s i m p l e G r a d i n g ( r G r a d i n g 2 1 zGrading )
137 // b l o c k 8 − n e g a t i v e y O−g r i d b l o c k 2nd b e l t
138 hex (A8 A4 A7 A11 B8 B4 B7 B11 ) AB
139 ( rNumberOfCells2nd tNumberOfCells zABnumberOfCells )
140 s i m p l e G r a d i n g ( r G r a d i n g 2 1 zGrading )
141
142
143 );
144
145 edges
146 (
147 // Plane A:
148 a r c A0 A1 ( c a l c ( rRelAc ∗ rRelA ∗rA ) 0 zA )
149 a r c A1 A2 ( 0 c a l c ( rRelAc ∗ rRelA ∗rA ) zA )
150 a r c A2 A3 (− c a l c ( rRelAc ∗ rRelA ∗rA ) 0 zA )
151 a r c A3 A0 ( 0 −c a l c ( rRelAc ∗ rRelA ∗rA ) zA )
152 a r c A4 A5 ( rA 0 zA )
153 a r c A5 A6 ( 0 rA zA )
154 a r c A6 A7 (−rA 0 zA )
155 a r c A7 A4 ( 0 −rA zA )
156 a r c A8 A9 ( rOutA 0 zA )
157 a r c A9 A10 ( 0 rOutA zA )
158 a r c A10 A11 (−rOutA 0 zA )
159 a r c A11 A8 ( 0 −rOutA zA )
160
161
162 // Plane B:
163 a r c B0 B1 ( c a l c ( rRelBc ∗ rRelB ∗rB ) 0 zB )
164 a r c B1 B2 ( 0 c a l c ( rRelBc ∗ rRelB ∗rB ) zB )
165 a r c B2 B3 (− c a l c ( rRelBc ∗ rRelB ∗rB ) 0 zB )
166 a r c B3 B0 ( 0 −c a l c ( rRelBc ∗ rRelB ∗rB ) zB )
167 a r c B4 B5 ( rB 0 zB )
168 a r c B5 B6 ( 0 rB zB )
169 a r c B6 B7 (−rB 0 zB )
170 a r c B7 B4 ( 0 −rB zB )
171 a r c B8 B9 ( rOutB 0 zB )
172 a r c B9 B10 ( 0 rOutB zB )
173 a r c B10 B11 (−rOutB 0 zB )
174 a r c B11 B8 ( 0 −rOutB zB )
175
176 );
177
178 // D e f i n i n g p a t c h e s :
179 patches
180 (
181 patch i n l e t
182 (
66 Appendix A. blockMesh with m4
Table A.2: m4 Script to generate the blockMesh dictionary for the Case study 2.
1 //Run u s i n g :
2 //m4 −P b lo c k M e sh D i c t 3 . m4 > b lo ckM es hDi ct
3
4 //m4 d e f i n i t i o n s :
5 m4_changecom ( // ) m4_changequote ( [ , ] )
6 m4_define ( c a l c , [ m4_esyscmd ( p e r l −e ’ u s e Math : : T r i g ; p r i n t f ( $1 ) ’ ) ] )
7 m4_define (VCOUNT, 0 )
8 m4_define ( v l a b e l , [ [ // ] Ve rt ex $1 = VCOUNT m4_define ( $1 , VCOUNT) m4_define ( [VCOUNT
] , m4_incr (VCOUNT) ) ] )
9
10 // Mathematical c o n s t a n t s :
11 m4_define ( pi , 3 . 1 4 1 5 9 2 6 5 3 6 )
12
13 // Geometry with c e n t r a l s q u a r e , 1 s t c y l i n d e r , 2nd c y l i n d e r , 3 rd c y l i n d e r
14
15 m4_define ( rOutOut , 0 . 0 3 3 5 ) // r a d i u s p i p e
16 m4_define ( rOut , c a l c ( 0 . 7 9 7 0 1 4 9 2 5 ∗ rOutOut ) ) // r a d i u s 2nd c y l i n d e r
17 m4_define ( r I n t , c a l c ( 0 . 7 5 5 2 2 3 8 8 ∗ rOutOut ) ) // r a d i u s 1 s t c y l i n d e r
18
A.2. Case study 2 67
19 // Grid p o i n t s :
20 m4_define ( r N u m b e r O f C e l l s 1 s t , 5 ) // f i r s t O−g r i d
21 m4_define ( rNumberOfCells2nd , 1 ) // s e c o n d O−g r i d
22 m4_define ( rNumberOfCells3rd , 8 ) // t h i r d O−g r i d
23
24 m4_define ( tNumberOfCells , 1 1 ) // c e n t r a l s q u a r e
25 m4_define ( zABnumberOfCells , 1 5 0 0 ) // a x i s d i r e c t i o n
26
27 m4_define ( rGrading1 , 1.5)
28 m4_define ( rGrading2 , 1)
29 m4_define ( rGrading3 , 2.5)
30 m4_define ( zGrading , 1)
31
32 // Plane I n l e t − A:
33 m4_define ( zA , 0 )
34 m4_define ( rA , r I n t )
35 m4_define ( rOutA , rOut )
36 m4_define ( rOutOutA , rOutOut )
37 m4_define ( rRelA , 0.720762613)
38 m4_define ( rRelAc , 0 . 8 5 )
39
40 // Plane O u t l e t − B :
41 m4_define ( zB , 6 )
42 m4_define ( rB , r I n t )
43 m4_define ( rOutB , rOut )
44 m4_define ( rOutOutB , rOutOut )
45 m4_define ( rRelB , 0.720762613)
46 m4_define ( rRelBc , 0 . 8 5 )
47
48 /∗−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−∗\
49 | ========= | |
50 | \\ / F ield | OpenFOAM: The Open S o u r c e CFD Toolbox |
51 | \\ / O peration | Version : 2.2.2 |
52 | \\ / A nd | Web : h t t p : / /www. openfoam . o r g |
53 | \\/ M anipulation | |
54 \∗−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−∗/
55
56 FoamFile
57 {
58 version 2.0;
59 format ascii ;
60
61 root "" ;
62 case "" ;
63 instance "" ;
64 local "" ;
65
66 class dictionary ;
67 object bl oc kMe sh Dic t ;
68 }
69
70 // ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ //
71
72 convertToMeters 1 ;
73
74 vertices
75 (
76
77 // Plane A:
78 ( c a l c ( rRelA ∗rA∗ c o s ( p i / 4 ) ) −c a l c ( rRelA ∗rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A0)
79 ( c a l c ( rRelA ∗rA∗ c o s ( p i / 4 ) ) c a l c ( rRelA ∗rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A1)
80 ( c a l c (−rRelA ∗rA∗ c o s ( p i / 4 ) ) c a l c ( rRelA ∗rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A2)
81 ( c a l c (−rRelA ∗rA∗ c o s ( p i / 4 ) ) −c a l c ( rRelA ∗rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A3)
82 ( c a l c ( rA∗ c o s ( p i / 4 ) ) −c a l c ( rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A4)
83 ( c a l c ( rA∗ c o s ( p i / 4 ) ) c a l c ( rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A5)
84 ( c a l c (−rA∗ c o s ( p i / 4 ) ) c a l c ( rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A6)
85 ( c a l c (−rA∗ c o s ( p i / 4 ) ) −c a l c ( rA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A7)
86 ( c a l c ( rOutA∗ c o s ( p i / 4 ) ) −c a l c ( rOutA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A8)
87 ( c a l c ( rOutA∗ c o s ( p i / 4 ) ) c a l c ( rOutA∗ s i n ( p i / 4 ) ) zA ) v l a b e l (A9)
88 ( c a l c (−rOutA∗ c o s ( p i / 4 ) ) c a l c ( rOutA∗ s i n ( p i / 4 ) ) zA ) v l a b e l ( A10 )
89 ( c a l c (−rOutA∗ c o s ( p i / 4 ) ) −c a l c ( rOutA∗ s i n ( p i / 4 ) ) zA ) v l a b e l ( A11 )
68 Appendix A. blockMesh with m4
232
233 (A9 A13 A12 A8)
234 ( A10 A14 A13 A9)
235 ( A11 A15 A14 A10 )
236 (A8 A12 A15 A11 )
237
238 )
239
240 patch o u t l e t
241 (
242 ( B0 B4 B5 B1 )
243 ( B1 B5 B6 B2 )
244 ( B2 B6 B7 B3 )
245 ( B3 B7 B4 B0 )
246 ( B0 B1 B2 B3 )
247
248 ( B4 B8 B9 B5 )
249 ( B5 B9 B10 B6 )
250 ( B6 B10 B11 B7 )
251 ( B7 B11 B8 B4 )
252
253 ( B8 B12 B13 B9 )
254 ( B9 B13 B14 B10 )
255 ( B10 B14 B15 B11 )
256 ( B11 B15 B12 B8 )
257
258 )
259
260 wall wallPipe
261 (
262 ( A12 A13 B13 B12 )
263 ( A13 A14 B14 B13 )
264 ( A14 A15 B15 B14 )
265 ( A15 A12 B12 B15 )
266
267 )
268 );
269
270 mergePatchPairs
271 (
272 );
273
274 // ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ //
Appendix B
B.1 Listings
B.1.0.1 In UEqns.H:
B.1.0.2 In createFields.H:
B.1.0.3 In multiphaseEulerFoam.H:
71
72 Appendix B. Reynolds-averaged modelling for the mixture
fvSolution
73
74 Appendix C. fvSolution
50 relTol 0;
51 }
52
53 pcorr
54 {
55 $pFinal ;
56 tolerance 1 e −8;
57 relTol 0;
58 }
59
60 U
61 {
62 solver PBiCG ;
63 preconditioner DILU ;
64 t o l e r a n c e 1 e −8;
65 relTol 0;
66 minIter 3;
67 }
68
69 UFinal
70 {
71 $U ;
72 tolerance 1 e −8;
73 relTol 0;
74 minIter 3;
75 }
76
77 k
78 {
79 $U ;
80 }
81
82 kFinal
83 {
84 $UFinal ;
85 }
86
87 omega
88 {
89 $U ;
90 }
91
92 omegaFinal
93 {
94 $UFinal ;
95 }
96 }
97
98 relaxationFactors
99 {
100 fields
101 {
102 p 1;
103 }
104
105 equations
106 {
107 U 1;
108 k 1;
109 omega 1;
110 alpha . a i r 1;
111 a l p h a . water 1;
112 }
113 }
Appendix D
fvSchemes
75
76 Appendix D. fvSchemes
50
51 snGradSchemes
52 {
53 default limited 1;
54 }
55
56 fluxRequired
57 {
58 d e f a u l t no ;
59 p;
60 pcorr ;
61 " alpha . ∗ " ;
62 }
Appendix E
77
Bibliography
79
80 Bibliography
[22] J.U. Brackbill, D.B. Kothe, and C. Zemach. ‘A continuum method for
modeling surface tension’. In: Journal of Computational Physics 100.2 (1992),
pages 335–354. doi: 10.1016/0021-9991(92)90240-Y (cited on pages 18,
24).
[23] N. Brauner and A. Ullmann. ‘Modelling of gas entrainment from Taylor
bubbles. Part A: Slug flow’. In: International Journal of Multiphase Flow
30.3 (2004), pages 239–272 (cited on page 9).
[24] C. E. Brennen. Fundamentals of Multiphase Flows. Cambridge University
Press, New York, NY, USA, 2005 (cited on pages 7, 8, 14).
[25] R. A. S. Brown, G. A. Sullivan, and G. W. Govier. ‘The upward vertical flow
of air-water mixtures: III. Effect of gas phase density on flow pattern, holdup
and pressure drop’. In: The Canadian Journal of Chemical Engineering 38.2
(1960), pages 62–66. doi: 10.1002/cjce.5450380207 (cited on page 10).
[26] J.C. Cano-Lozano et al. ‘The use of volume of fluid technique to analyze
multiphase flows: Specific case of bubble rising in still liquids’. In: Applied
Mathematical Modelling 39.12 (2015), pages 3290–3305 (cited on page 17).
[27] G. Cerne, S. Petelin, and I. Tiselj. ‘Coupling of the Interface Tracking and
the Two-Fluid Models for the Simulation of Incompressible Two-Phase Flow’.
In: Journal of Computational Physics 171.2 (2001), pages 776–804. doi:
10.1006/jcph.2001.6810 (cited on page 21).
[28] P. Chen, J. Sanyal, and M.P. Dudukovic. ‘{CFD} modeling of bubble columns
flows: implementation of population balance’. In: Chemical Engineering
Science 59.22–23 (2004), pages 5201–5207 (cited on page 19).
[29] H. Cheng, J.H. Hills, and B.J. Azzopardi. ‘Effects of initial bubble size on
flow pattern transition in a 28.9 mm diameter column’. In: International
Journal of Multiphase Flow 28.6 (2002), pages 1047–1062 (cited on page 15).
[30] A. Clarke and R.I. Issa. ‘A numerical model of slug flow in vertical tubes’.
In: Computers & Fluids 26.4 (1997), pages 395–415. url: http://www.
sciencedirect.com/science/article/pii/S0045793096000163 (cited
on page 50).
[31] R. Collins et al. ‘The motion of a large gas bubble rising through liquid
flowing in a tube’. In: Journal of Fluid Mechanics 89.3 (Apr. 1, 2006),
pages 497–514 (cited on page 10).
[32] M. Colombo and M. Fairweather. ‘Multiphase turbulence in bubbly flows:
{RANS} simulations’. In: International Journal of Multiphase Flow 77 (2015),
pages 222–243. url: http://www.sciencedirect.com/science/article/
pii/S0301932215002013 (cited on page 27).
[33] G. Costigan and P.B. Whalley. ‘Slug flow regime identification from dynamic
void fraction measurements in vertical air-water flows’. In: International
Journal of Multiphase Flow 23.2 (1997), pages 263–282. url: http://www.
sciencedirect.com/science/article/pii/S030193229600050X (cited
on page 53).
82 Bibliography
[98] T. Taha and Z.F. Cui. ‘{CFD} modelling of slug flow in vertical tubes’. In:
Chemical Engineering Science 61.2 (2006), pages 676–687 (cited on pages 10,
50).
[99] Y. Taitel and D. Barnea. ‘Two-Phase Slug Flow’. In: Advances in Heat
Transfer. Volume 20. Elsevier, 1990, pages 83–132 (cited on page 10).
[100] Y. Taitel, D. Bornea, and A.E. Dukler. ‘Modelling flow pattern transitions
for steady upward gas-liquid flow in vertical tubes.’ In: AICHE. J. 26.3 ,
May 1980 (1980), pages 345–354 (cited on pages 8, 14–16).
[101] J.R. Thome. Encyclopedia of Two-phase Heat Transfer and Flow I: Funda-
mentals and Methods. World Scientific, 2015 (cited on page 10).
[102] P. Tkaczyk. ‘CFD simulation of annular flows through bends’. PhD thesis.
University of Nottingham, 2011 (cited on page 34).
[103] P. D. Tomaselli and E. D. Christensen, editors. Investigation on the Use of
a Multiphase Eulerian CFD solver to simulate breaking waves. ASME 34th
International Conference on Ocean, Offshore and Artic Engineering. 2015
(cited on page 22).
[104] G. Tryggvason et al. ‘A front-tracking method for the computations of mul-
tiphase flow’. In: Journal of Computational Physics 169.2 (2001), pages 708–
759 (cited on page 16).
[105] Ž. Tuković and H. Jasak. ‘A moving mesh finite volume interface tracking
method for surface tension dominated interfacial fluid flow’. In: Computers
& Fluids 55 (2012), pages 70–84 (cited on page 16).
[106] O. Ubbink. ‘Numerical prediction of two fluid systems with sharp interfaces’.
PhD thesis. Imperial College of Science, Technology and Medicine, London,
1997 (cited on page 18).
[107] G.P. Van Der Meulen. ‘Churn-Annular Gas-Liquid Flows in Large Diame-
ter Vertical Pipes’. PhD thesis. University of Nottingham, 2012 (cited on
page 50).
[108] F. Viana et al. ‘Universal correlation for the rise velocity of long gas bubbles in
round pipes’. In: Journal of Fluid Mechanics 494 (Oct. 22, 2003), pages 379–
398. doi: 10.1017/S0022112003006165 (cited on page 11).
[109] K.E. Wardle and H.G. Weller. ‘Hybrid multiphase CFD solver for coupled
dispersed/segregated flows in liquid-liquid extraction’. In: International
Journal of Chemical Engineering (2013). doi: 10.1155/2013/128936 (cited
on pages 1, 22–26, 28).
[110] M.J. Watson and G.F. Hewitt. ‘Pressure effects on the slug to churn transi-
tion’. In: International Journal of Multiphase Flow 25.6–7 (1999), pages 1225–
1241 (cited on page 16).
[111] H.G. Weller. ‘A new approach to VOF-based interface capturing methods for
incompressible and compressible flow’. In: Technical Report TR/HGW/04
(2008) (cited on pages 18, 23).
88 Bibliography
[112] H.G. Weller. ‘Derivation, Modelling and Solution of the Conditionally Aver-
aged Two-Phase Flow Equations’. In: Technical Report TR/HGW/02 (2005)
(cited on pages 19, 23).
[113] E.T. White and R.H. Beardmore. ‘The velocity of rise of single cylindrical air
bubbles through liquids contained in vertical tubes’. In: Chemical Engineering
Science 17.5 (1962), pages 351–361 (cited on pages 10, 11).
[114] D.C. Wilcox. Turbulence Modeling for CFD. DCW Industries, Incorporated,
1994 (cited on page 36).
[115] R. A. Worthen and R. A. W. M. Henkes. ‘CFD for the Multiphase Flow Split-
ting From a Single Flowline Into a Dual Riser’. In: 17th International Con-
ference on Multiphase Production Technology, 10-12 June, Cannes, France.
2015 (cited on pages 2, 33–36, 38, 39, 44).
[116] D. Zhang, N.G. Deen, and J.A.M. Kuipers. ‘Numerical simulation of the
dynamic flow behavior in a bubble column: A study of closures for turbu-
lence and interface forces’. In: Chemical Engineering Science 61.23 (2006),
pages 7593–7608 (cited on page 19).
[117] J. Zhao and T. Shan. ‘Coupled CFD–DEM simulation of fluid–particle
interaction in geomechanics’. In: Powder Technology 239 (2013), pages 248–
258 (cited on page 18).