adaptive solution techniques for fluid-structure interaction and multiphase flow mark sussman...

47
Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet Kadioglu Multiphysics Methods Group Advanced Nuclear Energy Systems Dept. Idaho National Laboratory Viorel Mihalef Center for Biological Imaging in Medicine, Department of Computer Science Rutgers University Interface Problems Workshop SAMSI program on Random Media Thursday, November 15

Upload: madeline-mcleod

Post on 27-Mar-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Adaptive Solution Techniques for fluid-structure interaction and multiphase flow

Mark SussmanDepartment of Mathematics

Florida State University

Samet KadiogluMultiphysics Methods Group

Advanced Nuclear Energy Systems Dept.Idaho National Laboratory

Viorel MihalefCenter for Biological Imaging in Medicine,

Department of Computer ScienceRutgers University

Interface Problems WorkshopSAMSI program on Random Media

Thursday, November 15

Page 2: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Atomization

0.0002 0.013

0.00125 0.78

gas liquid

gas liquid

Page 3: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Atomization

Page 4: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Atomization

Page 5: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Flow Past a Whale

coarse medium

Page 6: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet
Page 7: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Precond. Uniform? #iter CPU

GSRB Yes 26 12.4

Line Yes 14 14.8

ILU Yes 12 9.0

GSRB No 95 37.7

Line No 26 25.0

ILU No 22 14.0

Scalability of Pressure Projection Step?

Page 8: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Level Set Equations for Multiphase FlowY.C. Chang, T.Y. Hou, B. Merriman, and S. Osher, A Level Set Formulation of Eulerian Interface Capturing Methods for Incompressible Fluid Flows,J.Comput.Phys.,124 (1996), pp. 449-464

1 2

1 2

( ) (2 ( ) ) ( ) ( )

0

1 0( )

0 0

( ) ( ) (1 ( ))

( ) ( ) (1 ( ))

0

DUp D gk H

DtU

H

H H

H H

D

Dt

Page 9: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

1

1

*

(Level set equation)

(Volume of Fluid equation)

ˆ (Momentum equation)

nn n

nn n

nn

t U

F F t U F

U U t U U tgz

1. Nonlinear Advection:

1. Advection2. Diffusion3. Pressure Projection Step

Page 10: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

2. Diffusion:

** *1 1 ** 1 ** 1 *

** *1 1 ** 1 ** 1 *

2

2

n n n nx y xx y y

n n n ny x yy x x

u uu u v

t

v vv v u

t

Li, J.; Renardy, Y.; Renardy, M. (2000): Numericalsimulation of breakup of a viscous drop in simple shearflow through a volume-of-fluid method. Physics of Fluids,vol. 12(2), pp. 269–282.

Page 11: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

3. Pressure projection step:

1 **1

**1

**1

0

1

nn

n

n

pU U t

pU t

pU

t

Page 12: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

State-of-the-art•Tanguy, Menard and Berlemont, “A Level Set Method for vaporizing two-phase flows,” JCP, 2007.

•Herrmann, “A Eulerian level set/vortex sheet method for two-phase interface dynamics”, JCP, 2005.

•Quan and Schmidt, “A moving mesh interface tracking method for 3D incompressible two-phase flows”, JCP, 2007.

•Al-Rawahi and Tryggvason, “Numerical simulation of dendritic solidification with convection: Three-dimensional flow”, JCP, 2004.

•Arienti, Madabushi, Van Slooten and Soteriou, “Numerical simulation of liquid jet characteristics in a gaseous crossflow,” ILASS Americas, 2005.

•Sussman, Smith, Hussaini, Ohta, Zhi-Wei, “A sharp interface method for incompressible two-phase flows”, JCP, 2007

Page 13: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

•Marella, Krishnan, Liu and Udaykumar, “Sharp interface Cartesian grid method I: An easily implemented technique for 3D moving boundary computations”, JCP, 2005.

•Francois, Cummins, Dendy, Kothe, Sicilian and Williams, “A balanced-force algorithm for continuous and sharp interfacial surface tension models within a volume tracking framework”, JCP, 2006.

•Losasso, Fedkiw and Osher, “Spatially Adaptive Techniques for Level Set Methods and Incomopressible Flow”, Computers and Fluids, 2006.

•Marchandise, Geuzaine, Chevaugeon, and Remacle, “A stabilized finite element method using a discontinuous level set approach for the computation of bubble dynamics”, JCP, to appear.

•Yang, James, Lowengrub, Zheng, and Cristini, “An adaptive coupled level-set/volume-of-fluid interface capturing method for unstructured triangular grids”, JCP, 2006.

•Yu, Sakai, Sethian, “A coupled quadrilateral grid level set projection method applied to ink jet simulation,” JCP, 2005.

Page 14: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Matrix solver for data organized on an adaptive hierarchy of grids (Block Structured Adaptive

Mesh Refinement).

1 1,p x y V

t

How to treat singular source terms, discontinuous coefficients, grid stretching, and complex geometries in a scalable way?

M. Sussman, “A parallelized, adaptive algorithm for multiphase flows in general geometries,” Journal of Computers and Structures, Volume 83, Issues 6-7, February 2005, Pages 435-444.

Page 15: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

1,

1/ 2,1/ 2,

, 1

, 1/ 2, 1/ 2

1/ 2, 1/ 2, 1/ 2, 1/ 2, , 1/ 2 , 1/ 2 , 1/ 2 , 1/ 2,

1

1

1

1

ij ij

i j ij

i ji j

i j ij

i ji j

i j i j i j i j i j i j i j i jiji j

DGp DVt

p pGp

x

p pGp

y

DV A u A u A v A vV

Discretized Equation to be solved on hierarchy of rectangular grids:

1 1,p x y V

t

Page 16: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Example in one dimension

1x

x

p f

Page 17: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Matrix Associated with the previous example.

0 1 1

1 1 2 2

2 2 3 3

31 31 32

1 1 10 0 0

1 1 1 10 0 0

1 1 1 10 0 0

0

0

1 1 10 0 0

Page 18: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Condition number dependence on density ratio

Density Ratio Condition Number

1 4.4E+2

10 3.9E+3

100 3.8E+4

1000 3.8E+5

Page 19: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Background of Matrix Iterative approaches used in the context of incompressible two-phase flow.

Mark Sussman, Peter Smereka and Stanley Osher, “A Level Set Approach for Computing Solutions to Incompressible Two-Phase Flow,” Journal of Computational Physics, Volume 114, Issue 1, September 1994, Pages 146-159.(ILU PCG)

Elbridge Gerry Puckett, Ann S. Almgren, John B. Bell, Daniel L. Marcus and William J. Rider, “A High-Order Projection Method for Tracking Fluid Interfaces in Variable Density Incompressible Flows,” Journal of Computational Physics, Volume 130, Issue 2, 15 January 1997, Pages 269-282. (MGPCG 100:15 speed-up over MG)

Mark Sussman, Ann S. Almgren, John B. Bell, Phillip Colella, Louis H. Howell and Michael L. Welcome, “An Adaptive Level Set Approach for Incompressible Two-Phase Flows,” Journal of Computational Physics, Volume 148, Issue 1, 1 January 1999, Pages 81-124 (single level MGPCG)

Frank Losasso, Ronald Fedkiw and Stanley Osher, “Spatially adaptive techniques for level set methods and incompressible flow,” Computers & Fluids, Volume 35, Issue 10, December 2006, Pages 995-1010. (PCG)

Page 20: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Algebraic Multigrid (AMG) for Ground Water Flow and Oil Reservoir Simulation Klaus Stüben1, Patrick Delaney2, Serguei Chmakov31Fraunhofer Institute SCAI, [email protected], St. Augustin, Germany 2Waterloo Hydrogeologic Inc., [email protected], Waterloo, Ontario, Canada 3Waterloo Hydrogeologic Inc., [email protected], Waterloo, Ontario, Canada

Ruge, J.W., Stüben, K., 1986. Algebraic Multigrid (AMG), in .Multigrid Methods. (S. McCormick, ed.), Frontiers in Applied Mathematics, Vol 5, SIAM, Philadelphia.

The Black Box Multigrid Numerical Homogenization AlgorithmJ. David Moulton, Joel E. Dendy Jr., and James M. HymanJOURNAL OF COMPUTATIONAL PHYSICS 142, 80–108 (1998)Theoretical Division, Los Alamos National Laboratory, Los Alamos, New Mexico 87545

•Wan and Liu, “A boundary condition capturing multigrid approach to irregular boundary problems”, SIAM J. Sci. Comput., 2004.• Mayo, “The fast solution of poisson’s and the biharmonic equations in irregular domains”, SIAM J. Numer. Anal., 1984.•Howell and Bell, “An adaptive-mesh projection method for viscous incomopressible flow”, SIAM Journal on Scientific Computing, 1997.

Page 21: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

O. Tatebe, The multigrid preconditioned conjugate gradient method, in, 6th Copper Mountain Conference on Multigrid Methods, Copper Mountain, CO, April 4–9, 1993.

Tatebe (1993) reported results that indicated that MGPCG is superior to ILU-PCG and MG for treating the matrix that arises from solving Poisson’s equation with Discontinuous Coefficients. Tatebe reports a 5:1 speed-up over ILU-PCG and a 12:1 speed-up for MG for problems with discontinuous coefficients. MGPCG is guaranteed to converge for symmetric positive definite matrix systems.

Page 22: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Recent Improvements/Implementations of MGPCG:

•Gilles, Vogel, Ellerbroek, “A multigrid preconditioned conjugate gradient method for large scale wavefront reconstruction,” J. Opt. Soc. Am. A, Vol. 19, Issue 9, 1817-1822, 2002.•Ashby, Falgout, Smith, Fogwell, “Multigrid Preconditioned Conjugate Gradients for the numerical simulation of groundwater flow on the CRAY T3D.”•Oosterlee, Washio, “An evaluation of parallel multigrid as a solver and a preconditioner for singularly perturbed problems,” SIAM J. Sci. Comput., Vol. 19, No. 1, pp. 87-110, 1998.

These methods hint at using line relaxation or ILU preconditioning as replacement smoothers when using multigrid as a preconditioner.

Page 23: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Multigrid Preconditioned Conjugate Gradient Method on a Single, Fixed, Uniform Rectangular Grid

Grid with 3 levels, h, 2h,4h

Page 24: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Multigrid Preconditioned Conjugate Gradient Method

k-1 1

1 1 1

1

11 1

2

1

1

1

For k=1,2,3,4,

solve Mz

,

if 1

otherwise

,

ENDFOR

k

k k k

k

k kk k

k

k

k

k

k k k

k k

r

r z

z k

pz p

w Ap

p w

x x p

r r w

Page 25: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

The Multigrid Preconditioner

h h h h

h h h h

h ,( 1) h h ,( ) h

h h h h

2h 2hh

v MV v ,f

1. Relax ν times on A u =f with a given initial guess v .

ILU smoother: B A B f

2. If Ω =coarsest grid, then solve A u =f exactly with PCG.

f I

3. else

h k h kv v

h h h

2h

2h 2h 2h 2h

h h h 2h2h

h h h h

h ,( 1) h h ,( ) h

f -A v

v 0

v MV v ,f

correct v v +I v

Relax ν times on A u =f with initial guess v .

ILU smoother: B B M f h k h kv v

Page 26: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

V-Cycle for multigrid preconditioner.

Briggs WL, Henson Van Emden, McCormick SF. Amultigrid tutorial. 2nd ed. Philadelphia: SIAM; 2000.

Page 27: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Multigrid for Block Structured Adaptive Mesh Refinement

Level 0

Level 1

Level 2

Page 28: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Outer Multigrid Algorithm:

max

L

L

For L=0 L

V

p

EndFor

L Lpredict

Lpredict

V tGp

p

1. Place equations in residual correction form:

2. Call recursive routine MV(L)

Page 29: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Recursive Routine MV(L):L+1

max

L

L+1max

L Lsave save

Lcor

1. if L<L then restrict V to level L.

12. R

3. if L<L then restrict R to level L

4. V , R

5. p 0

6. Solve to a prescribed tolerance with MGPCG:

7.

L

L L

L Lcor save

DVt

V R

DGp R

L L

L-1 L 1cor cor 1

L

R , V

call MV(L-1)8. if L>0 then

prolongate p to level L, p

9. Solve to a prescribed tolerance with MGPCG:

10. V

L L L Lsave cor cor

L L Lcor L cor

L Lcor save

Lsave

R DGp V tGp

p I p

DGp R

V

L, pL L Lcor cortGp p p

Page 30: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Multigrid invokes MGPCG on each adaptive level.

Page 31: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

One-dimensional Test of multi-level algorithm

0 4

1 0 0x x x xx x

x

p V V p V p

Page 32: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Outside iterate Residual

1 40

2 5.7

3 8.1E-1

4 1.2E-1

5 1.7E-2

6 2.4E-3

7 3.3E-4

Rate of convergence of outside multigrid iteration

Page 33: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Remarks:•A standard Multigrid algorithm for an adaptive hierarchy of grids is not guaranteed to converge, especially for large density ratio problems.•Convergence of the conjugate gradient method relies on the overall matrix system for the hierarchical grids to be symmetric. This constrains the order of accuracy at coarse/fine borders to be zeroeth order accurate. •Our algorithm for solving elliptic equations on a hierarchy of adaptive grids is scalable with respect to increasing number of adaptive levels and increasing number of processors. •At the very least, MGPCG is guaranteed faster than PCG since one can always drop back to PCG at the bottom level of the V-cycle-preconditioner.

Page 34: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Drop Collision problem with grid stretching and sharp interface method (220 points per diameter effective resolution at the collision point).

Reference for drop collision: Pan and Suga, “numerical simulation of binary liquid droplet collision,” Physics of Fluids, 17, 082105 (2005).

Page 35: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Drop Collision Without Grid Stretching: sharp interface method, 80 points along the diameter.

Page 36: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Method Precond. Uniform? CPU time #iter.

MGPCG ILU No 0.117 6

MGPCG GSRB No 0.959 107

MGPCG GSRB Yes 0.104 6

MGPCG ILU Yes 0.096 4

PCG ILU No 0.290 58

Pressure Projection Step at time step=100; tolerance=1.0e-10

ILU MGPCG is scalable; GSRB MGPCG is not.

Page 37: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Newtonian and Non-Newtonian bubbles and drops: Jimenez, Sussman, Ohta (Fluid Dynamics and Materials Processing)

Page 38: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Bubble Formation.(work with Ohta)

First bubbleR=4.85E-3 m

Second bubbleR=4.90E-3 m

ExperimentR=4.99E-3m

Page 39: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Drop Deformation: Sussman and Ohta (Fluid Dynamics and Materials

Processing)

Page 40: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Drop Deformation (continued)

Drop length/a

Page 41: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet
Page 42: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Nucleate Boiling (work with Mihalef, Unlusu, Hussaini, Metaxas)

Page 43: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Ship Waves

Page 44: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

No. of Levels Grid Blocks Cells Delta Processors CPU time/step Cells/(cpu s) 1 64 2097152 1/128 32 376 174 2 64+148 5324800 1/256 32 1300 128 3 64+116+475 17940480 1/512 64 3000 93

Ship wavesM. Sussman, M.Y. Hussaini, K. Smith, R.-Z. Wei, and V. Mihalef, A second order adaptive sharp interface method for incompressible multiphase flow To appear in the Proceedings of the 3rd international conference on Computational Fluid Dynamics, Toronto, Canada (2004).

D.G. Dommermuth, M. Sussman, R. Beck, T.T. O'Shea and D.C. Wyatt, The Numerical Simulation of Ship Waves using Cartesian Grid Methods with adaptive mesh refinement To appear in the proceedings of the Twenty Fifth Symposium on Naval Hydro., St. John's, New Foundland and Labrador, Canada (2004).

Page 45: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Comparison of ship wave computations with experiment

M. Sussman, M.Y. Hussaini, K. Smith, R.-Z. Wei, and V. Mihalef, A second order adaptive sharp interface method for incompressible multiphase flow To appear in the Proceedings of the 3rd international conference on Computational Fluid Dynamics, Toronto, Canada (2004).

D.G. Dommermuth, M. Sussman, R. Beck, T.T. O'Shea and D.C. Wyatt, The Numerical Simulation of Ship Waves using Cartesian Grid Methods with adaptive mesh refinement To appear in the proceedings of the Twenty Fifth Symposium on Naval Hydro., St. John's, New Foundland and Labrador, Canada (2004).

Details of experiment: http://www.dt.navy.mil/hyd/sur-shi-mod/index.html

Page 46: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Solid-fluid interaction (work with Kadioglu and Mihalef)

Page 47: Adaptive Solution Techniques for fluid-structure interaction and multiphase flow Mark Sussman Department of Mathematics Florida State University Samet

Solid Fluid Interaction and Boiling (work with Kadioglu, Unlusu and Mihalef)