Sunteți pe pagina 1din 10

10th International Conference on Multiphase Flow,

ICMF 2019, Rio de Janeiro, Brazil, May 19 – 24, 2019

Investigation of discretization methods for simulating multiphase flows with moving


grids

Jessica Mariño1, 2, Michael Schäfer1, 2


1
Technische Universität Darmstadt, Institute of Numerical Methods in Mechanical Engineering (FNB)
Dolivostraße 15, 64293 Darmstadt, Germany
E-mail: marino@fnb.tu-darmstadt.de, http:/www.fnb.tu-darmstadt.de
2
Technische Universität Darmstadt, Graduate School of Computational Engineering
Dolivostraße 15, 64293 Darmstadt, Germany

Keywords: time discretization, free surface flows, volume of fluid, rigid body

Abstract

We propose modifications to the standard algorithm to solve multiphase flows problems in the in-house solver FASTEST in
order to improve its efficiency and accuracy and allow the coupling with moving grids. The main focus is laid on comparing the
four high-resolution schemes M-CICSAM, HRIC, M-HRIC, and STACS. These are combined with the three implicit time
discretization schemes Implicit Euler, BDF2, and Crank Nicolson. Furthermore, the effects of density changes in the time term
of the momentum equations are analyzed. Two alternatives to include the variation of density in time are proposed, which
consider the conservative and nonconservative forms to discretize the time term. For this part, the parameters of interest are the
time-step length, the accuracy of the velocity field, and the number of iterations to achieve system convergence. To show the
effects of the implementations, the classic rising bubble is studied. Finally, the best working combination of high-resolution
scheme, time discretization method, and consideration of the density is used to simulate, a rigid body moving inside a multiphase
domain, as a basic fluid-structure interaction test case.

1. Introduction block-structured grids. The structural part is solved with the


program FEAP (Taylor, 2000) based on the finite element
The simulation of the interaction of multiphase flows method. The two solvers are coupled in the multiphysics
with rigid or flexible structures is of great interest in many platform PRECICE (Bungartz et al., 2016).
areas of engineering. For example, in the optimization of the
design of marine structures (López, Pereiras, Castro, & The method to couple FASTEST and FEAP is a parallel
Iglesias, 2014) or in the prediction of the structural damage implicit coupling to avoid the often slow simulations
caused by the sloshing in transport containers (Nicolici & produced by the serial execution of the coupling reported by
Bilegan, 2013). However, the solution of this transient Mehl et al. (2016). In each new iteration, the velocity and
nonlinear multiphysics phenomenon takes long computing boundary position calculated from displacements are
times due to the very small time-steps necessary to keep the prescribed in the fluid solver. Then it calculates the pressure
simulation stable and avoid artificial diffusion which is that is transferred to the structure solver as a surface load on
produced by the high-resolution schemes used for the the fluid-solid interface in the structure domain to solve the
discretization of the convection term in the volume fraction displacement. The convergence occurs when the difference
transport equation (Wacławczyk & Koronowicz, 2008). between the velocities of the fluid and the solid boundary is
less than the acceptable error. In the next paragraphs, we
We work with an implicit partitioned fluid-structure describe the process of the FASTEST program to solve the
interaction (FSI) approach proposed by Schäfer and fluid problem. Although the coupling algorithm, the
Teschauer (2001). This has been tested and optimized in structural analysis, and the method to adapt the fluid domain
order to obtain efficient simulations of fluid-structure are an important part of the topic, we do not go into detail
interaction (FSI) problems with one fluid (Sternel, Schäfer, about this topic. More information can be found in (Schäfer,
Heck, & Yigit, 2008; Yigit, Heck, Schäfer, & Sternel, 2007; Heck, & Yigit, 2006).
Yigit, Sternel, & Schäfer, 2007). In a partitioned approach,
the solvers act as black-boxes with a given input-output The FASTEST code solves the incompressible unsteady
relation at the common boundary. Regularly, the fluid solver or steady Navier-Stokes equations. The velocity field is
receives velocities as an input and returns forces as an output. obtained from the momentum conservation equations and the
The structure solver takes forces as an input and returns pressure field is extracted from the continuity equation, using
displacements. (Mehl et al., 2016). the iterative pressure-corrector algorithm SIMPLE and the
Rhie-Chow interpolation for collocated grids. The discrete
The fluid part is solved with the in-house solver system is solved via the incomplete LU decomposition
FASTEST employing a finite volume method on hexahedral method of Stone (1973).

1
10th International Conference on Multiphase Flow,
ICMF 2019, Rio de Janeiro, Brazil, May 19 – 24, 2019
In the case of a multiphase system of two incompressible, 1. Should the volume fraction equation be updated once
immiscible, and viscous fluids, the Volume of Fluid method for each internal SIMPLE iteration or once for each
(VOF) developed by Hirt and Nichols (1981) is used. The time step as suggested in (Sauer, 2000; Ubbink &
VOF method introduces an additional transport equation for Issa, 1999; Zhang et al., 2014) and by other authors?
the volume fraction α that captures the position of the 2. Does the use of a constant density in the time
interface between the two fluids. The VOF implementation discretization, as in the original multiphase
in FASTEST uses M-CICSAM, a high-resolution (HR) implementation in FASTEST (Staab, 2016;
scheme developed by Tomasz Wacławczyk, Caner Gemici, Wacławczyk, 2007), affect the accuracy of the
& Schäfer, (2007), to advect the volume fraction in space. results?
M-CICSAM is a modification of the well-known CICSAM,
developed by Ubbink and Issa (1999) and keeps two criteria Subsequently, we coupled the modified multiphase
of the original CICSAM. First, the HR scheme is algorithm with the FSI approach of Schäfer et al. (2006).
incorporated in the discretized equation through the Even though small time steps were used, the program
Downwind Weighting Factors (DWF) method of Leonard diverged after some iterations due to the frequent changes of
and Mokhtari (1990), and second, the time discretization is the control volumes size inside of the FSI cycle. The decrease
done with the Crank-Nicolson method. Although the in the size of the volumes induces an increase of the Co
developers of M-CICSAM mention that it supports a high number and a deterioration of the stability of the HR schemes
Courant number (Co), we found that the sharpness of the used in the discrete VOF equation (Meyer, Renzsch, Graf, &
interface and the stability of the algorithm are lost for Co Slawing, 2016). Given these premises, the third research
more than 0.5. So, to maintain the accuracy of the results, interest of this paper is to find an alternative HR scheme
very small time-steps should be used. which is less dependent on Co to replace M-CICSAM.

Gillebaart et al. (2016) stated that an important factor to


achieve a consistent fluid-structure interaction simulation is
the time integration scheme used in the structure and fluid
solvers. The most straightforward approach is using the same
time discretization scheme for both the fluid and the structure
to ease the coupling of forces and displacement. For the fluid
domain, they found that the computation time of the second
order Backward Differentiation (BDF2) is lower than Euler
implicit for the same accuracy. Similarly, Flitz, Sternel, and
Schäfer (2011) demonstrated that the accuracy of the fluid-
structure interaction with single-phase fluids is higher, using
BDF2 than using Implicit Euler, and BDF2 also allows the
use of larger time steps. However, in the multiphase
FASTEST code, the momentum equation is discretized with
Implicit Euler, and the VOF equation with Crank Nicolson,
which leads to low accuracy and the necessity to perform
several internal iterations to achieve the convergence
criterion (Staab, 2016). Consequently, our fourth research
interest is to implement BDF2, and the implicit Euler in order
to discretize both equations with the same time integration
Figure 1: A flow chart of the original multiphase implementation scheme to improve the coupling of the physical properties
in FASTEST. Ff, FFf are the mass and the volumetric flux, (density and viscosity) in the momentum equation and make
respectively. a consistent coupling possible for FSI.

The original multiphase implementation in FASTEST is First, the above four research questions are investigated
shown in Fig. 1. The calculation of the new volume fraction for the multiphase case. The benchmark case “rising bubble”
and the adapted physical properties are made inside the presented in (Hysing et al., 2009) is used to verify the new
pressure-correction algorithm SIMPLE, after solving the implementations in the multiphase code. The parameters of
velocity and the pressure. Furthermore, this algorithm has a interest with respect to the first research question are the
special consideration of the density in the solution of the computational time and the accuracy of the system. To
momentum equation. The density is considered constant in achieve the third objective, three high-resolution schemes are
the discretization of the time term and equal to the last implemented: HRIC (Muzaferija, 1999), M-HRIC (Park,
internal iteration (ρm). The new density is only used in the Kim, Kim, & Van, 2009), and STACS (Darwish &
pressure equation correction to adapt the corrected mass flux. Moukalled, 2006) which are known for being less dependent
on the Courant number. The second and fourth research
In this paper, we modify the algorithm described above interests are analyzed together. Two alternatives to include
and look for ways to improve its efficiency and to make a the variation of the density in time are proposed, which
consistent coupling with the FSI approach of Schäfer et al. consider the conservative and nonconservative form to
(2006). Firstly, we examine the following two research discretize the time term.
questions:

2
10th International Conference on Multiphase Flow,
ICMF 2019, Rio de Janeiro, Brazil, May 19 – 24, 2019
Second, the better combination of the implementations is 𝜌 = ∑ 𝛼𝑖 𝜌𝑖 , 𝜇 = ∑ 𝛼𝑖 𝜇𝑖 , 1 = ∑ 𝛼𝑖 .
tested with a simple FSI test case, the movement of a rigid (4)
𝑖 𝑖 𝑖
body with induced velocity inside the denser flow.
In the case of moving grids, the Space Conservation Law
In the next section, a general overview of the (SCL), e.g. Demirdžić and Perić (1988), must also be
mathematical formulation and discretization of the satisfied. The SCL discretized with the finite volume method
conservation laws that are involved in this multi-physics is given as:
phenomenon are presented. After that, section 3 contains the
specifications of the test cases and the corresponding results.
𝜕
Finally, the conclusions are shown in section 4. ∫ 𝑑𝑉 − ∫ 𝑣𝑔 ∙ 𝑛𝑑𝑆 = 0, (5)
𝜕𝑡 𝑉 𝑆

2. Methods where V is the volume and S is the surface of the control


volume, and n is the normal vector to the surface.
Conservation Laws and Solution Algorithm
The conservation laws are solved using the modified
For the calculation of the two viscous, incompressible, multiphase algorithm shown in Fig. 2.
and immiscible fluids in a moving domain, the one-fluid
formulation of the Navier-Stokes equations defined in the
ALE description is used. The mass and momentum
conservation equations are defined as:

∇ ∙ 𝑢 = 0, (1)
𝜕𝜌𝑢
+ 𝜌(𝑢 − 𝑣𝑔 ) ∙ ∇𝑢 + 𝜇∇2 𝑢 = −∇𝑝 + 𝜌𝑔 + 𝜎𝜅𝑛Γ . (2)
𝜕𝑡

Here, 𝜌 is the density, 𝜇 is the dynamic viscosity, 𝑢 is the


velocity vector, 𝑝 is the pressure field, 𝑣𝑔 is the grid
velocity, and the last term represent the surface tension that
is the product of the constant surface tension coefficient σ,
characteristic for the combination of fluids, and the Gaussian
curvature 𝜅, defined by the divergence of the vector normal
to the interface.

The surface tension is a line force acting in normal


direction to the interface due to the cohesion between
molecules within one phase. This force induces pressure
differences between the two phases and represents the
differences of stress tensors between both fluids. The surface
tension is dominant if the curvature radius of the interface is
small, for example, in a water droplet. Instead, if the
curvature radius tends to infinity, as the water in a lake, this
force is negligible. We use the Parker and Youngs´ algorithm
(Pilliod & Puckett, 2004) to calculate it.

The interface between the two fluids is captured by the


Volume of Fluid (VOF) method that introduces an additional
variable, αi that is the inth volume fraction for fluid i and is
used to distinguish the presence (αi=1) or the absence (αi=0)
of fluid i. Meanwhile, a volume fraction between 0 and 1
indicates the presence of the mixture and the value of 0.5
defines the interface. The conservation law of the volume
fraction is given as:

𝜕𝛼𝑖
+ (𝑢 − 𝑣𝑔 ) ∙ ∇𝛼𝑖 = 0. (3) Figure 2: A flow chart of the modified multiphase implementation
𝜕𝑡
in coupling with moving grids.
The physical properties of the flow density and dynamic
viscosity are calculated from the physical properties of each
constituent fluid (𝜌𝑖 , 𝜇𝑖 ) with the following relations: The mass, momentum, and VOF equations are
discretized with the second order accurate finite-volume
method. The equations are integrated over a control volume

3
10th International Conference on Multiphase Flow,
ICMF 2019, Rio de Janeiro, Brazil, May 19 – 24, 2019
V, and the volume integrals of the divergences are 𝜌𝑛+1 (𝑢𝛿𝑉)𝑛+1
transformed in integrals evaluated over the surface S [(𝑢𝛿𝑉)𝑛+1 − (𝑢𝛿𝑉)𝑛 ] + [𝜌𝑛+1 − 𝜌𝑛 ], (11. C)
∆𝑡 ∆𝑡
applying the Gauss theorem. Hence, the integral form of the
continuity, momentum, and volume of fluid equations result (𝜌𝑢)𝑛+1 𝛿𝑉𝑛+1
[𝛿𝑉𝑛+1 − 𝛿𝑉𝑛 ] + [(𝜌𝑢)𝑛+1 − (𝜌𝑢)𝑛 ], (11. D)
in: ∆𝑡 ∆𝑡

and for the second order backward differentiation (BDF2):


∫ 𝑢 ∙ 𝑛𝑑𝑆 = 0, (6)
𝑆
𝜌 3 1
𝜕 [ (𝑢𝛿𝑉)𝑛+1 − 2(𝑢𝛿𝑉)𝑛 + (𝑢𝛿𝑉)𝑛−1 ] , (12. A)
∫ 𝜌𝑢 𝑑𝑉 + ∫ 𝜌(𝑢 − 𝑣𝑔 )𝑢 ∙ 𝑛𝑑𝑆 + 𝜇 ∫ ∇𝑢 ∙ 𝑛𝑑𝑠 = ∆𝑡 2 2
𝜕𝑡 𝑉 𝑆 𝑆
1 3 1
− ∫ ∇𝑝 𝑑𝑉 + ∫ (𝜌𝑔 + 𝜎𝜅𝑛Γ ) 𝑑𝑉, (7) [ (𝜌𝑢𝛿𝑉)𝑛+1 − 2(𝜌𝑢𝛿𝑉)𝑛 + (𝜌𝑢𝛿𝑉)𝑛−1 ] , (12. B)
∆𝑡 2 2
𝑉 𝑉

𝜕 𝜌𝑛+1 3 1
∫ 𝛼 𝑑𝑉 + ∫ 𝛼𝑖 (𝑢 − 𝑣𝑔 ) ∙ 𝑛𝑑𝑆 = 0. (8) [ (𝑢𝛿𝑉)𝑛+1 − 2(𝑢𝛿𝑉)𝑛 + (𝑢𝛿𝑉)𝑛−1 ] +
𝜕𝑡 𝑉 𝑖 ∆𝑡 2 2
𝑆
(𝑢𝛿𝑉)𝑛+1 3 𝑛+1 1
[ 𝜌 − 2𝜌𝑛 + 𝜌𝑛−1 ] , (12. C)
Since the main part of our investigation is focused on the ∆𝑡 2 2
time discretization of the momentum and volume of fluid
transport equations and the effects of the density changes in (𝜌𝑢)𝑛+1 3 𝑛+1 1
[ 𝛿𝑉 − 2𝛿𝑉 𝑛 + 𝛿𝑉 𝑛−1 ] +
the time term, the spatial discretization is not detailed here. ∆𝑡 2 2
The reader can find the complete discretization in 𝛿𝑉 𝑛+1 3 1
(Wacławczyk, 2007). [ (𝜌𝑢)𝑛+1 − 2(𝜌𝑢)𝑛 + (𝜌𝑢)𝑛−1 ] . (12. D)
∆𝑡 2 2
The time Discretization For the VOF equation, the options A and B are the same,
using the conservative form, and the options C and D are also
A simplified version of the momentum and volume of the same, using the nonconservative form.
fluid transport equation can be written as:
For Implicit Euler and Crank Nicolson (CR-NI):
𝜕(𝜌𝑢𝛿𝑉)
+ 𝐿(𝑢) = 0 , (9) 1
𝜕𝑡 [𝛼𝛿𝑉)𝑛+1 − (𝛼𝛿𝑉)𝑛 ] , (13. A)
𝜕(𝛼𝛿𝑉) ∆𝑡
+ 𝐺(𝛼) = 0 , (10)
𝜕𝑡 𝛼 𝑛+1 𝛿𝑉 𝑛+1 𝑛+1
[𝛿𝑉 𝑛+1 − 𝛿𝑉 𝑛 ] + [𝛼 − 𝛼𝑛] , (13. C)
∆𝑡 ∆𝑡
where the functions L and G contains the terms of the space
discretization. For the time discretization, the implicit Euler,
the second order backward differentiation BDF2, and the and for BDF2
Crank Nicolson method are tested. For the momentum 1 3 1
equation the following options are proposed: [ (𝛼𝛿𝑉)𝑛+1 − 2(𝛼𝛿𝑉)𝑛 + (𝛼𝛿𝑉)𝑛−1 ] , (14. A)
∆𝑡 2 2
A. conservative discretization of 𝑢𝛿𝑉 and constant 𝛼 𝑛+1 3 𝑛+1 1
density, proposed in (Wacławczyk, 2007) [ 𝛿𝑉 − 2𝛿𝑉 𝑛 + 𝛿𝑉 𝑛−1 ] +
∆𝑡 2 2
B. conservative discretization: 𝜌𝑢𝛿𝑉 is treated as one 𝛿𝑉 𝑛+1 3 𝑛+1 1
term. [ 𝛼 − 2𝛼 𝑛 + 𝛼 𝑛−1 ] . (14. C)
C. nonconservative discretization: 𝜌 and 𝑢𝛿𝑉 are treated ∆𝑡 2 2
as two distinct terms (only for multiphase problems) For the case of fixed grids, the volume 𝛿𝑉 is a constant in
D. nonconservative discretization: 𝜌𝑢 and 𝛿𝑉 are treated the discretization.
as two distinct terms.
High-Resolution Schemes
The next section presents the discretization time term of
the momentum equation applying the four concepts. The volume of fluid transport equation is strongly
dependent on the Courant number according to (Hoekstra,
For Implicit Euler and Crank Nicolson: Vaz, Abeil, & Bunnik, 2007). For example, the new volume
𝜌 fraction in a fixed domain using the implicit Euler scheme is
[(𝑢𝛿𝑉)𝑛+1 − (𝑢𝛿𝑉)𝑛 ] , (11. A) obtained as:
∆𝑡
1
[(𝜌𝑢𝛿𝑉)𝑛+1 − (𝜌𝑢𝛿𝑉)𝑛 ] , (11. B) (𝑢𝑆)𝑓 ∆𝑡
∆𝑡 𝛼 𝑛+1 = 𝛼 𝑛 − ∑ 𝛼𝑓𝑛+1 . (15)
𝛿𝑉
𝑓

4
10th International Conference on Multiphase Flow,
ICMF 2019, Rio de Janeiro, Brazil, May 19 – 24, 2019
The last part of the Eq. (15) represents the local Courant ∑i∈Ω2 𝑦𝑖 𝛿𝑉𝑖 ∑i∈Ω2 𝑣𝑖 𝛿𝑉𝑖
number on the face. 𝑦𝑐 = , 𝑣𝑐 = . (17)
∑i∈Ω2 𝛿𝑉𝑖 ∑i∈Ω2 𝛿𝑉𝑖

In the case of moving grids, one has These quantities not only measure how the interface
tracking algorithm behaves but also indicate the quality of
𝛿𝑉 𝑛 𝑛 (𝑢 − 𝑣𝑔 ) 𝑆𝑓 ∆𝑡 the overall solution.
𝑓
𝛼 𝑛+1 = 𝑛+1
𝛼 − ∑ 𝛼𝑓𝑛+1 , (16)
𝛿𝑉 𝛿𝑉 𝑛+1
𝑓

the Courant number also depends on the movement of the


grid.

Therefore, choosing a consistent high-resolution scheme


that can manage this frequent Co changes is an essential part
of this investigation. We found that M-CICSAM keeps the
sharpness of the interface until Co=0.5 and is stable using
very small time-steps. However, in FSI simulations one often
has to work with Co larger than 1 and the coupling itself
already consumes a lot of time. Consequently, we need a
High-Resolution scheme that allows a Co larger than 1
without losing stability. We implemented three schemes:
High-Resolution Interface Capturing (HRIC) introduced in
(Muzaferija, 1999), Modified HRIC developed by (Park et
al., 2009), and STACS described in (Darwish & Moukalled, Figure 3: Initial configuration and boundary conditions for the
2006) which are often used by the multiphase community rising bubble problem.
due to their lower dependence on Co.
Table 1. Physical properties of the fluids and dimensionless
The High-Resolution schemes lose stability if they are numbers for the rising bubble test case.
directly implemented into the solver. To overcome the ρ1 μ1 ρ2 μ2 g σ Re E0
problem, some methods have been developed, for example, 1000 10 1 0.1 0.98 1.96 35 125
the Downwind Weighting Factors (DWF) method of
Leonard and Mokhtari (1990), or the Normalized Weighting For all cases analyzed, the computations were conducted
Factor (NWF) method of Darwish and Moukalled (1996). until the time t = 3 s with a constant time-step Δt = 0.0025 s.
The multiphase implementation in FASTEST uses the DWF The solver worked in parallel using 16 processors. The
method. computational domain was a structured grid of 160x320
hexahedral control volumes. To reproduce the 2D solution,
3. Numerical test cases in the z-direction, only one control volume is considered with
periodic boundary conditions. The required convergence
First, a multiphase example is presented that demonstrates criterion is 10-4 for the momentum equation and the limit of
the capabilities of the proposed modified algorithm, as well iterations per time step is 250.
as, to investigate the compatibility between the implemented
High-Resolutions schemes with the time discretization 36 simulations of the rising bubble test case are made to
methods. Second, we test the stability of the studied HR compare the efficiency and limitations of the High-resolution
schemes in FSI coupling. A rigid body with induced velocity schemes: M-CICSAM, HRIC, M-HRIC, and STACS in
moves inside the denser flow. combination with the time integration schemes: Implicit
Euler, BDF2, and Crank Nicolson (CR-NI). For the
Rising bubble momentum and the volume of fluid transport equations the
same time discretization scheme is used. This part also
This is an example of bubble dynamics with surface includes the analysis of the discretization form A, B and C
tension effects and strongly discontinuous solutions (Hysing described in the previous section. Option A was calculated in
et al., 2009) and is commonly used as a benchmark to test every SIMPLE iteration, and option B and C in every time
multiphase codes. A bubble of diameter 0.5 m centered (0.5 step. The results of these cases are summarized in Figs. 4 - 6,
m, 0.5 m) in a tank of width 1 m and height 2 m. No-slip and Table 2.
boundary conditions are applied to the top and bottom
boundaries, whereas a symmetry condition is imposed on the Figure 4 shows the comparison of the different methods
vertical walls. The geometric configuration is presented in for the center of mass and the rise velocity for the rising
Fig. 3 and the physical parameters of the fluids are listed in bubble problem. For BDF2 and Implicit Euler, all the high-
Table 1. The selected physical quantities to compare our resolution schemes with option A perfectly coincide with the
results are the position of the center of mass and its mean
rising velocity defined as:

5
10th International Conference on Multiphase Flow,
ICMF 2019, Rio de Janeiro, Brazil, May 19 – 24, 2019
reference. It is important to mention that the results
presented in (Hysing et al., 2009) were also obtained,
considering a constant density in the time term and an update
of VOF for each internal iteration. Figure 6 shows the
evolution of the interface in time which is similar to the
references results.

Moreover, option B and C are very similar to each other


but are different from the reference results. The difference
indicates that the frequency of VOF updates and the
consideration of the density in the time term affects directly
the complete solution of the system. Nevertheless, the
discretization form of the time term, conservative or
nonconservative, does almost not present significant
differences. The center of mass at 3 s for the options B and
C was around 4 % lower than for option A. The final mean
rise velocity is between 0.21m/s to 0.25m/s for these cases.

Notable differences are observed in the maximum mean


velocity, for which evolution with time seems to depend
significantly on the time discretization scheme. For BDF2
and Implicit Euler with option A, the maximum velocity is
around 0.25 m/s at 0.79 s and after this point, the velocity
remains almost constant. Whereas with option B and C the
maximum velocity is 0.35 m/s at 1.0 s and then the velocity
gradually decreases until 0.21 m/s. On the other hand, the
results with Crank-Nicolson are significantly different from
the other schemes. For option A, the center of mass is 6%
above the reference and the rise velocity follows the
tendency of the reference but is slightly higher. While option
B and C present unrealistic peaks, which destabilize the VOF
equation.

Figure 5: Cumulative number of iterations and absolute error of the


moment equation by time-step.

Since the options B and C are not enough accurate, we


performed an extra analysis to determine the accuracy and
precision of the algorithm, taking into account that in option
A the VOF equation is updated once for each internal
SIMPLE iteration and for the options B and C, the update is
Figure 4: Center of mass and rise velocity of the rising bubble done for each time step. For this part, we use the
during 3s. The reference refers to the results of Hysing et al. implemented BDF2 method in combination with the M-
(2009). CICSAM scheme and compare the total number of iterations,

6
10th International Conference on Multiphase Flow,
ICMF 2019, Rio de Janeiro, Brazil, May 19 – 24, 2019
Table 2. Summary of the maximum Courant number and the total number of iterations for each High-Resolution scheme in
combination with the different time discretization options.
HR scheme M-CICSAM HRIC M-HRIC STACS
Option A B C A B C A B C A B C
BDF2
max. Co 0.35 0.44 2.25 0.34 0.45 0.45 0.34 0.44 0.45 0.33 0.44 0.45
time(maxCo) 2.05 1.67 0.85 2.11 1.66 1.66 2.10 1.66 1.64 2.04 1.65 1.65
Iterations 122959 73657 68537 112321 73191 68033 118463 73217 68144 111163 67531 67652
Crank – Nicolson
max. Co 0.47 6.03 2.25 0.45 1.65 2.09 0.45 2.66 2.74 0.43 4.65 2.53
time (maxCo) 1.72 0.90 0.85 1.71 0.99 0.97 1.69 0.98 0.88 1.68 0.97 0.79
Iterations 223832 67390 200478 107315 106801 203984 299998
Implicit Euler
max. Co 0.35 0.44 0.45 0.34 0.45 0.47 0.34 0.44 0.45 0.33 0.45 0.46
time(maxCo) 2.04 1.67 1.66 2.08 1.67 1.66 2.10 1.66 1.64 2.06 1.66 1.65
Iterations 178761 92129 92266 173534 126594 91670 112746 91791 91747 172596 91487 91486
Note: The gray color means that simulations diverged

a) t = 6s b) t=1.8s c) t=2.4s t=3.0 s

Figure 6: Time evolution of the interface and velocity in the y-direction for the MHRIC scheme combined with BDF2.

the evolution of the error, and the maximum local Courant B has no problems with precision it is evident that for Co
number for options A and B, see Fig. 5. The total number of larger than 0.2, the results become inaccurate due to the
iterations for option A (one VOF update for each iteration) is calculation of the DWF factors in the volume of fluid
around 40% more than with option B (one VOF update for equation with the old volume fractions. Ubbink and Issa
each time-step). This means that the actual computational (1999) recommended working with values less than 0.3 to
time is lower with the same proportion for option A. On the maintain accuracy in the case of CICSAM. We determine
other hand, the two options meet the convergence criterion that this condition applies for any HR scheme that is
most of the time. implemented with the Downwind Weighting Factors (DWF)
method.
We notice that the two options need the same number of
iterations to converge if the local Courant number is less than On the other hand, the four high-resolution schemes are
0.2. For Co larger than 0.3, the solver becomes noticeably stable with BDF2 and Implicit Euler time discretization.
imprecise for option A and needs to perform more iterations Instead, with Crank Nicolson, only HRIC is stable for the 3
to achieve the required precision. The reason could be the options. For all the cases, BDF2 and Implicit Euler are faster
continuous oscillations introduced in the solution by the than Crank-Nicolson, almost 40% and 16%, respectively.
diffusive schemes such as M-CICSAM. The oscillation For BDF2, the STACS scheme with option B needs the least
varies depending on the velocity profile, Co number and time iterations to achieve the solution of the problem. For Crank-
according to Arıcı and Sinasi Onur (2011). Although option Nicolson, only considering the stable option A, M-HRIC is

7
10th International Conference on Multiphase Flow,
ICMF 2019, Rio de Janeiro, Brazil, May 19 – 24, 2019
the fastest scheme, while for implicit Euler it is the M-HRIC The objective of this test case is to observe the behavior
scheme with option C. In general, for BDF2 and Implicit of each High-Resolution scheme in coupling with moving
Euler, the option C is the less computing time. Table 2 grids. The four HR schemes are tested using the BDF2 time
summarizes the total number of iterations performed by each discretization and with one VOF update for every FSI
combination as well as the maximum local Courant number. iteration. The time-step is 2.5x10-4 s to avoid inaccuracies
In the case of BDF and Implicit Euler the maximum Courant and keep the Co around 0.37. In the previous case, we
number is around 0.35 at 2.11 s for option A, and for options demonstrated that the four High-Resolution schemes are
B and C, it is around 0.45 at 1.66 s. In the case of Crank consistent for simulating multiphase flows with small and
Nicolson: The maximum Courant number for option A is medium Courant numbers. However, in combination with
0.49 at 1.80 s. The results show that Crank Nicolson is only moving grids, M-CICSAM, HRIC, and STACS show less
stable when the difference of the density is not considered. stability and diverge after 0.48m of movement. M-HRIC is
For options B and C, M-CICSAM, STACS, and M-HRIC more stable and allows 0.76m of movement. Figure 7 shows
diverged. For Crank Nicolson, the instabilities of the velocity the last position of the solid before divergence.
induce high Courant numbers which are causing a break of
the simulation.

Movement of Rigid body

A rigid body moves horizontally by 1 meter with an induced


velocity that produces a displacement ∆𝑥 = 𝑠𝑖𝑛(𝜋𝑡) in x-
direction inside a multiphase flow domain with water and air.
Figure 7 illustrates the initial configuration. The size of the
tank is 7 m x 7 m x 1.2 m, and the water depth is 5m. The
rigid body is a cylinder with a diameter of 0.02 m x 1.2 m
length and is initially placed in the center of the domain. The a) M-CICSAM b) HRIC
density and viscosity of the water (fluid 1) are 998 kg/m3 and
10-3 kg/(ms). The density and viscosity of the air are 1 kg/m3
and 1.82 x 10-5 kg/(ms), respectively. The gravity forces are
not considered.

c) M-HRIC d) STACS
Figure 8: Ultimate position achieved by the different high-
resolution schemes before diverging.

Figure 7: Initial configuration and boundary conditions for the


moving grid problem. The yellow lines are the block edges.

The computational domain is discretized into a Cartesian


grid of 164 x 164 control volumes divided into 8 blocks. The
edges of each block are shown in Fig. 7. The grid size of the
blocks around the cylinder is 0.001 m x 0.05 m and for the
other blocks 0.05 m x 0.05 m. The surfaces of the solid and
the water tank are specified as a no-slip boundary condition,
and the top of the tank is an open boundary. The coupling
with FEAP and PRECICE is implicit-parallel and the
maximum number of outer iterations is 2 (k indices in the
flow chart of Fig. 2). In this case, FEAP sends a specific Figure 9: Velocity near the solid in the last position supported by
displacement of the structure without considering the flow M-HRIC.
surfaces forces. FASTEST receives the displacement and
employing an elliptic approach to update the mesh of the
fluid domain.

8
10th International Conference on Multiphase Flow,
ICMF 2019, Rio de Janeiro, Brazil, May 19 – 24, 2019
The difference between the conservative and
nonconservative form to discretize the time term was
negligible. For some cases, the nonconservative method was
a little faster.

The four high-resolution schemes presented good results


to simulate multiphase flows, but they were inconsistent
when used with moving grids. Additional work is needed to
find better options for HR-schemes and methods to
implement them.

Acknowledgments

This work is supported by the “Excellence Initiative” of


the German Federal and State Governments within the
Graduate School of Computational Engineering at
Technische Universität Darmstadt.

References
Figure 10: Pressure in the last position supported by M-HRIC. The
red area shows the pressure concentration at the fluid interface. Arici, M., & Şinasi Onur, H. Performance comparison of
high-resolution schemes. In Proceedings of the 6th
The four schemes create unrealistically high velocities and International Conference on Computational Fluid Dynamics,
a concentration of pressure at the interface when the volumes ICCFD 2010 (pp. 527–533) (2011)
become smaller. This problem with the high-resolution
schemes was also reported by (Meyer et al., 2016). Bungartz, H., Lindner, F., Gatzhammer, B., Mehl, M.,
Furthermore, we suppose another important factor for the Scheufele, K., Shukaev, A., & Uekermann, B. preCICE A
collapse of the simulation, independent of the scheme, is fully parallel library for multi-physics surface coupling.
using the Downwind Weighting Factors (DWF) to Computers and Fluids. Elsevier, (2016)
implement the HR-schemes. (Moukalled, Mangani, and
Darwish (2016) also described this as a very unstable Darwish, M., & Moukalled, F. The normalized weighting
method. factor method: a novel technique for accelerating the
convergence of high-resolution convective schemes.
4. Conclusions Numerical Heat Transfer, 30(2), 217–237, (1996)

We successfully modified the standard algorithm to solve Darwish, M., & Moukalled, F. Convective schemes for
multiphase flow problems in order to use moving grids in the capturing interfaces of free-surface flows on unstructured
in-house solver FASTEST. The main part of our grids. Numerical Heat Transfer, Part B: Fundamentals, 49(1),
investigation was focused on the comparison of four high- 19–42, (2006)
resolution schemes in combination with different time
discretization methods and the effects of the density changes. Demirdžić, I., & Perić, M. Space conservation law in finite
With respect to the first research question, we conclude that volume calculations of fluid flow. International Journal for
the most efficient option is to update the VOF once for each Numerical Methods in Fluids, 8(9), 1037–1050, (1988)
time step which decreases the computational time by around
40%. Also, smaller time-steps should be used in order to Flitz, F., Sternel, D., & Schäfer, M. The influence of different
maintain accuracy. time integration schemes in ALE description applied to
moving meshes. In Proceedings of IV International
The use of a constant density in the time discretization is Conference on Computational Methods for Coupled
appropriate only if the volume fraction update is performed Problems in Science and Engineering, (2011)
for every internal iteration. In contrast, if the volume fraction
is updated in every time-step, the variation of the density in Gillebaart, T., Blom, D. S., van Zuijlen, A. H., & Bijl, H.
time should be considered to obtain accurate results. Time consistent fluid structure interaction on collocated grids
for incompressible flow. Computer Methods in Applied
BDF2 and Implicit Euler were faster than the Crank- Mechanics and Engineering, 298, 159–182, (2016)
Nicolson time discretization method, by almost 40% and
16% respectively. BDF2 and Implicit Euler are consistent Hirt, C. W., & Nichols, B. D. Volume of fluid (VOF) method
when used in multiphase flows, whereas Crank Nicolson was for the dynamics of free boundaries. Journal of
inconsistent for the options B and C, which consider the Computational Physics, 39(1), 201–225, (1981)
changes of density and update the VOF equation only once
for every time-step. Hoekstra, M., Vaz, G., Abeil, B., & Bunnik, T. Free-surface
flow modeling with interface capturing techniques.

9
10th International Conference on Multiphase Flow,
ICMF 2019, Rio de Janeiro, Brazil, May 19 – 24, 2019
MARINE2007, 2, 1–4, (2007) Staab, D. H. Numerical treatment of multiphase flows
coupled with acoustics for surface tension dominated flows.
Hysing, S.-R., Turek, S., Kuzmin, D., Parolini, N., Burman, Technischen Universität Darmstadt, (2016)
E., Ganesan, S., & Tobiska, L. Quantitative benchmark
computations of two-dimensional bubble dynamics. Sternel, D. C., Schäfer, M., Heck, M., & Yigit, S. Efficiency
International Journal for Numerical Methods in Fluids, and accuracy of fluid-structure interaction simulations using
60(11), 1259–1288, (2009) an implicit partitioned approach. Computational Mechanics,
(2008)
Leonard, B., & Mokhtari, S. Beyond first-order upwinding:
The ultra-sharp alternative for non-oscillatory steady-state Stone, H. S. An efficient parallel algorithm for the solution
simulation of convection. International Journal for of a tridiagonal linear system of equations. Journal of the
Numerical Methods in Engineering, 30(4), 729–766, (1990) ACM (JACM), 20(1), 27–38, (1973)

López, I., Pereiras, B., Castro, F., & Iglesias, G. Optimisation Taylor, R. L. FEAP-A finite element analysis program,
of turbine-induced damping for an OWC wave energy (2000)
converter using a RANS-VOF numerical model. Applied
Energy, 127, 105–114, (2014) Ubbink, O., & Issa, R. I. A method for capturing sharp fluid
interfaces on arbitrary meshes. Journal of Computational
Mehl, M., Uekermann, B., Bijl, H., Blom, D., Gatzhammer, Physics, 153(1), 26–50, (1999)
B., & Van Zuijlen, A. Parallel coupling numerics for
partitioned fluid-structure interaction simulations. Wacławczyk, T. Numerical modeling of free surface flows in
Computers and Mathematics with Applications, (2016) ship hydrodynamics. Polish Academy of Sciences, (2007)

Meyer, J., Renzsch, H., Graf, K., & Slawing, T. Advanced Wacławczyk, T., Caner Gemici, Ö., & Schäfer, M. Novel
CDF-Simulations of free-surface flows around modern high-resolution scheme for interface capturing in multi-
sailing yachts using a newly developed OpenFOAM solver, phase flow, (2007)
(2016)
Wacławczyk, T., & Koronowicz, T. Remarks on prediction of
Moukalled, F., Mangani, L., & Darwish, M. The finite volume wave drag using VOF method with interface capturing
method in computational fluid dynamics. Springer, (2016) approach. Archives of Civil and Mechanical Engineering,
(2008)
Muzaferija, S. A two-fluid Navier-Stokes solver to simulate
water entry. In Proceedings of 22nd Symposium on naval Yigit, S., Heck, M., Schäfer, M., & Sternel, D. An enhanced
architecture, 1999 (pp. 638–651), (1999) implicit partitioned ALE approach for fluid-structure
interaction simulations, (2007)
Nicolici, S., & Bilegan, R. M. Fluid structure interaction
modeling of liquid sloshing phenomena in flexible tanks. Yigit, S., Sternel, D., & Schäfer, M. Efficiency of fluid-
Nuclear Engineering and Design, 258, 51–56, (2013) structure interaction simulations with adaptive
underrelaxation and multigrid acceleration. The
Park, I., Kim, K., Kim, J., & Van, S. A volume-of-fluid International Journal of Multiphysics, (2007)
method for incompressible free surface flows. International
Journal for Numerical Methods in Fluids, 61(12), 1331– Zhang, D., Jiang, C., Liang, D., Chen, Z., Yang, Y., & Shi, Y.
1362, (2009) A refined volume-of-fluid algorithm for capturing sharp fluid
interfaces on arbitrary meshes. Journal of Computational
Pilliod, J., & Puckett, E. Second-order accurate volume-of- Physics, 274, 709–736, (2014)
fluid algorithms for tracking material interfaces. Journal of
Computational Physics, 199(2), 465–502, (2004)

Sauer, J. Instationär kavitierende Strömungen: ein neues


Modell, basierend auf front capturing (VoF) und
Blasendynamik, Universität Karlsruhe, (2000)

Schäfer, M., Heck, M., & Yigit, S. An implicit partitioned


method for the numerical simulation of fluid-structure
interaction. In Fluid-structure interaction (pp. 171–194).
Springer, (2006)

Schäfer, M., & Teschauer, I. Numerical simulation of


coupled fluid-solid problems. Computer Methods in Applied
Mechanics and Engineering, (2001)

10

S-ar putea să vă placă și