Presentation is loading. Please wait.

Presentation is loading. Please wait.

A Numerical Model for Multiphase Flow, I: The Interface Tracking Algorithm Frank Bierbrauer.

Similar presentations


Presentation on theme: "A Numerical Model for Multiphase Flow, I: The Interface Tracking Algorithm Frank Bierbrauer."— Presentation transcript:

1 A Numerical Model for Multiphase Flow, I: The Interface Tracking Algorithm Frank Bierbrauer

2 A Numerical Model for Multiphase Flow Part I, Kinematics: The Interface Tracking Algorithm (Marker-Particle Method) Part II, Dynamics: The Navier-Stokes Solver

3 Contents What should an Interface “Tracking” Algorithm be able to do ? Multiphase Flow, what does phase really mean ? Interface “Tracking” The Marker-Particle Method Benchmark Tests of the MP Method Conclusions Associated Problems

4 Solid-Liquid Impact

5 Liquid Jets Jet Breakup Jet-Liquid Impact Jet-Solid Impact

6 Melting and Mixing Phase Change: melted glass Fluid Mixing

7 Droplets and Bubbles Sessile drops Bubbles Droplet Pinch Off

8 Droplet Collisions and Shock Impact Two Droplets Colliding Shock Wave/Droplet Impact

9 Droplet/Liquid Impact Splash Corona & Rayleigh Jet Formation

10 Capillary Waves Secondary Droplet Expulsion Collision of Two Droplets Droplet Splash

11 Example: Three-Phase Flow Fluid phase 1 – droplet, fluid phase 2 – air, fluid phase 3 – other fluid

12 Fluid Phases Fluid Phases defined by individual densities and viscosities Can define physical properties such as density and viscosity as a single field varying in space, the so- called one-field formulation Then the interfaces between fluid phases represent a discontinuity in density or viscosity Can define these phases by a phase indicator function C

13 Volume Fraction C 1 = 0.45 C 2 = 0.00 C 3 = 0.00 C 1 = 0.00 C 2 = 0.32 C 3 = 0.00 C 1 = 0.00 C 2 = 0.00 C 3 = 0.23 The phase indicator function is often the volume fraction occupied by the fluid (m) in the volume V: C m = V m /V so that C 1 + C 2 + C 3 = 1 in V

14 Example: Grid Volume Fraction Volume fraction information within grid cells C 1 – blue fluid, C 2 – yellow fluid C 1 = 0 C 2 = 1 C 1 = 0 C 2 = 1 C 1 = 0.2 C 2 = 0.8 C 1 = 0.7 C 2 = 0.3 C 1 = 0.95 C 2 = 0.05 C 1 = 1 C 2 = 0 C 1 = 0.7 C 2 = 0.3 C 1 = 0.3 C 2 = 0.7

15 One-Field Formulation For example, for 3 phase flow the density and viscosity fields are: density:  (x,y,t) =  1 C 1 (x,y,t) +  2 C 2 (x,y,t) +  3 C 3 (x,y,t) viscosity:  (x,y,t) =  1 C 1 (x,y,t) +  2 C 2 (x,y,t) +  3 C 3 (x,y,t) so that Where the  i and  i are the constant viscosities and densities within each fluid phase In general for M fluid phases we have  (x,y,t) =  1 C 1 (x,y,t) +  2 C 2 (x,y,t) +  3 [1-C 1 (x,y,t)-C 2 (x,y,t)]  (x,y,t) =  1 C 1 (x,y,t) +  2 C 2 (x,y,t) +  3 [1-C 1 (x,y,t)-C 2 (x,y,t)]

16 Interface Tracking Surface Tracking –The interface is explicitly tracked –The interface is represented as a series of interpolated curves –A sequence of heights above a reference line, e.g. level set method –A series of points parameterised along the curve, e.g. front tracking

17 Surface Tracking 1. Points parameterised along a curve (x(s),y(s)) 2. Sequence of heights h above a reference line

18 Interface Capturing Volume Tracking –The interface is only implicitly “tracked”, it is “captured” –The interface is the contrast created by the difference in phase, e.g. MAC method, Marker- Particle method –Or it can be geometrically re-constructed, e.g. VOF methods SLIC, PLIC

19 Interface Capturing Volume Tracking

20 Eulerian Methods Fixed Grid methods –There is an underlying grid describing the domain, typically a rectangular mesh, e.g. FDM –The interface does not generally coincide with a grid line or point –Advantages: interface can undergo large deformation without loss of accuracy, allows multiple interfaces –Disadvantage: the interface location is difficult to calculate accurately

21 Lagrangian Methods These methods are characterised by a coordinate system that moves with the fluid, e.g. fluid particles Advantages: accurately specifies material interfaces, interface boundary conditions easy to apply, can resolve fine structures in the flow Disadvantage: strong interfacial deformation can lead to tangled Lagrangian meshes and singularities Examples: SPH, LGM, PIC

22 Eulerian-Lagrangian Methods Makes use of aspects of both Eulerian and Lagrangian methods Particle-Mesh methods –use an Eulerian fixed grid to store velocity and pressure information –Use Lagrangian particles to keep track of fluid phase and thereby density and viscosity

23 The Marker-Particle Method Define a fixed Eulerian mesh made up of computational cells with centres In X min < x < X max, Y min < y < Y max, x 1/2 = X min, y 1/2 = Y min,  x = (X max -X min )/I,  y = (Y max -Y min )/J Within each computational cell assign a set of particles with positions (x p, y p )

24 Computational Cell & Initial Particle Configuration

25 Fluid Colour Each fluid phase (m) has a set of marker particles (p) located at position (x p, y p ) Every marker particle of the m th set is assigned a colour such that

26 Initial Particle Colours For example, for those particles of the 2 nd phase:

27 Particle Velocities Particle velocities u p = u(x p,y p ) are interpolated from the nearest four grid velocities u i,j, u i+1,j, u i,j+1, u i+1,j+1

28 Grid-to-Particle Velocity Interpolation

29 Interpolation Function or Where the interpolation function S is given by

30 Particle Kinematics Lagrangian particle advection: solve u = dx/dt which moves fluid particles along characteristics with velocity u Predictor Corrector

31 Particle Boundary Conditions No-Slip: On approaching the boundary the fluid velocities there approach zero. The simplest way to impose this boundary condition is to reflect the particle back into the domain by the amount it has exceeded it Periodic: For periodic conditions the particle must exit the domain and appear out of the opposite face by the amount it exceeded the first boundary

32 Volume Fraction Update Require the updated grid volume fraction to update the grid densities and viscosities Use the same interpolation function, S, as defined previously Usually, particles-to-grid interpolation involves many irregularly placed particles, in excess of four

33 Volume Fraction Interpolation This requires a normalisation of the interpolation Then, for each fluid m at the next time step n+1

34 Algorithm 1. Initialisation at t = 0 1.Assign a set number of particles per cell with a total number N in the domain 2.Assign an initial particle colour for each fluid 3.Construct initial grid cell volume fractions

35 Algorithm 2.For time steps t > 0 1.Given u n and time centred grid velocities u n+1/2 interpolate velocities to all particles obtaining 2.Solve the equation of motion u = dx/dt using the predictor-corrector strategy already mentioned 3.Interpolate the new grid volume fractions from the advected particle colours 4.Update density and viscosity using the new volume fractions 5.Store old time particle positions as well as particle colour. Increment the time step n -> n+1 and go to step 1. above

36 Benchmark Tests Two-Phase Flow test, droplet and ambient fluid of different densities and viscosities in a unit domain. Let the droplet have volume fraction C = 1 and the ambient fluid have C= 0 (C = C 1, C 2 = 1 - C 1 ). Apply various velocity fields up to time t = T/2 to the problem of a fluid cylinder, of radius R = 0.15, located at (0.50,0.75) Reverse velocity field at t = T/2 and measure difference between initial and final droplet configuration at t = T (T = total time)

37 Error Measures Use a 64 2 grid (  x =  y = 1/64 = 0.016) with either 4 or 16 particles per cell (ppc) At t = T measure droplet volume/mass given by Measure changes in transition width, the minimised, +ve, distance over which the volume fraction changes from C = 1 (droplet), in grid cell (x,y), to C = 0 (surrounding fluid), in grid cell (X,Y) Obtain relative percentage errors

38 Benchmark Tests Test TypeVelocity FieldSpecified Field Simpletranslationu(x,y) = (1,0) Advectionrotationu(x,y) = (y-1/2,-(x-1/2)) Topologyshearing flow u(x,y) = (-sin2  x sin2  y, sin2  x sin 2  y) Changevortex u(x,y) = (sin 4  (x+1/2) sin4  (y+1/2), cos 4  (x+1/2) cos4  (y+1/2))

39 Expected Shearing Flow Effect

40 Expected Vortex Field Effect

41 Translation: relative % errors

42 Rotation: relative % errors

43 Shearing Flow: relative % errors

44 Vortex: relative % errors

45 Translation: transition width

46 Rotation: transition width

47 Shearing Flow: transition width

48 Vortex: transition width

49 Relative Errors L 1 norm

50 Conclusions Tests have shown the MP method can accurately “track” multiple fluid phases provided a sufficient number of marker particles are used The method performs well even for severely distorted flows The method maintains a constant interface width of about two grid cell lengths The method maintains particle colour permanently never losing this information

51 Local Mass Conservation Local conservation of mass equation states, for incompressible fluids, Or for M fluid phases

52 Local Volume Conservation So we could choose, for each fluid m: 1. Therefore also satisfies the discrete form of the equation:

53 Total Mass The total initial volume for M fluid phases is With the corresponding total initial mass given by

54 Global Mass Conservation This must be conserved for all time, i.e. or

55 Global Volume Conservation Can choose Or

56 Discretised Volume Conservation 2. In discretised form

57 Particle to Grid Volume Fraction Interpolation 3. Already know 4. And or

58 Non-Solenoidal Particle Velocities 5. Given a solenoidal velocity field u i,j the interpolated particle velocity field is not necessarily also solenoidal:

59 Solutions ? How do you construct a modified interpolation function S which maintains solenoidality ? What equation does S have to satisfy when considering the previous points 1-5 ?


Download ppt "A Numerical Model for Multiphase Flow, I: The Interface Tracking Algorithm Frank Bierbrauer."

Similar presentations


Ads by Google