Professional Documents
Culture Documents
a r t i c l e i n f o a b s t r a c t
Article history: This paper presents an extension of the Ghost Fluid Method to arbitrary polyhedral Finite Volume frame-
Received 25 August 2016 work for free surface flow simulations, primarily intended for marine hydrodynamics applications. Two
Revised 13 April 2017
immiscible, incompressible fluids are implicitly coupled via interface jump conditions, allowing the for-
Accepted 3 May 2017
mulation of a single set of equations for both fluids. The jump conditions at the free surface are discre-
Available online 4 May 2017
tised with one sided extrapolates, using a compact computational stencil in second-order accurate, collo-
Keywords: cated polyhedral Finite Volume Method. The free surface is captured using the Volume-of-Fluid method
Ghost Fluid Method with an additional compressive term. Even though the Volume-of-Fluid method is used, density and dy-
Free surface flow namic pressure exhibit sharp distribution at the interface due to jump conditions. The paper also demon-
Volume-of-Fluid strates how the conditionally averaged equations with segregated solution algorithms cause spurious ve-
Collocated polyhedral Finite Volume locities at the free surface, which are resolved by the present approach since the Ghost Fluid Method re-
method
locates the pressure–density coupling inside the pressure equation. The method is implemented in Open-
OpenFOAM
Marine hydrodynamics
FOAM Computational Continuum Mechanics software, and the verification and validation is performed on
Validation and verification two sets of test cases: free surface flow over a ramp and a steady resistance simulation of a container
Steady resistance with sinkage and trim ship free to sink and trim.
© 2017 Elsevier Ltd. All rights reserved.
http://dx.doi.org/10.1016/j.compfluid.2017.05.003
0045-7930/© 2017 Elsevier Ltd. All rights reserved.
2 V. Vukčević et al. / Computers and Fluids 153 (2017) 1–19
Johansen and Colella [36] developed the embedded boundary The paper is organised as follows. The cause of spurious air ve-
method for Poisson’s equation, while Crockett et al. [37] embedded locities is briefly discussed in Section 1.3. General two-phase flow
the discontinuous jump conditions in Poisson and heat equations, model is presented in Section 2 with approximate jump condi-
achieving second-order accuracy. Recently, Wang et al. [35] ex- tions at the interface that are valid for large-scale flows. Numerical
tended the method for two phase incompressible flows. The publi- model is presented in Section 3 with emphasis on the discretisa-
cations regarding the embedding technique considered structured tion of dynamic pressure terms appearing in the momentum and
Cartesian grids. pressure equation. Derivation of interface-corrected interpolation
The GFM for jump condition treatment across a sharp, mov- schemes for the dynamic pressure and density using the free sur-
ing interface, represents an active area of research in the past two face jump conditions is presented in detail in Section 4. Solution
decades. Fedkiw et al. [8] developed the GFM coupled with the LS algorithm is briefly described in Section 5 and the verification and
interface capturing to efficiently capture discontinuities in defla- validation of the presented method is presented in Section 6.
gration and detonation problems. The method has been extended
by Kang et al. [9] to simulate multiphase incompressible and lam- 1.3. The cause of spurious air velocities
inar flow. Desjardins et al. [10] presented the methodology based
on the GFM with the conservative LS method developed by Ols- Incompressible, Newtonian flow is governed by Navier–Stokes
son and Kreiss [23], and remarked that the GFM provides a good equations. Multiple incompressible phases are coupled with ap-
framework for two phase flows with large density variations. Re- propriate jump conditions at the interface [44], where the kine-
cently, Lalanne et al. [14] provided an extensive overview of the matic boundary condition ensures continuity of velocity field
treatment of discontinuous viscosity in two phase flow utilising across the interface, while tangential and normal stress balance
the GFM with LS interface capturing. The GFM has been also used yield jump conditions for velocity gradient and pressure. Some re-
alongside the VOF method for compressible multiphase flows by searchers [25–29] in offshore and marine CFD use a two-phase
Bo and Grove [12]. The above mentioned publications on the GFM momentum equation that is derived based on conditional averag-
utilise structured Cartesian grids. ing [45] procedure which includes variable two-phase density. The
Huang et al. [11] implemented the GFM with the LS interface two-phase momentum equation has the following form:
capturing in the finite difference framework on curvilinear grids. ∂ (ρ u )
+ ∇ • (ρ uu ) − ∇ • μe f f ∇ u = −∇ pd − g • x∇ρ
The jump conditions are discretised using second-order accurate ∂t (1)
schemes and the LS method is used to calculate one-sided extrap- + ∇ u • ∇μe f f + σ κ∇α ,
olates of pressure. The authors note that the method is suitable for
large length-scale free surface water–air flows encountered in ma- where ρ is the two-phase density field, u is the velocity field, μe is
rine hydrodynamics, although they report that the resulting matrix the two-phase effective dynamic viscosity, pd is the dynamic pres-
from pressure equation is stiff. Also, it is not clear from the pub- sure, g is the gravitational acceleration vector, x is the position vec-
lication how they treat density and pressure discontinuity in the tor, σ is the surface tension coefficient, κ is the mean curvature
momentum equation. of the interface and α is the volume fraction using VOF approach.
Dynamic pressure gradient ∇ pd and density gradient (present near
the interface) ∇ρ should be balanced in a hydrostatic test case.
1.2. Present approach Hence, the coupling between dynamic pressure and density is re-
solved in the momentum equation, which leads to spurious air ve-
In this paper, we present the extension of the GFM imple- locities near the interface.
mented by Huang et al. [11] in arbitrary polyhedral FV framework Consider a hydrostatic case of inviscid fluid where the surface
with collocated arrangement [38]. The methodology has not been tension is neglected. Eq. (1) becomes:
implemented to our present knowledge, although Queutey and Vi- ∂ (ρ u )
= −∇ pd − g • x∇ρ = Su , (2)
sonneau [39] present a similar approach where the free surface ∂t
is assumed to be aligned with the grid faces. Following Huang where the source term Su represents imbalance between dynamic
et al. [11], special interpolation schemes for density and pressure pressure gradient and density gradient, which is present during
are derived and presented, where it is shown that the resulting segregated numerical solution as used by many CFD algorithms
pressure equation matrix remains symmetric. Due to discretisation [6,11,25–29,39]. The source term causes temporal change in the ve-
of pressure jump conditions in the GFM, the smearing of the in- locity field. The erroneous change in the velocity field is higher in
terface only affects viscous and turbulent effects, whereas density the lighter phase because of ρ pre-factor in the time derivative
and pressure are calculated assuming a sharp interface. Therefore, term. Furthermore, dynamic pressure gradient and density gradi-
the VOF method [19] is used in present work. Two-equation turbu- ent are often discretised with usual gradient discretisation schemes
lence modelling [40] is used, while the surface tension effects are that do not take the density discontinuity into account, making
neglected in present work since they are of minor importance for them inefficient near the interface. It is important to note that
marine hydrodynamic flows. The GFM treatment of surface tension this consideration does not include surface tension effects, thus,
shall be the focus of future work. this observation is unrelated to parasitic currents due to numeri-
The method is implemented in foam-extend-3.2, a scientific cal modelling issues related to the surface tension in atomisation
community driven fork of the OpenFOAM CFD software [41]. Sup- calculations using the Continuous Surface Stress (CSS) model [46].
port for parallel computations is achieved with domain decomposi- The model implementing the conditionally averaged equations out-
tion and efficient linear system solvers. Pressure–velocity–VOF cou- lined above is compared to the present model for the hydrostatic
pling is resolved in a segregated manner using a combination of test case in Section 6.
SIMPLE [42] and PISO [43] algorithms. Validation of the model is
performed on two sets of test cases: free surface flow over a ramp 2. Two-phase flow model
and steady resistance simulations of the Kriso (Moeri) Container
Ship (KCS) with dynamic sinkage and trim, where the results are This section presents the mathematical model for incompress-
compared to analytical and experimental data, respectively. Veri- ible, turbulent, multiphase flow of two immiscible fluids with
fication is achieved by performing grid and iterative uncertainty a sharp interface. The appropriate jump conditions at the inter-
assessment. face are first discussed, followed by the incompressible, Newtonian
V. Vukčević et al. / Computers and Fluids 153 (2017) 1–19 3
Eq. (5) states that the velocity field infinitesimally close to the free which represents an additional jump condition that needs to be
surface in the lighter fluid must be the same as the velocity field taken into account, as indicated by a number of authors [10,11,39].
infinitesimally close to the free surface in the heavier fluid.
Furthermore, neglecting the surface tension effects as in 2.3. Interface capturing
[11,39] yields a continuous pressure field:
Capturing of the free surface between two phases is achieved
[ p] = 0 . (6)
with the VOF method [17]. The VOF method is based on the indi-
Eqs. (3), (5) and (6) present jump conditions that need to be cator function α , which represents the volume fraction:
taken into account to numerically model the free surface flow.
Vw
α= , (16)
V
2.2. Incompressible two-phase flow
where Vw is the volume of water inside a control volume V. VOF
As both fluids are assumed incompressible with piece-wise con- method is conservative because α represents a physical, conserved
stant density and the velocity field is continuous, the continuity property, bounded between 0 and 1. Following Rusche [19], trans-
constraint reads: port equation for α reads:
∇ • u = 0, (7) ∂α
+ ∇ • ( uα ) + ∇ • ( ur α ( 1 − α ) ) = 0 , (17)
∂t
Following Desjardins et al. [10], the momentum equation for an
incompressible Newtonian fluid in a gravitational field reads: where the last term serves to prevent excessive smearing of the
free surface based on the compressive velocity field ur , which shall
∂u 1
+ ∇ • (uu ) − ∇ • (νe ∇ u ) = − ∇ p + g , (8) be defined in Section 3.4. The term is active only in the smeared
∂t ρ interface region due to the α (1 − α ) non-linear pre-factor. The VOF
where ν e is the effective kinematic viscosity defined by Eq. (4), p is method with the additional compressive term is similar to the con-
the pressure field and g is the gravitational acceleration. Since in- servative LS method proposed by Olsson and Kreiss [23,24]. The
compressible flow is assumed, ρ denotes piece-wise constant den- methods differ in the definition of the indicator field α and in the
sity field. The right hand side (RHS) of Eq. (8) can be written in a additional diffusion term present in the conservative LS method to
more convenient way: stabilise the advection.
Once calculated, α is used to calculate the effective viscosity us-
1
− ∇ p + g = −β∇ p + g , (9) ing Eq. (4), making it a continuous, albeit steep function. We stress
ρ
4 V. Vukčević et al. / Computers and Fluids 153 (2017) 1–19
N do not have a discontinuity at the interface (see Eqs. (4) and (5)),
sf
while standard FV discretisation of the pressure gradient term will
df be given in detail in Section 3.5, followed by jump condition cor-
rections presented in Section 4.
f On assembly, Eq. (18) is represented by a linear equation for
each cell:
P aP u P + aN u N = b , (19)
f
that ρ , and consequently β (see Eq. (10)) field are not smeared
3.3. Pressure equation
using α : only ρ w , ρ a and the location of the interface given by
α = 0.5 will be used in the discretisation of the momentum equa- The pressure equation is used to create conservative fluxes in
tion, Eq. (13), obeying dynamic pressure jump conditions given by
incompressible fluid flow. Segregated pressure–velocity coupling
Eqs. (14) and (15).
is achieved following Patankar and Spalding [42]. Using notation
The model can be easily extended for more than two phases by
by Jasak [38], the derivation of the pressure equation starts from
including additional VOF equations to capture multiple phases, as
semi-discretised form of the mixture momentum equation, Eq.
demonstrated by Kissling et al. [20].
(19):
The pressure equation is obtained by substituting face centred places, always appearing as a product: the source term in the mo-
velocities given by Eq. (24) into the discretised continuity equation, mentum equation, Eq. (20) and the pressure Laplacian in the pres-
Eq. (22): sure equation, Eq. (25).
1
( H ( uN ) ) f
sf • ( β ) f ( ∇ pd ) f = sf • . (25) 3.5.1. Gauss gradient discretisation
f
aP f
f
( aP ) f Using Gauss’ theorem, second-order accurate discretised pres-
We shall proceed by inspecting individual terms of the pressure sure gradient for a control volume P reads:
equation at the free surface: βP
βP ∇ pdP = s f pdf
• (1/aP )f represents face interpolated inverse diagonal coefficient VP
f
of the momentum equation. The momentum equation is con- (29)
βP
tinuous across the free surface (see Section 2.2), hence its diag- = s f ( fx pdP + (1 − fx ) pdN ) ,
VP
onal does not have a jump. Under such circumstances, ordinary f
interpolation is sufficient.
where the second identity is obtained by linear interpolation
• (β ) f represents face interpolated inverse density. Density field
of cell centred values and fx = f N/P N is the central-differencing
has a discontinuity across the free surface, hence, ordinary lin-
weight [38]. However, index indicates that one-sided extrapo-
ear interpolation is not sufficient.
lation will be used to obtain pdP and pdN for cells near the in-
• (∇ pd ) f represents the surface normal gradient of the dynamic
terface. Second-order accurate, one-sided extrapolation is obtained
pressure. Since dynamic pressure has a jump at the free surface,
from jump conditions Eqs. (14) and (15) in Section 4 following the
ordinary interpolation schemes are not sufficient.
GFM approach given by Huang et al. [11].
• (H(uN ))f is smooth across the free surface because it arises from
the velocity field in the momentum equation, which is itself
3.5.2. Least squares gradient discretisation
continuous.
Following Jasak and Weller [54], least squares pressure gradient
We stress that even though β and ∇ pd are discontinuous at the reads:
interface, their product is continuous according to Eq. (15). The
after solving the pressure equation, Eq. (25), making volumetric Least squares evaluation of the gradient is second-order accurate
face fluxes conservative in the discrete form: f F = 0. Conserva- irrespective of local arrangement of neighbouring cells [54], mak-
tive volumetric fluxes are used to convect α , u and other trans- ing it a favourable choice for unstructured, skewed grids. It is clear
ported variables. that both schemes can be easily adapted to account for pressure
jump conditions.
3.4. VOF equation
3.5.3. Pressure Laplacian discretisation
The discretised form of the VOF transport equation, Eq. Discretisation of the pressure Laplacian on the LHS of Eq.
(17) reads: (25) reads [38]:
1
∂α
1 ( p − pdP )
+ {∇ • (uα )} + {∇ • (ur α (1 − α ) )} = 0 , (27) sf • ( β ) f ( ∇ pd ) f = (β ) f |s f | dN
∂t aP f aP f |d f |
f f
where all terms are treated implicitly. The compressive velocity
1
field ur , oriented towards the interface in the normal direction, is + k• (β∇ pd )of .
aP f
defined as [53]: f
(32)
CF Lre f |d f |
u r = cα n
ˆ , (28)
t The first term on the RHS of Eq. (32) denotes the implicit contri-
where cα is a compression constant used to control the sharpness bution of the surface normal gradient. The second term denotes
of the interface (usually taken as one) and n ˆ is the unit normal its explicit non-orthogonal correction, defined in terms of old,
vector to the interface . Reader is referred to Rusche [19] for de- face interpolated pressure gradient (β∇ pd )of . The pressure gradient
tails regarding the numerical calculation of the unit normal vector term pre-multiplied by inverse density is continuous, Eq. (15) and
from the VOF field. CFLref is the reference compression CFL number safe to interpolate from cell centres to face centres. The non-
usually taken as 0.5, |df | is the distance between cell centres shar- orthogonal correction vector k is obtained using the over-relaxed
ing an internal face, and t is the time step size. Note that the approach [38]. We stress that discretisation of the pressure equa-
sharpness of the interface only affects effective viscosity, Eq. (4), tion given by Eq. (32) uses a compact computational stencil: con-
while the jump in dynamic pressure and density shall be modelled trol volume P interacts only with its immediate neighbours N.
appropriately using the GFM in Section 4.
3.6. Turbulence modelling
3.5. Finite Volume discretisation of pressure terms
Turbulence modelling in CFD is most often achieved with two-
We shall proceed with analysis of dynamic pressure terms. Dy- equation eddy viscosity turbulence models [47], while Direct Nu-
namic pressure pd and inverse density β are present only in two merical Simulation (DNS) for marine hydrodynamics is still out
6 V. Vukčević et al. / Computers and Fluids 153 (2017) 1–19
of reach [55]. Other notable possibilities for turbulence modelling using quaternions [61]. Using quaternions compared to Euler an-
are Large Eddy Simulations (LES) [56] or Detached Eddy Simula- gles is more suitable for a general motion as they prevent gimbal
tions (DES) [57], which should provide more accurate, but increas- lock phenomenon. Time evolution of quaternions involves only 4
ingly time-consuming solutions. The free surface method presented additional differential equation for rigid body rotation, as opposed
here allows general turbulence modelling (two-equation, LES and to 9 equations for time evolution of the orthogonal transformation
DNS) without algorithmic change. This is straightforward because tensor [61]. Hence, a total of 13 differential equation are solved:
the effect of turbulence is modelled through two-phase kinematic
• 6 equations for rigid body translation (3 for velocity and 3 for
eddy viscosity used in the momentum equation. Here, we will use
displacement),
k − ω SST two-equation model [58] which proved to be accurate
• 7 equations for rigid body rotation (3 Euler equations for rota-
for steady resistance computations [59]. Although two-equation
tional velocity and 4 for rotation angles using quaternions).
models are mostly developed for single-phase flows, their trans-
port is mostly influenced by the velocity field through convective Ordinary differential equations are solved with the adaptive
term and local production (source) term. As the velocity field is step size Embedded Runge–Kutta 5th order method with Cash–
continuous across the interface and the velocity gradient is approx- Karp parameters [62]. Compared to the fluid flow solver, the cost
imated as continuous, it is suitable to use single-phase turbulence of additional 13 ordinary differential equations is negligible.
models in standard marine hydrodynamics CFD. Moreover, turbu- Solution of ordinary differential equations yields floating body
lent kinetic energy k and specific dissipation of turbulent kinetic displacement and velocity. Displacement is used to move the com-
energy ω do not directly depend on the pressure and density fields putational grid as a rigid body. As the control volumes are now
in incompressible flow, which have a discontinuity across the inter- moving in space and time, grid motion flux for each face is cal-
face. culated using the Space Conservation Law (SCL) [63] and is sub-
For details of the k − ω SST model, the reader is referred to tracted from the absolute flux calculated in global coordinate sys-
Menter [58], and to Menter et al. [40] for an overview of the in- tem. Reader is referred to Ferziger and Perić [50] for details on
dustrial experience with the model. FV discretisation of the SCL using Euler time integration schemes.
Apart from grid motion, rigid body velocity is calculated and spec-
3.7. Coupling of 6-DOF motion equations with the flow solution ified as a boundary condition for all boundary faces on the floating
body.
In order to calculate sinkage and trim of a ship at steady state, The coupling between rigid body motion and fluid flow is sig-
it is necessary to introduce rigid body motion equations into the nificant as it moves the computational domain and prescribes
solution algorithm. Yang and Lohner [60] used a quasi-static ap- velocity boundary conditions for the floating body. Simonsen
proach that solves for sinkage and trim increment at desired time- et al. [64] report using 5 fluid flow-rigid body motion correctors
step and updates the grid correspondingly. Although their idea is per time-step for heave and pitch simulations of a ship in regular
elegant, we use 6-DOF rigid body motion equations as presented head waves. However, as the steady state solution is sought in this
in [6] in order to be able to simulate more complex motions in the case, only one corrector is used here.
future.
To facilitate the evaluation of rigid body motion, a moving, ship 4. Discretisation of pressure jump conditions using the Ghost
fixed reference frame is introduced as in [6], making the moment Fluid Method
of inertia tensor constant in time and diagonal. The flow field is
solved in the global Cartesian, inertial coordinate system, allowing FV discretisation of dynamic pressure terms near the free sur-
calculation of forces and moments acting on a floating body: face presented in Section 3 requires one-sided extrapolates of β
F = F p + Fv , (33) and pd . Before detailed derivation and analysis, the following as-
sumptions are made, where the level set model presented by
Huang et al. [11] is extended to VOF approach:
M = M p + Mv , (34)
• Cell P is considered wet or dry, if α P > 0.5 or α P < 0.5, respec-
where index p stands for pressure and index v stands for vis-
tively.
cous force and moment. Forces and moments are calculated in the
• If a wet cell is completely surrounded by other wet cells, usual
global coordinate system as:
discretisation practices (see Section 3) are employed, since the
Fp = sf pf , (35) free surface is not located in the immediate vicinity of the cell.
bf Similarly, a dry cell completely surrounded with other dry cells
does not require special attention.
Fv = ρ f νe, f s f • T∗ , (36)
bf
Such treatment is possible because arbitrary polyhedral FV
method uses a compact computational stencil: interface correc-
Mp = rf × sf pf , (37) tions need to be employed for faces where α P > 0.5 and α N <
bf 0.5 or vice versa.1 Faces that require special treatment are called
interface faces because the free surface is located somewhere be-
Mv = rf × ρ f νe, f s f • T∗ , (38) tween P and N cell centres. The following criterion for interface
bf faces holds:
where
bf denotes summation over all body (ship) faces, ρ f is the (αP − 0.5 )(αN − 0.5 ) < 0 . (39)
corresponding density at the boundary face and ν e, f is the effective
Eq. (39) is used to mark all interface faces after solving the VOF
viscosity. T∗ represents the deviatoric part of the stress tensor T,
transport equation, Eq. (27). Interface faces are presented in Fig. 2
which is defined as twice the symmetric part of the ∇ u tensor.
for a uniform 2-D grid for clarity.
rf is the distance vector from current boundary face to centre of
gravity of the body.
After obtaining forces and moments in the global coordinate 1
If the free surface position is tracked using LS or other approaches, equivalent
system, they are transformed into a body fixed coordinate system free surface detection criterion are used.
V. Vukčević et al. / Computers and Fluids 153 (2017) 1–19 7
distance:
αP − 0.5 αP − 0.5
λ= = . (41)
0
αP − 0
.5 − αN + .5 αP − αN
λ is used to calculate the location of the free surface:
x = xP + λd f . (42)
Dynamic pressure jump condition, Eq. (14) is discretised as:
[ pd ] = p−
d
− p+
d
= ( ρ + − ρ − )g • x = H , (43)
where p−
is the dynamic pressure at an infinitesimal distance from
d
the free surface on the air side, and p+d
its counterpart on the wa-
ter side. Recall that ρ + is water density and ρ − is air density. The
RHS of Eq. (43) can be calculated and stored as H for all interface
faces at given time-step. The discretisation given by Eq. (43) is of
the same order of accuracy as the solution of VOF transport equa-
tion because the dimensionless distance λ is calculated using the
α field.
4.2. One-sided pressure extrapolation from the wet cell
Fig. 2. Interface faces for a uniform 2-D grid. The dashed blue line denotes free sur- We shall first consider the case where cell P is wet: α P > 0.5. In
face location: α = 0.5. Wet cells are below the blue line: α > 0.5, while dry cells
are above the blue line: α < 0.5. Interface faces are represented with red lines. In-
order to discretise the dynamic pressure gradient jump condition
terface face is a face where the free surface is located between adjacent cell centres. given by Eq. (15), the procedure by Huang et al. [11] is employed:
Ordinary faces are denoted with black lines. (For interpretation of the references to
[β∇ pd ] = β − (∇ pd )− − β + (∇ pd )+
colour in this figure legend, the reader is referred to the web version of this article.)
pdN − p− p+ − pdP (44)
= β− d
− β+ d
= 0,
1−λ λ
where the first term on RHS denotes a second-order accurate gra-
dient evaluated in the air at the free surface and the second term
denotes a second-order accurate gradient evaluated in the water at
the free surface. Expressing p−
d
from the discretised dynamic pres-
sure jump condition, Eq. (43) gives:
p−
d
= p+
d
+H. (45)
Inserting Eq. (45) into Eq. (44) yields:
λβ − ( 1 − λ )β + λβ −
p+ = pdN + pdP − H, (46)
d
βw βw βw
where:
βw = λβ − + (1 − λ )β + . (47)
Here, βw represents the weighted inverse density which depends
on the distance to the free surface λ; its equation following from
Fig. 3. Compact computational stencil near the free surface. Interface face shared algebraic manipulations. Eq. (46) defines the dynamic pressure at
by cells P and N is marked with a red line. x is the location of the free surface the free surface on the water side p+
d
in terms of dynamic pressure
for this interface face. (For interpretation of the references to colour in this figure values at cell centres P and N and the density jump H. Second-
legend, the reader is referred to the web version of this article.) order accurate extrapolate of the dynamic pressure at dry cell cen-
tre N can be calculated as:
1 − λ
4.1. Computational stencil near the free surface p+ = p+ + p+ − pdP , (48)
dN d λ d
4.3. One-sided pressure extrapolation from the dry cell Eqs. (56) and (57) will be used to prove the symmetry of the
pressure Laplacian in Eq. (32), which is a natural consequence of
We shall now consider the case where cell P is dry: α P < 0.5. the incompressibility condition.
Dynamic pressure jump condition, Eq. (43) is used to express p+
d
:
4.5. Notes on density extrapolation
p+
d
= p−
d
−H. (50)
Face interpolated density in the pressure equation, Eq. (32) is
Discretisation of the dynamic pressure gradient jump condition, Eq. extrapolated as follows:
(15) yields:
• Looking from the wet cell:
pdN − p+ p− − pdP
β+ d
− β− d
= 0. (51) (β ) f = β + , (60)
1−λ λ
Comparing Eq. (51) with Eq. (44), it can be seen that and β+ • Looking from the dry cell:
β − are interchanged as expected. Inserting Eq. (50) into Eq. (β ) f = β − . (61)
(51) yields:
Simple expressions for face interpolated densities are also a
λβ + ( 1 − λ )β − λβ + consequence of the incompressibility condition, where the density
p− = pdN + pdP + H, (52)
d
βd βd βd field is assumed constant in a given fluid.
s f fx pdP + (1 − fx ) p+
dN
= s f β + pdP
β− β −
β− VP
f
VP
f
p+ = pdN + 1 − pdP − H, (56) (63)
dN
βw βw βw 1
β +β −
+ sf (1 − fx )( pdN − pdP − H ) ,
β+ β+ β+ VP βw f
p− = pdP + 1 − pdN + H, (57)
dP
βw βw βw where the first term on the RHS can be identified as first order
• Cell P is dry and cell N is wet: extrapolation. The second term represents the second order cor-
rection arising from discretisation of dynamic pressure jump con-
β+ β+ β+ ditions via GFM. Eq. (63) represents interface correction contribu-
p− = pdN + 1 − pdP + H, (58)
dN
βd βd βd tions for interface faces when the cell is wet. Similar expression
can be obtained for dry cell using p− given by Eq. (58).
β− β− β− dN
p+ = pdP + 1 − pdN − H. (59)
dP
βd βd βd 4.7. Interface contribution in the discretised least squares pressure
gradient
Eqs. (57)and (59) are derived in analogy to Eqs. (56) and (58),
looking from cell N to cell P. Eqs. (56)–(59) need further com-
Least squares gradient discretisation for wet cell P, Eq. (30), di-
ments. In OpenFOAM, cell P is denoted as owner of neighbour-
vided into two sums reads:
ing cell N, depending on the direction of the face normal. Conse-
βP
quently, cell P may be wet or dry, leading to expressions for: βP pdP = l f ( pdN − pdP )
VP
• p+
dN
– used when P is wet (N is dry) for discretisation looking f
from cell P; βP
• p− – used when P is wet (N is dry) for discretisation looking
+ l f p+
dN
− pdP , (64)
dP
VP
f
from cell N;
• p− – used when P is dry (N is wet) for discretisation looking where l f = w2f G−1 • d f . Inserting Eq. (56) into the second sum in
dN
from cell P; Eq. (64) yields:
• p+ – used when P is dry (N is wet) for discretisation looking βP
β +β −
dP l f p+ − pdP = lf ( pdN − pdP − H ) , (65)
from cell N. VP
f
dN
f βw
V. Vukčević et al. / Computers and Fluids 153 (2017) 1–19 9
where βP = β + has been used because cell P is considered wet (+). of the matrix, as postulated in Section 3.3. Additional source term
for cell N is:
4.8. Interface contribution in the discretised pressure Laplacian 1 |s | β + β −
f
SN = − H. (74)
aP f |d f | βw
Detailed inspection of the pressure equation, Eq. (25) in
Section 3.3 led to conclusion that interface corrected interpolation It is important to note that additional source terms arising from
schemes should produce a symmetric matrix. The implicit part of dynamic pressure jump conditions at interface faces are antisym-
the pressure equation, Eq. (32) can be divided into two sums: metric (see Eqs. (70) and (74)). The source terms represent addi-
1 ( p − pdP ) tional flux through the interface face that will be balanced by the
(β ) f |s f | dN dynamic pressure jump after solving the pressure equation. Equiv-
aP f
f
|d f |
alent properties can be easily derived for dry cell P and wet cell N
1 p − pdP pair.
= (β ) f |s f | dN
aP f |d f | By inspecting Eqs. (68) and (69), we stress that the matrix di-
f agonal can be reconstructed using off-diagonal matrix coefficients
1 p+ − pdP as:
+ (β ) f |s f | dN , (66)
aP f
f
|d f | dP = − aPN , (75)
f
where wet owner cell P is considered. The first sum on the RHS of
Eq. (66) denotes fully wet or fully dry faces: interface corrections where
f is the summation over all neighbours of cell P, both for
are not needed and the resulting matrix contributions are symmet- interface faces and non-interface faces.
ric as in single-phase flows. Consider a contribution for a single
wet owner cell P and dry neighbour cell N pair, by inserting Eq.
(56) into Eq. (66): 5. Segregated solution algorithm
1 p+ − pdP 1 |s | β + β − The flow chart of the segregated solution algorithm is pre-
( β ) f |s f | dN
=
f
( pdN − pdP − H ) , sented in Fig. 4. The solution algorithm is a combination of SIM-
aP |d f | aP f |d f | βw
PLE [42] and PISO [43] algorithms. The SIMPLE loop handles α −
f
(67) u − pd coupling with the rigid body motion, while the embedded
PISO loop is used to further resolve u − pd coupling. The SIMPLE
where (β ) f = β+
because cell P is considered wet. Diagonal con-
loop starts by calculating the 6-DOF rigid body motion, updating
tribution in discretisation of pressure Laplacian at an interface face
the mesh and relative fluxes and solving the VOF transport equa-
can be identified as:
1 |s | β + β − tion, Eq. (27). After obtaining a new estimate of the α field, inter-
dP = −
f
. (68) face faces are marked in order to prepare for discretisation of the
aP f |d f | βw dynamic pressure terms in mixture equations, see Section 4. Ef-
fective viscosity of the two phases is updated using Eq. (4) before
Upper matrix coefficient accounting for the influence of neighbour-
the mixture momentum equation. The PISO loop starts with the
ing cell N to cell P is:
solution of momentum equation, Eq. (19), using the dynamic pres-
1 |s | β + β − sure from the previous iteration. The dynamic pressure equation,
f
aPN = . (69)
aP f |d f | βw Eq. (25) is formulated and solved, taking into account pressure–
density coupling through GFM treatment of interface jump con-
Furthermore, additional source term is present on the RHS of the ditions. New dynamic pressure with jumps across the interface is
pressure equation due to discretisation of jump conditions: used to correct the velocity field, making the face flux field conser-
1 |s | β + β − vative, Eq. (26). On convergence of the PISO loop, turbulence model
f
SP = H. (70) equations are solved and the effective viscosity ν e is updated.
aP f |d f | βw
Fig. 6. Geometry of the computational domain for the 2-D ramp test case.
Table 1
Simulation parameters for the 2-D
ramp test case [76].
Item Value
ρ h , kg/m3 1
ρ l , kg/m3 0.001
g, m/s2 [0, −9.81, 0]
h1 , m 1
u, m/s [6, 0, 0]
Fr = |u|/ |g|h1 1.92
Table 2
Boundary conditions for the 2-D ramp test
case.
u f.v. z.g. s. s.
pd z.g. z.g. z.g. f.v.
α f.v. z.g. z.g. z.g.
Fig. 5. Representative signal of trim convergence for the KCS ship in calm sea at 6.3. Inviscid free surface flow over a 2-D ramp
Fr = 0.282 (case 6).
The inviscid flow model is easily obtained by setting kinematic
For the steady resistance test cases, experimental data uncer- viscosities of two fluids to zero. Validation for test case presented
tainty UD is reported in [66] for all Froude number conditions in this section is achieved by comparing simulation results with
in percentages of measured values. Hence, it is possible to assess analytical solution. Verification is achieved by performing grid re-
overall validation uncertainty as: finement studies for both block-structured hexahedral grids and
unstructured prismatic grids.
UV = UD2 + USN
2 , (82) Steady state flow over a 2-D ramp is a standard validation test
where USN is the simulation numerical uncertainty calculated from case for free surface flows used by many authors [65,76], where
iterative uncertainty UI and grid uncertainty UG : the geometry of the computational domain is presented in Fig. 6.
Applying the Bernoulli and the continuity equation for a known
USN = UI2 + UG2 . (83) inflow velocity u and free surface height h1 , it is possible to ob-
Convergence of the drag force coefficient, sinkage and trim in tain the height of the free surface at the outlet boundary h2 [76].
time is observed to be oscillatory for the steady resistance simula- Simulation parameters are outlined in Table 1.
tions. Fig. 5 presents the oscillatory convergence of trim for largest For a general variable φ , following key words are used for cer-
Froude number condition. Fig. 5(a) presents trim signal from sim- tain boundary conditions:
ulation start (t = 0 s) to end (t = 100 s), while Fig. 5(b) presents
• Zero gradient (z.g.): n • ∇φ = 0.
zoomed convergence from t = 40 s to end of simulation. Although
• Fixed value (f.v.): φ = φb .
the convergence is oscillatory, oscillations occur within a narrow
• Slip (s.): t • (∇ u ) = 0 and n • u = 0,
band, indicating low iterative uncertainty. In order to quantify it-
erative uncertainty, we use the expression analogous to Eq. (80): where φ b is the specified value at the boundary and t denotes
unit tangential vector. Boundaries of the computational domain in-
UI 1 |SI,max − SI,min |
UI = = , (84) clude: inlet, outlet, bottom and top (see Fig. 7), with corresponding
f −m 2 f −m boundary conditions given in Table 2. As the flow is inviscid, slip
where SI,max is the maximum value and SI, min is the minimum boundary conditions are used for velocity at the bottom boundary.
value. Both SI, max and SI, min are taken from last few hundred time- At the top, dynamic pressure is set to zero. Uniform velocity field
steps (iterations) since small oscillations often exhibit irregular be- corresponding to the inflow velocity u and undisturbed free sur-
haviour. As an example, Fig. 5(b) presents illustration of τ I, max face with constant height of h1 are used as initial conditions.
12 V. Vukčević et al. / Computers and Fluids 153 (2017) 1–19
Fig. 8. Volume fraction α at the steady state solution for four unstructured pris-
matic grids.
Table 4
Unstructured grid refinement results for 2-D
ramp test case.
Fig. 7. Volume fraction α at the steady state solution for four structured hexahedral Index 1 2 3
grids. No. cells 2 892 13 913 26 112
h2 , m 1.02634 1.09777 1.09250
, % 5.82 −0.73 −0.25
Table 3
Structured grid refinement results for 2-D ramp test case.
Index 1 2 3 4
6.3.2. Refinement study with unstructured prismatic grids
No. cells 180 720 2 880 11 520 Three grids with prisms (extruded triangles in the third,
h2 , m 1.03114 1.07241 1.08650 1.08662
dummy direction) are used for the unstructured grid refinement
, % 5.38 1.59 0.30 0.29
study. The coarse, medium and fine grids consist of 2892, 13,913
and 26,112 cells, respectively, leading to an average grid refinement
ratio rG ≈ 1.78. Fig. 8 presents the steady-state α field and provides
6.3.1. Refinement study with block-structured hexahedral grids visual details of the grids. Table 3 presents the water height at the
The initial, coarsest grid consists of 15 × 12 = 180 cells, shown outlet for the three grids and corresponding relative errors.
in Fig. 7(a). Grading of cells in longitudinal direction towards the Although the relative errors using unstructured grids reported
ramp and in the vertical direction towards the undisturbed free in Table 4 are similar to the relative errors obtained with struc-
surface is used. A constant grid refinement ratio [74] rG = 2 is tured grids, monotone convergence is not achieved for unstruc-
applied three times, producing three additional grids consisting tured grids. The achieved order of spatial accuracy cannot be cal-
of 720, 2 880 and 11,520 cells. Steady state solution for each of culated, thus, we proceed to inspect grid uncertainties. Calculating
four grids is presented in Fig. 7. The computed free surface height grid uncertainties using Eq. (80) for oscillatory convergence, we
at the outlet boundary is compared with the analytical solution obtain U G = 3.3%, which is higher than in the case of structured
h2a = 1.08973 m [76] for all grids. Table 3 presents the solution grids.
for four grids and corresponding relative errors calculated with Eq.
(76). 6.3.3. Spurious air velocities in hydrostatic test case
Taking into account three coarsest grids (1, 2 and 3), achieved As indicated in Section 1.3, the numerical model using con-
order of spatial accuracy is pG = 1.55, while taking into account ditionally averaged momentum equation with segregated solution
three finest grids (2, 3 and 4) results in pG = 6.87. The unrealisti- algorithms yields spurious air velocities. Specifically, the cause of
cally high order of convergence using three finest grids is due to spurious air velocities can be directly linked to the pressure–
the fact that the solutions are not within asymptotic range of con- density coupling being resolved in the momentum equation. We
vergence, as calculated using the Grid Convergence Index follow- stress that this numerical phenomena is unrelated to parasitic cur-
ing guidelines presented in [77]. Taking into account three coars- rents caused by numerical issues in atomisation calculations due to
est grids (1, 2 and 3), grid uncertainty is U G = 0.67%, while for the Continuous Surface Stress (CSS) model [46]. This is demonstrated
three finest grids U G ≈ 10−4 %. by considering the inviscid case without surface tension effects.
V. Vukčević et al. / Computers and Fluids 153 (2017) 1–19 13
Table 5
Main particulars of the KCS model [66].
imposed on the inlet, while wall functions are used at the hull. Im-
plicit relaxation zones [82] are used at the inlet, outlet and far-field
boundaries.
ω are under-relaxed implicitly [42]. α and pd are not under-
relaxed. Under-relaxation parameter of 0.5 for grid motion slightly
The following initial conditions are used: uniform velocity field
improves convergence of sinkage and trim compared to under-
u = uship , α distribution corresponding to still water level obtained
relaxation parameter of 1 which causes a more pronounced oscil-
with cell cutting algorithm, uniform dynamic pressure pd = 0, uni-
latory behaviour.
form turbulent kinetic energy k = k f s and uniform specific dissipa-
tion of turbulent kinetic energy ω = ω f s .
Grid motion, k and ω under-relaxation parameters are set to 6.4.3. Computational results for the KCS model in calm seas
0.5 and the under-relaxation parameter for velocity field is set Computations for 6 conditions given in Table 6 are carried out.
to 0.7. Grid motion is under-relaxed explicitly, while u, k and At steady state, drag force coefficient CT , sinkage σ and trim τ are
V. Vukčević et al. / Computers and Fluids 153 (2017) 1–19 15
Table 6
Steady resistance conditions for the KCS model [66].
Index i 1 2 3 4 5 6
Table 7
Computational grids for the KCS model.
Grid index 1 2 3 4
Number of cells 607 114 954 016 2 643 763 4 661 889
Hexahedral cells 535 096 853 998 2 422 245 4 331 549
Prismatic cells 23 933 33 430 77 582 118 077
Polyhedral cells 44 599 61 565 132 118 194 026
Maximum non-orthogonality, ° 84.3 75.2 86.8 76.1
Average non-orthogonality, ° 8.5 7.5 7.5 6.6
Maximum aspect ratio 807 787 656 779
Table 8
Boundary conditions for the KCS test case.
body translation in the vertical direction and rotation around the Absolute error 1 E1 −0.446 0.110 0.018
Absolute error 2 E2 −0.345 0.104 0.017
transversal axis.
Absolute error 3 E3 −0.175 0.098 0.013
Fig. 11 shows the comparison of CFD results on the finest
Relative error 1 1, % −11.8 −122.1 −106.1
grid (4,60 0,0 0 0 cells) and experimental results over a range of
Relative error 2 2, % −9.1 −115.6 −97.2
Froude numbers. Fig. 11(a) presents the drag force coefficient, Relative error 3 3, % −4.6 −109.0 −74.8
while Fig. 11(b) and (c) shows sinkage and trim, respectively. CT Iterative uncertainty UI −9.36 · 10−3 1.98 · 10−5 4.62 · 10−6
is dimensionless, σ is presented in centimetres for clarity and τ is Order of accuracy pG N/A N/A N/A
presented in degrees. CFD results show good agreement compared Grid uncertainty UG, % 6.8 6.4 16.7
to experimental results. Data uncertainty UD , % 1.0 8.2 9.6
Validation uncertainty UV 0.2730 0.0196 0.0058
Table 10
Validation and verification: Fr = 0.152 case.
Table 11
Validation and verification: Fr = 0.195 case.
Table 12 Table 14
Validation and verification: Fr = 0.227 case. Validation and verification: Fr = 0.282 case.
Table 13
Validation and verification: Fr = 0.260 case (design condition). convergence within narrow band. Normalised grid uncertainty for
sinkage is 0.2%, yielding validation uncertainty of 0.02.
Measured parameters CT · 10 3
σ , cm τ, °
Experimental results S 3.711 −1.394 −0.169 6.4.5. Summary of the results
Grid 1 solution S1 3.981 −1.377 −0.174 A set of steady resistance simulations with sinkage and trim is
Grid 2 solution S2 3.910 −1.352 −0.170
Grid 3 solution S3 3.808 −1.349 −0.169
performed for the KCS ship model at different conditions given by
Grid 4 solution S4 3.726 −1.346 −0.171 a wide range of Froude numbers. Four unstructured grids are used
Absolute error 1 E1 −0.270 −0.017 0.005 in order to assess grid uncertainty. Iterative uncertainties are also
Absolute error 2 E2 −0.199 −0.042 0.001 presented for all conditions, and the simulation results are com-
Absolute error 3 E3 −0.097 −0.045 0.0 0 0 pared to experimental data. Since the uncertainty of experimental
Absolute error 4 E4 −0.015 −0.049 0.002 data is available, validation uncertainty is assessed as well. Rela-
Relative error 1 1, % −7.3 1.3 −3.2 tive errors for the drag force coefficients on fine grids are approxi-
Relative error 2 2, % −5.4 3.0 −0.9
mately 5% for two lowest Fr conditions, while the higher Fr condi-
Relative error 3 3, % −2.6 3.3 −0.3
Relative error 4 4, % −0.4 3.5 −1.0 tions yield relative errors less than 2%. Relative errors for sinkage
and trim are high for the lowest Fr case as the grid resolution is in-
Iterative uncertainty UI −3.15 · 10−1 4.00 · 10−3 −7.65 · 10−3
Order of accuracy pG 0.86 0.13 N/A sufficient to capture minor ship motions. Sinkage and trim relative
Grid uncertainty UG, % 9.4 7.6 0.4 errors for higher Fr conditions are within 10%.
Data uncertainty UD , % 1.0 1.9 2.3 Grid convergence for the drag force coefficient is obtained for
Validation uncertainty UV 0.3528 0.1056 0.0039 4 out of 6 conditions: 3 conditions give order of accuracy higher
than theoretical, while 1 condition gives order of accuracy lower
than theoretical. Normalised grid uncertainty is less than 3%, ex-
1.2%. Iterative uncertainty is low as in the previous lower Froude cept for one condition with 10%. Corresponding validation uncer-
number cases, followed by low validation uncertainty estimate of tainties are less than 0.5. Monotone grid convergence for sink-
0.004. age is achieved for 3 out of 6 conditions: 2 conditions yield or-
Results for the design Froude number case, Fr = 0.260, are pre- der of accuracy higher than theoretical, while 1 condition gives
sented in Table 13. Relative errors for the drag force coefficient, order of accuracy lower than theoretical. One condition exhibits
sinkage and trim on the fine grid are: −0.4%, 3.5% and −1%, re- oscillatory convergence and others do not converge with grid re-
spectively. As in the previous condition, drag force coefficient and finement, even though the errors decrease monotonically. Grid un-
sinkage exhibit monotone convergence with 0.86 and 0.13 order of certainties for sinkage are less than 1.1%, except for one condi-
accuracy. Achieved orders of accuracy are lower than the theoreti- tion with 7.6%. Corresponding validation uncertainties are approx-
cal ones, resulting in higher normalised grid uncertainties: 9.4% for imately 0.03 when the grid convergence is achieved. Trim exhibits
drag force coefficient and 7.6% for sinkage. Combined with low iter- oscillatory grid convergence for 3 out of 6 conditions, while 1 con-
ative uncertainties, grid uncertainties yield validation uncertainties dition yields monotone convergence with achieved order of accu-
of 0.35 (drag force coefficient) and 0.11 (sinkage). Trim exhibits os- racy higher than theoretical. Grid uncertainties are at most 3.8%,
cillatory convergence with low normalised grid uncertainty of 0.4 yielding largest validation uncertainty of 0.006.
and validation uncertainty of 0.004. 12 out of 18 items (drag force coefficient, sinkage and trim for
Results for the largest Froude number case, Fr = 0.282, are pre- 6 conditions) exhibit convergence with grid refinement. All 6 non-
sented in Table 14. Relative errors for drag force coefficient, sink- converging items are clustered at low Fr conditions which are par-
age and trim on the fine grid are: −1.3%, 2.9% and 8%, respectively. ticularly challenging due to low motion magnitudes (0.09 cm for
Drag force coefficient and trim exhibit monotone convergence with sinkage and 0.017° for trim at lowest Froude numbers) and small
high orders of accuracy. Achieved order of accuracy for drag force wave elevations relative to grid resolution. We believe that better
coefficient and trim are approximately 4 and 6, yielding low nor- results could be obtained by using finer grids for low Fr conditions,
malised grid uncertainties of less than 1%. Iterative uncertainties although this is not demonstrated due to limited computational re-
are low as in previous conditions. Resulting validation uncertain- sources. Moreover, it is interesting to note that the oscillatory grid
ties are approximately 0.05 and 0.003. Sinkage exhibits oscillatory convergence is achieved for 5 out of 12 converging items. For the
18 V. Vukčević et al. / Computers and Fluids 153 (2017) 1–19
ramp test case with block-structured grids using constant refine- [7] Carrica PM, Wilson RV, Stern F. An unsteady single-phase level set method for
ment ratio, monotone convergence has been achieved. Observa- viscous free surface flows. Int J Numer Meth Fluids 2007;53:229–56. doi:10.
1002/fld.1279.
tions regarding oscillatory grid convergence and grid divergence on [8] Fedkiw RP, Aslam T, Xu S. The ghost fluid method for deflagration and deto-
unstructured grids are in accordance with Larsson et al. [15] where nation discontinuities. J Comput Phys 1999;154(2):393–427.
better grid refinement results are obtained using structured grids. [9] Kang M, Fedkiw RP, Liu X-D. A boundary condition capturing method for mul-
tiphase incompressible flow. J Sci Comput 20 0 0;15(3):323–60.
This is expected as the well controlled, uniform refinement is im- [10] Desjardins O, Moureau V, Pitsch H. An accurate conservative level
possible with unstructured grids. However, low relative errors indi- set/ghost fluid method for simulating turbulent atomization. J Comput
cate that accurate results may be obtained with unstructured grids Phys 2008;227(18):8395–416.
[11] Huang J, Carrica PM, Stern F. Coupled ghost fluid/two-phase level set method
which are appealing for the industrial use due to easier grid gen-
for curvilinear body-fitted grids. Int J Numer Meth Fluids 2007;44:867–97.
eration. doi:10.1002/fld.1499.
[12] Bo W, Grove JW. A volume of fluid method based ghost fluid method for com-
pressible multi-fluid flows. Comput Fluids 2014;90:113–22.
7. Conclusion and future work [13] Kaneda M, Haruna T, Suga K. Ghost-fluid-based boundary treatment in lattice
Boltzmann method and its extension to advancing boundary. Appl Therm Eng
2014;72(1):126–34.
An implementation of the Ghost Fluid Method for free sur- [14] Lalanne B, Villegas LR, Tanguy S, Risso F. On the computation of viscous terms
face incompressible flows in the arbitrary polyhedral Finite Volume for incompressible two-phase flows with level set/ghost fluid method. J Com-
framework is presented in this paper. The numerical model is pre- put Phys 2015;301:289–307.
[15] Larsson L, Stern F, Visonneau M. Numerical ship hydrodynamics: an as-
sented in detail, with the emphasis on the interface-corrected in- sessment of the Gothenburg 2010 workshop. Springer; 2013. doi:10.1007/
terpolation schemes for discontinuous pressure and density fields. 978- 94- 007- 7189- 5.
Interface-corrected schemes are used only for interface faces, while [16] Tryggvason G, Scardovelli R, Zaleski S. Direct numerical simulations of gas–liq-
uid multiphase flows. Cambridge University Press; 2011.
ordinary interpolation is sufficient for fully wet or dry cells. Such [17] Ubbink O, Issa RI. A method for capturing sharp fluid interfaces on arbitrary
treatment is straightforward because polyhedral FV method imple- meshes. J Comput Phys 1999;153:26–50.
mented in OpenFOAM uses compact computational stencil. Discre- [18] Ubbink O. Numerical prediction of two fluid systems with sharp interfaces,
London: Imperial College of Science, Technology & Medicine; 1997. [Ph.D. the-
tised Gauss gradient and least squares gradient operators for dy-
sis].
namic pressure are derived and presented. Implicit dynamic pres- [19] Rusche H. Computational fluid dynamics of dispersed two-phase flows at high
sure Laplacian operator is inspected in detail, proving the symme- phase fractions, London: Imperial College of Science, Technology & Medicine;
try of pressure equation. Furthermore, it follows that the diagonal 2002. [Ph.D. thesis].
[20] Kissling K, Springer J, Jasak H, Schütz S, Urban K, Piesche M. A coupled pres-
part of the pressure equation can be reconstructed using negative sure based solution algorithm based on the volume–of–fluid approach for two
off-diagonal coefficients as is the case in single-phase flow. or more immiscible fluids. In: Proceedings of Vth European conference on
The verification and validation of the model is performed for computational fluid dynamics, ECCOMAS CFD; 2010.
[21] Sethian JA. Level set methods: evolving interfaces in geometry, fluid mechan-
two sets of test cases: inviscid flow over a 2-D ramp and steady re- ics, computer vision and materials science. Cambridge University Press; 1996.
sistance simulations of a container ship for different Froude num- [22] Sussman M, Smereka P, Osher S. A level set approach for computing solutions
bers. The results compare well with analytical and experimental to incompressible two-phase flow. J Comput Phys 1994;114:146–59.
[23] Olsson E, Kreiss G. A conservative level set method for two phase flow. J Com-
data, while the numerical uncertainties are within reasonably low put Phys 2005;210(1):225–46.
bounds. The detailed verification and validation exercise renders [24] Olsson E, Kreiss G, Zahedi S. A conservative level set method for two phase
the presented method suitable for marine hydrodynamic flows. flow ii. J Comput Phys 2007;225(1):785–807.
[25] Jacobsen NG, Fuhrman DR, Fredsøe J. A wave generation toolbox for the open-
Incorporation of the surface tension effects in the dynamic source CFD library: OpenFoam®. Int J Numer Meth Fluids 2012;70(9):1073–88.
pressure jump and the implementation of the viscous jump con- doi:10.1002/fld.2726.
ditions [14] should enable efficient modelling of the small scale ef- [26] Higuera P, Lara J, Losada IJ. Realistic wave generation and active wave ab-
sorption for Navier–Stokes models: application to OpenFoam®. Coast Eng
fects, which shall be the topic of future work.
2013;71:102–18. doi:10.1016/j.coastaleng.2012.07.002.
[27] Higuera P, Lara J, Losada IJ. Simulating coastal engineering processes with
OpenFoam®. Coast Eng 2013;71:119–34. doi:10.1016/j.coastaleng.2012.06.002.
Acknowledgements [28] Paulsen BT, Bredmose H, Bingham HB. An efficient domain decomposition
strategy for wave loads on surface piercing circular cylinders. Coast Eng
This research was sponsored by Bureau Veritas and Hyundai 2014a;86:57–76. doi:10.1016/j.coastaleng.2014.01.006.
[29] Paulsen BT, Bredmose H, Bingham HB, Jacobsen NG. Forcing of a bottom-
Heavy Industries under the administration of Dr. Šime Malenica mounted circular cylinder by steep regular water waves at finite depth. J Fluid
and Dr. Geon-Hong Kim, whose support is gratefully acknowl- Mech 2014b;755:1–3. doi:10.1017/jfm.2014.386.
edged. The authors express their gratitude towards Johan Rønby [30] Osher S, Fedkiw R. Level set methods and dynamic implicit surfaces. Springer;
2003.
and Holger Marschall for numerous helpful discussions and com- [31] Sussman M, Fatemi E. An efficient, interface-preserving level set redistancing
ments. Our gratitude also goes to Mr. Marko Horvat, a graduate algorithm and its application to interfacial incompressible fluid flow. SIAM J
student who provided the grids for the 2-D ramp test case. Sci Comput 1999;20(4):1165–91.
[32] Gómez P, Hernández J, López J. On the reinitialization procedure in a nar-
row-band locally refined level set method for interfacial flows. Int J Numer
References Methods Eng 2005;63:1478–512.
[33] Sun Y, Beckermann C. Sharp interface tracking using the phase-field equation.
[1] Tuković Z, Jasak H. A moving mesh finite volume interface tracking method for J Comput Phys 2007;220:626–53. doi:10.1016/j.jcp.2007.05.025.
surface tension dominated interfacial fluid flow. Comput Fluids 2012;55:70–84. [34] Sun Y, Beckermann C. A two-phase diffusive-interface model for Hele–Shaw
[2] Dieter-Kissling K, Marschall H, Bothe D. Numerical method for coupled interfa- flows with large property contrasts. Physica D 2008;237:3089–98. doi:10.1016/
cial surfactant transport on dynamic surface meshes of general topology. Com- j.physd.2008.06.010.
put Fluids 2015;109:168–84. doi:10.1016/j.compfluid.2014.12.017. [35] Wang S, Glimm J, Samulyak R, Jiao X, Diao C. An embedded boundary method
[3] Tryggvason G, Bunner B, Esmaeeli A, Juric D, Al-Rawahi N, Tauber W, et al. for two phase incompressible flow. arXiv e-prints1304.5514; 2013. http://
A front-Tracking method for computations of multiphase flow. J Comput Phys adsabs.harvard.edu/abs/2013arXiv1304.5514W
2001;169:708–59. doi:10.1006/jcph.2001.6726. [36] Johansen H, Colella P. A Cartesian grid embedding boundary method for Pois-
[4] Stern F, Yang J, Wang Z, Sadat-Hosseini H, Mousaviraad M, Bhushan S, Xing T, son’s equation on irregular domains. J Comput Phys 1998;147:60–85. doi:10.
et al. Computational ship hydrodynamics: nowadays and way forward. In: Pro- 1006/jcph.1998.5965.
ceedings of the 29th ONR symposium on naval hydrodynamics; 2012. p. 1–73. [37] Crockett RK, Colella P, Graves DT. A Cartesian grid embedded boundary
[5] Luppes R, Düz B, van der Heiden H, van der Plas P, Veldman A. Numerical method for solving the Poisson and heat equations with discontinuous coeffi-
simulations of two-phase flow with COMFLOW: past and recent developments. cients in three dimensions. J Comput Phys 2010;230:613–28. doi:10.1016/j.jcp.
In: Proceedings of the ECCOMAS 2012 conference; 2012. p. 1–16. 2010.12.017.
[6] Carrica PM, Wilson RV, Noack RW, Stern F. Ship motions using single-phase [38] Jasak H. Error analysis and estimation for the finite volume method with ap-
level set with dynamic overset grids. Comput Fluids 2007;36:1415–33. doi:10. plications to fluid flows, London: Imperial College of Science, Technology &
1016/j.compfluid.2007.01.007. Medicine; 1996. [Ph.D. thesis].
V. Vukčević et al. / Computers and Fluids 153 (2017) 1–19 19
[39] Queutey P, Visonneau M. An interface capturing method for free–surface hy- [63] Demiridžić I, Perić M. Space conservation law in finite volume calculations
drodynamic flows. Comput Fluids 2007;36:1481–510. doi:10.1002/j.compfluid. of fluid flow. Int J Numer Methods Fluids 1988;8:1037–50. doi:10.1002/fld.
20 06.11.0 07. 1650080906.
[40] Menter FR, Kuntz M, Langtry R. Ten years of industrial experience with the SST [64] Simonsen CD, Otzen JF, Joncquey S, Stern F. EFD and CFD for KCS heav-
turbulence model. Turbul Heat Mass Transf 2003;4:625–32. ing and pitching in regular head waves. J Mar Sci Technol 2013;18:435–59.
[41] Weller HG, Tabor G, Jasak H, Fureby C. A tensorial approach to computa- doi:10.10 07/s0 0773- 013- 0219- 0.
tional continuum mechanics using object oriented techniques. Comput Phys [65] Muzaferija S, Perić M. Computation of free–surface flows using the finite–vol-
1998;12:620–31. ume method and moving grids. Numer Heat Transf B 1997;32:369–84.
[42] Patankar SV, Spalding DB. A calculation procedure for heat, mass and mo- [66] Tokyo workshop, Tokyo 2015: a workshop on CFD in ship hydrodynamics. http:
mentum transfer in three-dimensional parabolic flows. Int J Heat Mass Transf //www.t2015.nmri.go.jp/; 2015 [online; accessed 20.08.15].
1972;15:1787–806. [67] Larsson L, Stern F, Visonneau M, Hirata N, Hino T, Kim J, editors. Tokyo 2015: a
[43] Issa RI. Solution of the implicitly discretised fluid flow equations by opera- workshop on CFD in ship hydrodynamics; vol. 2. Tokyo, Japan: NMRI (National
tor-splitting. J Comput Phys 1986;62:40–65. Maritime Research Institute); 2015.
[44] Batchelor FR. An introduction to fluid dynamics. Cambridge University Press; [68] Larsson L, Stern F, Visonneau M, Hirata N, Hino T, Kim J, editors. Tokyo 2015: a
1967. workshop on CFD in ship hydrodynamics; vol. 3. Tokyo, Japan: NMRI (National
[45] Dopazo C. On conditional averages for intermittent turbulent flows. J Fluid Maritime Research Institute); 2015.
Mech 1977;81:433–8. [69] Hirsch C. Numerical computation of internal and external flows. Computational
[46] Ashgriz N. Handbook of atomization and sprays: theory and applications. methods for inviscid and viscous flows, vol. 2. John Wiley & Sons; 1984.
Springer Science & Business Media; 2011. [70] van Leer B. Towards the ultimate conservative difference scheme. IV. A new
[47] Wilcox DC. Turbulence modeling for CFD. DCW Industries; 1993. approach to numerical convection. J Comput Phys 1977;23:276–99.
[48] Ito K, Li Z. Interface conditions for Stokes equations with a discontinuous vis- [71] Saad Y. Iterative methods for sparse linear systems. (2nd ed). Philadelphia: So-
cosity and surface sources. Appl Math Lett 2006;19:229–34. doi:10.1016/j.aml. ciety for Industrial and Applied Mathematics, SIAM; 2003.
2005.02.041. [72] Hestens M, Steifel E. Method of conjugate gradients for solving linear systems.
[49] Versteeg HK, Malalasekera W. An introduction to computational fluid dynam- J Res 1952;29:409–36.
ics: the finite volume method. Pearson Education Limited; 1995. [73] van der Vorst H. BI-CGSTAB: a fast and smoothly converging variant of
[50] Ferziger JH, Peric M. Computational methods for fluid dynamics. Springer; BI-CG for the solution of nonsymmetric linear systems. SIAM J Sci Comput
1996. 1992;13:631–44.
[51] Demirdžić I. On the discretization of the diffusion term in finite–volume con- [74] Roache P. Quantification of uncertainty in computational fluid dynamics. Ann
tinuum mechanics. Numer Heat Transf B 2015;68:1–10. doi:10.1080/10407790. Rev Fluid Mech 1997;29:123–60.
2014.985992. [75] Stern F, Wilson RV, Coleman HW, Paterson EG. Comprehensive approach to
[52] Rhie CM, Chow WL. A numerical study of the turbulent flow past an isolated verification and validation of CFD simulations – part 1: methodology and pro-
airfoil with trailing edge separation. AIAA J 1983;21:1525–32. cedures. J Fluids Eng 2001;123(4):793–802. doi:10.1115/1.1412235.
[53] Vukčević V, Östman A, Jasak H. Rapid simulations of pure sway motion using [76] Tuković Z. Finite volume method on domains of varying shape (in Croatian),
FVM in OpenFOAM. In: Proceedings of workshop on verification and validation Zagreb: Faculty of Mechanical Engineering and Naval Architecture; 2005. [Ph.D.
of ship manoeuvring simulation methods (SIMMAN 2014); 2014. thesis].
[54] Jasak H, Weller HG. Application of the finite volume method and unstructured [77] NPARC alliance CFD verification and validation web site. Examining spa-
meshes to linear elasticity. Int J Numer Methods Eng 20 0 0;48:267–87. tial (grid) convergence. http://www.grc.nasa.gov/WWW/wind/valid/tutorial/
[55] Specialist committee on CFD in marine hydrodynamics. Final report and rec- spatconv.html; 2016 [online; accessed 01.04.16].
ommendations to the 27th ITTC. Proceedings of the 27th International Towing [78] Raven CH, van der Ploeg A, Starke B. Computation of free-surface viscous flows
Tank Conference Aug.–Sep. 2014 [available online; accessed 20.08.15]. at model and full scale by a steady iterative approach. In: Proceedings of the
[56] Pereira FS, Vaz G, Eca L. On the numerical requirements of RANS and hy- 25th symposium on naval hydrodynamics; 2004.
brid turbulence models. In: Proceedings of the MARINE 2015 conference; 2015. [79] Van SH, Kim WJ, Yim GT, Kim DH, Lee CJ. Experimental investigation of the
p. 886–902. flow characteristics around practical hull forms. In: Proceedings of the 3rd Os-
[57] Li D, Hallander J, Johansson T, Karlsson R. Cavitation dynamics and underwater aka colloguium on advanced CFD applications to ship flow and hull form de-
radiated noise signature of a ship with a cavitating propeller. In: Proceedings sign; 1998.
of the MARINE 2015 conference; 2015. p. 401–12. [80] Kim WJ, Van SH, Kim D. Measurment of flows around modern commercial ship
[58] Menter FR. Two-equation eddy-viscosity turbulence models for engineering models. Exp Fluids 2001;31:567–78.
applications. AIAA J 1994;32(8):1598–605. [81] Simonsen CD, Otzen JF, Stern F. EFD and CFD for KCS heaving and pitching in
[59] Jasak H, Vukčević V, Christ D. Rapid free surface simulation for steady-state regular head waves. In: Proceedings of the 27th symposium on naval hydrody-
hull resistance with FVM using OpenFOAM. In: Proceedings of the 30th sym- namics; 2008.
posium on naval hydrodynamics; 2014. p. 548–54. [82] Jasak H, Vukčević V, Gatin I. Numerical simulation of wave loads on static off-
[60] Yang C, Löhner R. Calculation of ship sinkage and trim using a finite element shore structures. In: CFD for wind and tidal offshore turbines; Springer, 2015.
method and unstructured grids. Int J CFD 2002;16(3):217–27. p. 95–105. ISBN 978-3-319-16201-0.
[61] Coutsias EA, Romero L. The quaternions with an application to rigid body dy-
namics. Department of Mathematics and Statistics 1999.
[62] Press WH, Teukolsky SA, Vetterling WT, Flannery BP. Numerical recipes in C++:
the art of scientific computing. Cambridge University Press; 2002.