20
1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor: Prof. Stéphane ZALESKI Sevilla Meeting: Numerical Challenges in two-phase flows 27 October 2014

Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

  • Upload
    ledien

  • View
    222

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

1

Bubble Dynamics using Free Surfaces in a VOF framework

Léon MALAN Supervisor:Prof. Stéphane ZALESKI

Sevilla Meeting: Numerical Challenges in two-phase flows27 October 2014

Page 2: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

2

Contents

● Introduction: Simulation problem● PARIS code● Free surface condition

– Pressure treatment and surface tension – Velocity extrapolation– Ensuring mass (volume) conservation

● Test cases● Conclusion: Future work

Page 3: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

3

Problem Background

● Experiments performed on “micro-spalling”

● Metal sample subjected to intense shock wave

– Laser irradiation, explosive detonation● Cavitation in melted metal dominant failure mechanism,

(Signor et al, 2008).

Illustration of shock loading on metal sample. Signor et al. (2008).

Schematic representation of response of metallic foil to laser shock. De Rességuier et al. (2010).

Page 4: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

4

Problem Background

● Experiments performed on “micro-spalling”

● Metal sample subjected to intense shock wave

– Laser irradiation, explosive detonation● Cavitation in melted metal dominant failure mechanism,

(Signor et al, 2008).

Illustration of shock loading on metal sample. Signor et al. (2008).

Schematic representation of response of metallic foil to laser shock. De Rességuier et al. (2010).

Page 5: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

5

Problem Background

● Goal is to simulate the flow inside the liquid metal

● Flow characteristics:– Low Mach: incompressible

– High Re: inviscid

– High density ratio: no shear at interface

– Adiabatic: no temperature effects

– No mass transfer at interface

– Void fraction < 20%: Not interested in mousse

– Random bubbles already present in liquid

Page 6: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

6

PARIS code introduction● PArallel Robust Interface Simulator

● VOF and Front Tracking code based on SURFER and FTC3D2011

● Written entirely in Fortran90

● Released as a free code under GPL

● Code website:

– http://www.lmm.jussieu.fr/~zaleski/paris/index.html

3D visualization of atomization sim.Yue Ling using PARIS (2014).

Page 7: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

7

PARIS code: Numerics● Finite Volume/ Finite Difference on a Cartesian Grid

● MAC (staggered) grid.

● Time schemes : 1) first order Euler 2) second order Runge-Kutta for NS part

● Advection terms by QUICK, ENO or Upwind

● Explicit or implicit viscous terms.

● VOF – PLIC for interface reconstruction and advection either with CIAM or the conservative VOF of Yue & Weymouth.

● Surface tension by height functions (as in Gerris).

● Parallel computation with MPI: 2 ghost layers

Page 8: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

8

Code modification: Free Surface

● For bubble dynamics problem, implement a free surface interface condition (Harlow & Welch, 1966)

● Constant pressure inside bubbles

● Incompressible liquid

● Surface tension at interface: replace CSF with pressure jump

Page 9: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

9

Quick re-cap: Projection method

Page 10: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

10

Pressure treatment, surface tension● Pressure solved in liquid using asymmetric

“branches”– Chan and Street, 1970, SUMMAC

Page 11: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

11

Pressure treatment, surface tension● Pressure solved in liquid using asymmetric

“branches”

Page 12: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

12

Pressure treatment, continued● CSF not valid● Surface tension added as an interface

pressure jump

Page 13: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

13

Locating the interface

● Asymmetric Poisson branches– Staggered VOF mesh used to

calculate interface position

– New VOF calculated using halves of neighbouring cells

– Plane intersection with connecting branch taken to calculate modified length

Page 14: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

14

Examples: Modified lengths

Page 15: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

15

Boundary condition on velocity

● Needed for boundary cells in liquid:– Momentum advection

● Introduced topological description of domain

● All liquid and first neighbour (level 0) velocities are solved by standard projection method

● First order velocity extrapolation, topology wise.

Page 16: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

16

Volume conservation: 2nd projection

● Implemented 2nd projection step to ensure volume conservation to within defined limit– A “phantom” pressure is

obtained inside first two cells inside cavity

– Velocities level 1 and 2 are corrected using this pressure

Page 17: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

17

Test case: Volume conservation

● Mass conservation on single expanding cavity in 3D

● Test run on Airain, 64 processors (4 per coord direction)

● Domain 1283

● Running time: ~42 minutes● Measured divergence at topological

levels 0 (liq) 1 and 2 (cavity)

Page 18: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

18

Two interacting bubbles

● Two different sizes bubbles initialised in periodic domain

● Bubble “competition” observed

Page 19: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

19

Rayleigh-Plesset bubble expansion

● Bubble radius versus time

● Constant gas pressure

● Fixed P∞ at domain

boundary

Page 20: Bubble Dynamics using Free Surfaces in a VOF frameworkgfs.sourceforge.net/papers/GUM2014/malan.pdf · 1 Bubble Dynamics using Free Surfaces in a VOF framework Léon MALAN Supervisor:

20

Looking ahead

● Error quantification for Poisson solver● 2nd order velocity extrapolation

– Least square fit through neighbouring cells

● Deal with imploding bubble: can add volume source when extrapolation layers are no longer available inside cavity

● Implement a coordinate change– Additional term(s) to be added to momentum equation

● Implement and test in Basilisk ?