Professional Documents
Culture Documents
S Paper
S Paper
Department of Mechanical Engineering, Indian Institute of Technology Guwahati, Guwahati, Assam 781039,
India
e-mail: akd@iitg.ernet.in
Abstract. A modified version of the previously reported ghost-cell immersed boundary method is imple-
mented in parallel environment based on distributed memory allocation. Reconstruction of the flow variables is
carried out by the inverse distance weighting technique. Implementation of the normal pressure gradient on the
immersed surface is demonstrated. Finite volume method with non-staggered arrangement of variables on a non-
uniform cartesian grid is employed to solve the fluid flow equations. The proposed method shows reasonable
agreement with the reported results for flow past a stationary sphere, rotating and transversely oscillating circular
cylinder.
Keywords. Taylor series; inverse distance weighting; Neumann boundary condition; parallelization; moving
boundary.
441
442 S Peter and A K De
where Re ¼ UD=m is the Reynolds number and ai is ith At the boundary points, IDW [12] interpolation can be
component of the acceleration of a body with respect to the used for the flow variables and their partial derivatives
inertial frame of reference. 2
1X n
o/ 1X
n
o/ o /
/B ¼ wm /m ; ¼ wm ;
q m¼1 oxi B q m¼1 oxi m oxi oxj B
Xn 2
2.1 Taylor series and IDW reconstruction 1 o/
¼ wm ; ð4Þ
for GCIBM q m¼1 oxi oxj m
Figure 1 shows a typical near boundary stencil which
comprises a ghost-cell (G), immediate neighboring fluid where wmP¼ ð1=hm 1=RÞ2 are the weighting coefficients
cells (F) and boundary point (B). The boundary (or forcing) and q ¼ nm¼1 wm . All the derivatives at the fluid points are
! calculated (see Appendix) on a non-uniform grid with the
point is so chosen that GB points in the surface normal
latest available values of the flow variables; instead of
direction at B. The fluid neighbors F1 ; F2 ; F3 ; F4
previous time step values on a uniform grid [12]. It has
: : : Fn ; Fnþ1 are at distances h1 \h2 \h3 \h4 : : : hn \R
been observed that n ¼ 4 5 (excluding the one with dis-
from B. Instead of fitting a localized polynomial [5–9],
tance R) are enough to enforce the boundary conditions on
Taylor series expansion about B can serve to reconstruct
the immersed surface, which is in agreement with Gao et al
[12] the solution at the ghost point
[12].
2 Dirichlet boundary condition: A specified value for a
o/ 1 o /
/G ¼ /B þ Dxi þ Dxi Dxj variable /D implies
oxi B 2 oxi oxj B ð3Þ
þ 3rd -order terms ; /B ¼ /D : ð5Þ
where i, j expand for spatial directions with Dxi ¼ xi;G Thus the ghost point value can be evaluated using Eqs. (3),
xi;B (i ¼ x; y; z). (4) and (5).
GCIBM for stationary and moving boundary problems 443
Neumann boundary condition: If n^ is the unit normal calculations. Moreover, since the body and thus the associ-
vector ðnx ; ny ; nz Þ at B, a specified normal gradient for a ated ghost-cells move frequently, the above-mentioned issue
variable o/ implies of complex communications takes the center stage. Also, the
on N application of IBM to moving boundary problems in the
inertial frame of reference encounters spurious force oscil-
o/
ðr/ÞB : n^B ¼ : ð6Þ lation. The use of non-inertial frame avoids these difficulties
on N
as the body remains stationary, and only the boundary moves
This condition simplifies to which is accommodated in the boundary conditions.
o/ o/ o/ o/
nx þ ny þ nz ¼
ox B oy B oz B on N 2.4 Enhanced capabilities of the modified GCIBM
ð7Þ
o/ o/ o/
Use of non-uniform grids near solid walls with paral-
o/ on N nx ox B ny oy B
¼) ¼ : lelization is essential for simulating large scale 3D prob-
oz B ðnz ÞB
lems. Moreover, imposing zero-normal pressure gradient
Using the chain rule of partial differentiation, we can write on the surface of an immersed boundary is crucial in
obtaining a physically correct flow field. Both these fea-
o2 / o o/ tures are added in the current development which is
¼ : demonstrated by test cases. This renders the modified
oxi oz B oxi oz B
GCIBM even more robust and versatile.
In case of planar object (nz ¼ 0), either o/ o/ o/
ox or oy replaces oz
The use of IDW technique near an immersed surface breaks
in Eq. (7), thereby making it applicable for any geometry the banded structure of the resulting matrix. This issue was
with an implicit analytical description of the surface. handled in Gao et al [12] by taking all the supporting point
values from the previous time step. However, in the modified
GCIBM technique the latest available values are used which
2.2 Challenges in parallelization of GCIBM makes the convergence rate faster; and now the supporting
points which are responsible for enforcing boundary condi-
Implementation of GCIBM in a distributed memory based tions on an immersed boundary are strongly coupled.
parallel environment is a challenging task. If a ghost-cell is The treatment of non-inertial frame is also added in the
near to an interface of a processor then the ghost-cell and modified GCIBM-IDW method to deal with complex moving
the corresponding fluid neighbors (on the basis of sorting) boundary problems in three dimension. It is expected that all
may fall in different processors. In such a situation the the additions implemented in the modified GCIBM-IDW
interpolation may fail because of no information about the method enhance the capabilities of the existing technique.
neighboring fluid cells. To overcome this difficulty there
are two approaches: (1) restrict the search for fluid neighbor
to the host processor, (2) communicate the information of 3. Numerical approximations and solution strategy
the fluid neighbors to the host processor. The second
approach puts an overhead of complex communications, so The normalized governing equations are solved using the
we have adopted the first approach. finite volume method with non-staggered arrangement of
Domain decomposition causes the ghost-cells to distribute variables on a non-uniform cartesian grid. Time integration
non-uniformly among various processors. This non-unifor- of Eq. (2) is carried out by the 2nd -order accurate Adams
mity adversely affects the speed-up and efficiency of the Bashforth Crank-Nicholson (ABCN) scheme. All the spa-
parallel computations. Some processors may have more tial terms are approximated using 2nd -order accurate
computing load because of more number of ghost-cells. The schemes. Using the above-mentioned techniques Eqs. (1)
variation in the distribution of the ghost-cells may also lead to and (2) take the following discrete forms, respectively
stall or blowing up of the computations, especially if the first
X
approach discussed in the previous paragraph is adopted. Ffnþ1 ¼ 0 ð8Þ
f
where VP is the volume of a typical finite volume with 3.3 Computation of the fluid forces on the moving
centroid as P having faces f through which mass flux is Ff . boundary
The diffusion flux of a scalar / is approximated as
If a control volume (having volume V and surface area S)
Z Z encloses the body, then force in the ith direction using the
o2 /
dV ¼ r : r/ dV momentum balance principle is
V oxj oxj V
Z X X Z Z Z Z
oðqui Þ
¼ r/ : dS ðr/Þf : Sf Fdf / : Fi ¼ dV þ qui ðu : n^ dSÞ þ pðn^i : n^ dSÞ þ qai dV
S V ot S S V
f f
3.1 Velocity–pressure coupling n^ and n^i are unit vectors along the surface normal of the
chosen control volume and ith direction, respectively.
A provisional velocity (uP ) excluding the pressure term of All the computations, in the present work, were per-
Eq. (9) is formed using nine processors of an Intel Xeon E5620
cluster loaded with MPI libraries.
ui;P uni;P 1 X n n
VP þ 3Ff ui;f Ffn1 ui;f
n1
Dt 2 f
X V ð10Þ 4. Uniform flow past a stationary sphere
1 n P
¼ Fdfu þ F dfu ai nþ1 þ ai n :
2Re f i i
2 The wake behind a sphere is marked by several regimes
at increasing Re. Creeping flow in which the flow
The provisional face velocity ¼ (uf LfuP ; unb g),
where L
divides, swims over the surface and reunites at the rear
represents a linear interpolation between the velocity at a end of the sphere exists for Re ! 0. The laminar
cell centroid (uP ) and neighboring cell centroids (unb ) is boundary layer separates at Re 20 from the sphere
corrected [15] to account for the pressure gradient surface leading to a laminar wake. Four flow regimes of
laminar wake are steady axisymmetric (20\Re\210),
uf ¼ uf DtðrpÞf : ð11Þ steady planar symmetric (210\Re\270), unsteady pla-
If the corrected face velocity is used to compute the cor- nar symmetric (280\Re\420) and unsteady asymmetric
rected mass flux (Ffnþ1 ¼ uf : Sf ), then Eq. (8) gives a (420\Re\800).
First regime is characterized with an axisymmetric sta-
pressure Poisson equation
tionary vortex-ring attached at the rear end of the sphere. In
Xh i X 1X the second regime, the axisymmetry is replaced by a planar
uf DtðrpÞf : Sf ¼ 0 ¼) ðrpÞf : Sf ¼ F ; symmetry. A trail of two parallel counter rotating vortices
f f
Dt f f
is observed, and is known as the double-threaded wake. The
ð12Þ third regime is characterized by the periodic vortex shed-
ding, where vortices are shed as interconnected vortex
where (Ff ¼ uf : Sf ) is the provisional mass flux. Pressure loops; maintaining a planar symmetry about a plane passing
field computed from Eq. (12) is used in Eq. (9) to obtain the through the wake centerline. In the fourth regime, irregular
correct velocity (unþ1 ). and asymmetric shedding of hairpin vortices is observed.
2 2
1 0.05
1 0.1
-1 -0.5
z
0
-0.1
5
y
.0
–1
-0
1 0.5 –2
–1 –1 0 1 2 3 4 5 6 7 8 9 10 11
x
–2 2
–1 0 1 2 3 4 5 6 7 8
x 1
1 0.5
0.5
Figure 4. Vorticity contour (z-component) for flow past a sphere
z
0
-0.5
at Re ¼ 100. -1 -0.5
–1
–2
2 –1 0 1 2 3 4 5 6 7 8 9 10 11
x
1
2
0.2 0.1
-0.5 -1
0
z
y
0 0.5
1
–2
–1 0 1 2 3 4 5 6 7 8 9 10 11 –1
x
–2
2 –1 0 1 2 3 4 5 6 7 8 9 10 11
x
1
1 0.5
0
Figure 6. Vorticity contours for flow past a sphere at Re ¼ 300.
z
-1 -0.5
–1
–2
–1 0 1 2 3 4 5 6 7 8 9 10 11 ∂u = v = 0; ∂p = 0
∂y ∂y
x y
2
∂p = 0
u = 0, v = Aω cos(ωt); ∂n
1 n̂
-1 -0.5 ∂p = 0
u = U, v = 0; ∂x ∂u = ∂v = 0; p = 0
x 21D ∂x ∂x
0
y
D
1 0.5 ω = 2πfe
–1 ye = A sin(ωt) fe = forcing frequency
–2 A = forcing amplitude
–1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 ∂u = v = 0; ∂p = 0
8D ∂y ∂y 25D
x
Figure 5. Vorticity contours for flow past a sphere at Re ¼ 250. Figure 7. Schematic diagram for forced transverse oscillation of
a circular cylinder.
5.2 Results
used to provide a uniform finer mesh engulfing the cylinder Figure 8 shows that the time evolution of the coefficient of
which generated grid resolution Dx ¼ Dy ¼ 0:007 in and drag (CD , upper signals) and coefficient of lift (CL , lower
around the cylinder. We defined a frequency ratio signals) match well with the reported [25] results. The signals
(fR ¼ fe =fo ), where fo is the vortex shedding frequency from for fR = 0.8, 0.9 and 1.0 are purely sinusoidal, while the
the stationary cylinder. If Sto ¼ fo D=U is the Strouhal signals for fR = 1.1, 1.12 and 1.2 are complex wave-forms.
GCIBM for stationary and moving boundary problems 447
1 1 _
C L ,C D
CD
C L ,C D
0 0
–1 –1 1.2
CL CL
–2 –2
0 50 100 150 200 0 50 100 150 200 _ CLrms
C D , C Lrms , C Drms
t t Present
Guilmineau and Queutey (25)
CD (b) 2 CD (e)
2 Kim and Choi (10)
0.8
1 C L ,C D 1 Zhou and Shu (26)
C L ,C D
0 0
—
–1 –1
CL CL
–2 –2 0.4
0 50 100 150 200 0 50 100 150 200
t t
1 1
0
C L ,C D
C L ,C D
–1 –1
fR
CL CL
–2 –2
0 50 100 150 200 0 50 100 150 200 Figure 10. Comparison of computed global flow parameters for
t t forced transverse oscillation of a circular cylinder with reported
results.
Figure 8. Time evolution of the coefficient of drag and lift for
forced transverse oscillation of a circular cylinder, (a) fR ¼ 0:8, (b)
fR ¼ 0:9, (c) fR ¼ 1:0, (d) fR ¼ 1:1, (e) fR ¼ 1:12, (f) fR ¼ 1:2.
state of the wake (0:8 fR 1:0), where the ratio of the
forcing frequency to the vortex shedding frequency is unity.
2.5 Outside the lock-in regime the dominant vortex shedding
frequency (fs ) varies almost linearly with fR (see figure 9).
The global parameters: (i) average coefficient of drag (C D ),
2 (ii) root mean square (rms) value of the coefficient of lift
(CLrms ) and (iii) rms value of the coefficient of drag (CDrms )
shown in figure 10 are in good agreement with the reported
1.5
results of Guilmineau and Queutey [25], Kim and Choi [10],
Lock-in and Zhou and Shu [26].
fe / f s
1
6. Flow past a rotating circular cylinder
in a uniform flow
0.5 The rotation of a circular cylinder in a uniform flow is
expected to reduce the flow-induced oscillations [27]. In
addition to Re ¼ UD=m the other parameter that influences
0 the flow is non-dimensional rotation rate (a ¼ Dx=2U),
0 0.5 1 1.5 2 2.5
where x represents the angular velocity of the cylinder
fR about its axis. Kang et al [27] found that the vortex shed-
ding is completely suppressed beyond a critical non-di-
Figure 9. Ratio of the forcing and the vortex shedding frequency mensional rotational speed (aL ), which increases
as a function of fR for forced transverse oscillation of a circular logarithmically with Re. In a narrow range, 4:8\a\5:15 at
cylinder. Re ¼ 100 Stojkovic et al [28] interestingly found again an
unsteady behavior in the flow field with large amplitudes in
The complex wave-forms reflect [21] the existence of two the fluctuation of the drag and lift forces. At Re ¼ 200 and
frequencies: (1) the natural vortex shedding frequency (fo ) of 4:34 a 4:7 a reappearance of unsteady wake was
a stationary circular cylinder and (2) the forcing frequency reported by Mittal and Kumar [29] which was later
(fe ). Purely sinusoidal signals are consequence of the lock-in experimentally confirmed by Kumar et al [30].
448 S Peter and A K De
1 0.1 –2
C Drms
C Lrms
CD
CL
I I 0.25
0.5 0
I
–5
I
CD , Present CL , Present
I
I
CD , Mittal and Kumar (29) CL , Mital and Kumar (29)
CDrms , Mittal and Kumar (29) CLrms , Mittal and Kumar (29)
0 –0.1 –8 –0.1
0 0.5 1 1.5 2 2.5 0 0.5 1 1.5 2 2.5
α α
Figure 11. Comparison of the average and rms values of the drag Figure 12. Comparison of the average and rms values of the lift
coefficient for rotating circular cylinder with reported results. coefficient for rotating circular cylinder with reported results.
6.1 Computational details on flows past transversely oscillating and rotating cylinders.
All the computational features employed were the same as The results thus obtained compare well with the reported
that of the previous section. Two-dimensional simulations trends.
were performed at Re ¼ 200 and (0 a 2:5) in steps of
0.5.
Acknowledgments
6.2 Results The present research was carried out on the funds available
through the institute start-up Grant SG/ME/P/ARKD/1/
Figure 11 shows that C D decreases while CDrms increases 2009-2010 and DST First Track Grant SERC/ET-0166/
up to a 1:5 for which the vortex shedding is observed. 2011.
Figure 12 shows that C L increases while CLrms is nearly
constant for a 1:5. In agreement to Mittal and Kumar [29]
our results show no vortex shedding for a ¼ 2 and 2.5, Appendix
which is supported by zero CDrms and CLrms . Moreover, jCL j
continuously increases with a because of the Magnus Finite difference approximations of the partial derivatives
effect. in non-uniform grids at a point (xi ; yj ; zk )
First derivatives
2 2 2 2
7. Conclusions o/i /iþ1 ðDxi1 Þ /i1 ðDxiþ1 Þ /i ðDxi1 Þ ðDxiþ1 Þ
¼
ox Dxiþ1 Dxi1 ðDxiþ1 þ Dxi1 Þ
The present work has extended the previously proposed þ O½ðDxÞ2
IDW technique for reconstruction on the immersed
ð13aÞ
boundaries to accommodate zero-gradient pressure situa-
tion. The methodology is applied to three-dimensional
2 2 2 2
flows at moderate Reynolds number by employing MPI- o/j /jþ1 ðDyj1 Þ /j1 ðDyjþ1 Þ /j ðDyj1 Þ ðDyjþ1 Þ
¼
based parallelization. Non-inertial frame of reference is oy Dyjþ1 Dyj1 ðDyjþ1 þ Dyj1 Þ
introduced to deal with moving boundary problems which þ O½ðDyÞ2
reportedly have produced spurious force oscillations in the ð13bÞ
inertial frame of reference. The developed method is tested
GCIBM for stationary and moving boundary problems 449
2 2 2 2 [4] Kim J, Kim D and Choi H 2001 An immersed-boundary
o/k /kþ1 ðDzk1 Þ /k1 ðDzkþ1 Þ /k ðDzk1 Þ ðDzkþ1 Þ finite-volume method for simulations of flow in complex
¼
oz Dzkþ1 Dzk1 ðDzkþ1 þ Dzk1 Þ geometries. J. Comput. Phys. 171: 132–150
þ O½ðDzÞ2 : [5] Majumdar S, Iaccarino G and Durbin P 2001 Rans solvers
with adaptive structured boundary non-conforming grids.
ð13cÞ CTR, Annual Research Briefs 353–366
Second derivatives [6] Tseng Y H and Ferziger J H 2003 A ghost-cell immersed
boundary method for flow in complex geometry. J. Comput.
Phys. 192: 593–623
o2 / i /iþ1 Dxi1 þ /i1 Dxiþ1 /i ðDxiþ1 þ Dxi1 Þ
¼ 2 [7] Mittal R, Dong H, Bozkurttas M, Najjar F M, Vargas A and
ox2 Dxiþ1 Dxi1 ðDxiþ1 þ Dxi1 Þ Loebbecke A V 2008 A versatile sharp interface immersed
þ O½Dx boundary method for incompressible flows with complex
boundaries. J. Comput. Phys. 227: 4825–4852
ð14aÞ
[8] De A K 2014 An implicit non-staggered cartesian grid
method for incompressible viscous flows in complex
o2 / j /jþ1 Dyj1 þ /j1 Dyjþ1 /j ðDyjþ1 þ Dyj1 Þ
¼ 2 geometries. Sadhana Ind. Acad. Sci. 39: 1071–1094
oy2 Dyjþ1 Dyj1 ðDyjþ1 þ Dyj1 Þ [9] Lee J and You D 2013 An implicit ghost-cell immersed
þ O½Dy boundary method for simulations of moving body problems
with control of spurious force oscillations. J. Comput. Phys.
ð14bÞ 233: 295–314
[10] Kim D and Choi H 2006 Immersed boundary method for
o2 /k /kþ1 Dzk1 þ /k1 Dzkþ1 /k ðDzkþ1 þ Dzk1 Þ flow around an arbitrarily moving body. J. Comput. Phys.
¼ 2
oz2 Dzkþ1 Dzk1 ðDzkþ1 þ Dzk1 Þ 212: 662–680
þ O½Dz: [11] Iaccarino G and Verzicco R 2003 Immersed boundary
technique for turbulent flow simulations. Appl. Mech. Rev.
ð14cÞ 56: 331–347
[12] Gao T, Tseng Y H and Lu X Y 2007 An improved hybrid
Mixed derivatives cartesian/immersed boundary method for fluid-solid flows.
Int. J. Numer. Meth. Fluids 55: 1189–1211
o2 /i;j /iþ1;jþ1 /iþ1;j1 /i1;jþ1 þ /i1;j1 [13] Mittal R and Iaccarino G 2005 Immersed boundary methods.
¼ þ O½Dx; Dy
oxoy ðDxiþ1 þ Dxi1 ÞðDyjþ1 þ Dyj1 Þ Annu. Rev. Fluid Mech. 37: 239–261
ð15aÞ [14] Pope S B 2000 Turbulent lows. Cambridge University Press.
Cambridge
o2 /i;k /iþ1;kþ1 /iþ1;k1 /i1;kþ1 þ /i1;k1 [15] De A K and Dalal A 2006 Numerical simulation of uncon-
¼ þ O½Dx; Dz fined flow past a triangular cylinder. Int. J. Numer. Meth.
oxoz ðDxiþ1 þ Dxi1 ÞðDzkþ1 þ Dzk1 Þ Fluids 52: 801–821
ð15bÞ [16] Stone H L 1968 Iterative solution of implicit approximation
of multidimensional partial differential equations. SIAM J.
o2 /j;k /jþ1;kþ1 /jþ1;k1 /j1;kþ1 þ /j1;k1 Numer. Anal. 5: 530–558
¼ þ O½Dy; Dz; [17] Zhang S-L 1997 Gpbi-cg:Generalized product-type methods
oyoz ðDyjþ1 þ Dyj1 ÞðDzkþ1 þ Dzk1 Þ
based on bi-cg for solving nonsymmetric linear systems.
ð15cÞ SIAM J. Sci. Comput. 18(2): 537–551
where [18] Hunt J C R, Wray A A and Moin P 1988 Eddies, streams,
and convergence zones in turbulent flows. Center for Tur-
Dxiþ1 ¼ xiþ1 xi ; Dxi1 ¼ xi xi1 ; Dyjþ1 ¼ yjþ1 yj
bulence Research Report CTR-S88 2, 193–208
Dyj1 ¼ yj yj1 ; Dzkþ1 ¼ zkþ1 zk ; Dzk1 ¼ zk zk1 . [19] Johnson T A and Patel V C 1999 Flow past a sphere up to a
Reynolds number of 300. J. Fluid Mech. 378: 19–70
[20] Den Hartog J P 1934 The vibration problems in engineering.
In: Proceedings of the 4th International Congresson Applied
Mechanics Cambridge, U K, pp. 36–53
[21] Bishop R E D and Hassan A Y 1964 The lift and drag forces
References on a circular cylinder oscillating in a flowing fluid. Proc.
R. Soc. Lond. Ser. A 277: 51–75
[1] Peskin C S 1972 Flow patterns around heart valves:a [22] Koopmann G H 1967 The vortex wakes of vibrating cylin-
numerical method. J. Comput. Phys. 10: 252–271 ders at low reynolds number. J. Fluid Mech. 23: 501–512
[2] Goldstein D, Handler R and Sirovich L 1993 Modelling a no- [23] Zdravkovich M M 1982 Modification of vortex shedding in
slip flow boundary with an external force field. J. Comput. the synchronization range. ASME J. Fluids Eng. 104:
Phys. 105: 354–366 513–517
[3] Mohd-Yosuf J 1997 Combined immersed-boundary/ b-spline [24] Williamson C H K and Roshko A 1988 Vortex formation in
methods for simulations of flow in complex geometries. the wake of an oscillating cylinder. J. Fluids Struct. 2:
CTR, Annual Research Briefs 317–327 355–381
450 S Peter and A K De
[25] Guilmineau E and Queutey P 2002 A numerical simulation [28] Stojkovic D, Breuer M and Durst F 2002 Effect of high
of vortex shedding from an oscillating circular cylinder. J. rotation rates on the laminar flow around a circular cylinder.
Fluids Struct. 16: 773–794 Phys. Fluids 14: 3160–3178
[26] Zhou C H and Shu C 2011 A local domain-free discretization [29] Mittal S and Kumar B 2003 Flow past a rotating cylinder. J.
method for simulation of incompressible flows over moving Fluid Mech. 476: 303–334
bodies. Int. J. Numer. Meth. Fluids 66: 162–182 [30] Kumar S, Cantu C and Gonzalez B 2011 Flow past a rotating
[27] Kang S, Choi H and Lee S 1999 Laminar flow past a rotating cylinder at low and high rotation rates. ASME J. Fluid Eng.
circular cylinder. Phys. Fluids 11: 3312–3321 133: 041201–1–041201–9