Lattice Boltzmann approach to liquid - vapour separation

Similar documents
arxiv: v1 [physics.comp-ph] 5 Feb 2018

arxiv: v1 [physics.comp-ph] 4 Apr 2019

Physical Modeling of Multiphase flow. Boltzmann method

SEMICLASSICAL LATTICE BOLTZMANN EQUATION HYDRODYNAMICS

Lattice Boltzmann Method

Lattice Boltzmann Method for Moving Boundaries

Thermal Lattice Boltzmann models derived by Gauss quadrature using the spherical coordinate system

Simulation of T-junction using LBM and VOF ENERGY 224 Final Project Yifan Wang,

The lattice Boltzmann method for contact line dynamics

Free energy concept Free energy approach LBM implementation Parameters

Multiphase Flow Simulations in Inclined Tubes with Lattice Boltzmann Method on GPU

V (r,t) = i ˆ u( x, y,z,t) + ˆ j v( x, y,z,t) + k ˆ w( x, y, z,t)

Differential relations for fluid flow

COMPARISON OF CPU AND GPU IMPLEMENTATIONS OF THE LATTICE BOLTZMANN METHOD

LATTICE BOLTZMANN MODELLING OF PULSATILE FLOW USING MOMENT BOUNDARY CONDITIONS

arxiv:comp-gas/ v1 28 Apr 1993

Lattice Boltzmann models for rarefied flows

Summary We develop an unconditionally stable explicit particle CFD scheme: Boltzmann Particle Hydrodynamics (BPH)

Investigation of an implicit solver for the simulation of bubble oscillations using Basilisk

Fluid Equations for Rarefied Gases

Fluid Equations for Rarefied Gases

Simulation of floating bodies with lattice Boltzmann

Chapter 5. The Differential Forms of the Fundamental Laws

Discontinuous shear thickening on dense non-brownian suspensions via lattice Boltzmann method

Lattice Boltzmann Method for Fluid Simulations

Long-time behavior and different shear regimes in quenched binary mixtures

A Momentum Exchange-based Immersed Boundary-Lattice. Boltzmann Method for Fluid Structure Interaction

Generalized Local Equilibrium in the Cascaded Lattice Boltzmann Method. Abstract

Hyperbolic Moment Equations Using Quadrature-Based Projection Methods

On the lattice Boltzmann method for multiphase flows

Anisotropic fluid dynamics. Thomas Schaefer, North Carolina State University

On Portability, Performance and Scalability of a MPI OpenCL Lattice Boltzmann Code

Flux Limiter Lattice Boltzmann for Compressible Flows

arxiv:cond-mat/ v1 [cond-mat.stat-mech] 11 Dec 2002

Introduction to Fluid Mechanics

A Unified Gas-kinetic Scheme for Continuum and Rarefied Flows

Differential criterion of a bubble collapse in viscous liquids

Lattice Boltzmann Method for Fluid Simulations

A hybrid method for hydrodynamic-kinetic flow - Part II - Coupling of hydrodynamic and kinetic models

Numerical Investigation of Fluid and Thermal Flow in a Differentially Heated Side Enclosure walls at Various Inclination Angles

1.3 Molecular Level Presentation

comp-gas/ Jan 1994

(Super) Fluid Dynamics. Thomas Schaefer, North Carolina State University

Exam in Fluid Mechanics 5C1214

Chapter 2: Fluid Dynamics Review

On a New Diagram Notation for the Derivation of Hyperbolic Moment Models

LATTICE BOLTZMANN SIMULATION OF FLUID FLOW IN A LID DRIVEN CAVITY

Level Set-based Topology Optimization Method for Viscous Flow Using Lattice Boltzmann Method

On pressure and velocity boundary conditions for the lattice Boltzmann BGK model

External and Internal Incompressible Viscous Flows Computation using Taylor Series Expansion and Least Square based Lattice Boltzmann Method

III.H Zeroth Order Hydrodynamics

Predictor-Corrector Finite-Difference Lattice Boltzmann Schemes

The Navier-Stokes Equations

Research of Micro-Rectangular-Channel Flow Based on Lattice Boltzmann Method

Lattice Boltzmann methods Summer term Cumulant-based LBM. 25. July 2017

Lecture 3. Properties of Fluids 11/01/2017. There are thermodynamic properties of fluids like:

Simulating Interfacial Tension of a Falling. Drop in a Moving Mesh Framework

arxiv: v1 [physics.flu-dyn] 27 May 2013

Liquids and solids are essentially incompressible substances and the variation of their density with pressure is usually negligible.

arxiv: v1 [physics.flu-dyn] 10 Aug 2015

Fluid-Particles Interaction Models Asymptotics, Theory and Numerics I

A unifying model for fluid flow and elastic solid deformation: a novel approach for fluid-structure interaction and wave propagation

Connection Between the Lattice Boltzmann Equation and the Beam Scheme

Computational Fluid Dynamics: FHP-I & FHP-III

Pietro Asinari Department of Energetics, Politecnico di Torino, Corso Duca degli Abruzzi 24, Torino, Italy. (Dated: September 25, 2009) Abstract

APPRAISAL OF FLOW SIMULATION BY THE LATTICE BOLTZMANN METHOD

CHAPTER 9. Microscopic Approach: from Boltzmann to Navier-Stokes. In the previous chapter we derived the closed Boltzmann equation:

SIMULATION OF MIXED CONVECTIVE HEAT TRANSFER USING LATTICE BOLTZMANN METHOD

Simulation of 2D non-isothermal flows in slits using lattice Boltzmann method

- Marine Hydrodynamics. Lecture 4. Knowns Equations # Unknowns # (conservation of mass) (conservation of momentum)

Shear Flow of a Nematic Liquid Crystal near a Charged Surface

Kinetic Models and Gas-Kinetic Schemes with Rotational Degrees of Freedom for Hybrid Continuum/Kinetic Boltzmann Methods

PREDICTION OF INTRINSIC PERMEABILITIES WITH LATTICE BOLTZMANN METHOD

Fundamentals of Fluid Dynamics: Elementary Viscous Flow

Lattice Bhatnagar Gross Krook model for the Lorenz attractor

Lattice Boltzmann Modeling of Wave Propagation and Reflection in the Presence of Walls and Blocks

Chapter 9: Differential Analysis of Fluid Flow

Quick Recapitulation of Fluid Mechanics

Pressure corrections for viscoelastic potential flow analysis of capillary instability

Lattice Boltzmann Methods for Fluid Dynamics

Lecture 5: Kinetic theory of fluids

Continuum Mechanics Fundamentals

Hydrodynamical description of ultrarelativistic heavy-ion collisions

12. MHD Approximation.

Morphological characterization of spinodal decomposition kinetics

Stochastic Particle Methods for Rarefied Gases

Chapter 1. Continuum mechanics review. 1.1 Definitions and nomenclature

Numerical Investigation of Combined Buoyancy and Surface Tension Driven Convection in an Axi-Symmetric Cylindrical Annulus

On the relation between lattice variables and physical quantities in lattice Boltzmann simulations

Chapter 2. General concepts. 2.1 The Navier-Stokes equations

Thermal lattice Bhatnagar-Gross-Krook model for flows with viscous heat dissipation in the incompressible limit

Investigating platelet motion towards vessel walls in the presence of red blood cells

Dynamics of the Self-Propelled Motion of a Polymer Solvent Droplet

FEM-Level Set Techniques for Multiphase Flow --- Some recent results

Force analysis of underwater object with supercavitation evolution

FINITE ELEMENT METHOD IN

Grad s approximation for missing data in lattice Boltzmann simulations

A drop forms when liquid is forced out of a small tube. The shape of the drop is determined by a balance of pressure, gravity, and surface tension

n i,j+1/2 q i,j * qi+1,j * S i+1/2,j

Chapter 9: Differential Analysis

Transcription:

Lattice Boltzmann approach to liquid - vapour separation T.Biciușcă 1,2, A.Cristea 1, A.Lamura 3, G.Gonnella 4, V.Sofonea 1 1 Centre for Fundamental and Advanced Technical Research, Romanian Academy Bd. Mihai Viteazul 24, 300223 Timișoara, Romania 2 Department of Physics, West University of Timișoara Bd. Vasile Parvan 4, 300223 Timișoara, Romania 3 Istituto Applicazioni Calcolo, CNR, Via Amendola 122/D, 70126 Bari, Italy 4 Department of Physics, University of Bari, and INFN - Sezione di Bari Via Amendola 173, 70126 Bari, Italy Flowing Matter 2016, Porto (Portugal) 1 / 22

The Boltzmann distribution function Lattice Boltzmann models based on Gauss-Hermite quadratures The Boltzmann equation Evolution equation of the one-particle distribution function f f (x, p, t): t f + 1 m p f + F pf = J[f ]. The collision operator J[f ] is often approximated by: J BGK [f ] = 1 τ (f f (eq) ). where τ Kn/n is the relaxation time and f (eq) is the equilibrium distribution (D is the number of space dimensions): ] f (eq) n (p mu)2 (x, p, t) = exp [. (2πmK B T) D 2 2mK B T 2 / 22

The Boltzmann distribution function Lattice Boltzmann models based on Gauss-Hermite quadratures Moments of the distribution function f Macroscopic properties given as moments of order N of f : N =0 : number density: n = d D p f, N =1 : velocity: u = 1 d D p f p, nm N =2 : temperature: T = 2 d D ξ 2 p f Dn 2m, (ξ = p mu), viscous tensor: σ αβ = d D p ξ αξ β m f ntδ αβ, N =3 : heat flux: q = d D ξ 2 ξ p f 2m m. 3 / 22

The Boltzmann distribution function Lattice Boltzmann models based on Gauss-Hermite quadratures Gauss-Hermite Lattice Boltzmann models (1) construction of LB models: Shan, Yuan and Chen, J. Fluid Mechanics 550 (2006) 413 Projection of the distribution function f f (x, ξ, t) on the orthogonal basis in the momentum space formed up by the tensor Hermite polynomials H (n) (ξ) : 1 f f (x, ξ, t) = ω(ξ) n! a(n) (x, t) H (n) (ξ) n=0 a (n) a (n) (x, t) = f (x, ξ, t) H (n) (ξ) ξ A similar projection is performed for the equilibrium distribution function f (eq) 1 = ω(ξ) n! a(n) eq (x, t) H (n) (ξ)... and for the derivative ξ f in the force term: 1 ξ f = ω(ξ) n! a(n) (x, t) H (n+1) (ξ) n=0 n=0 instead of the widely used approximation ξ f ξ f (eq) = 1 k B T (ξ u) f (eq) 4 / 22

The Boltzmann distribution function Lattice Boltzmann models based on Gauss-Hermite quadratures Gauss-Hermite Lattice Boltzmann models (2) In practice, f and f (eq) are truncated up to order N. The momentum space is discretized using the Gauss-Hermite quadrature of order Q = N + 1 on each Cartesian axis; in 2D, this procedure gives the HLB model of order N with K = Q Q vectors ξ k and the corresponding weights w k f N (x, ξ, t) ω(ξ) N n=0 1 n! a(n) (x, t) H (n) (ξ), f k = w k ω(ξ k ) f N (x, ξ k, t) The set of distribution functions {f k } evolve on a 2D square lattice: t f k + ξ k,γ γ f k = 1 τ [ fk f (eq) k ] + Fk, 1 k K After solving these equations one can find the evolution of all 2D moments of f N up to order s α N : N M nx,ny f N ξ nx x ξ ny y dξ x dξ y = f k ξ nx k,x ξny. k,y For isothermal systems, the Navier-Stokes equations are recovered for N = 3 The widely used value N = 2 is sufficient only in the incompressible limit k=1 5 / 22

The Boltzmann distribution function Lattice Boltzmann models based on Gauss-Hermite quadratures Gauss-Hermite Lattice Boltzmann models (3) Shan, Yuan and Chen, J. Fluid Mechanics 550 (2006) 413 the expressions of f (eq) and F k up to order N = 3 : { f (eq) =w k k ρ 1 + ξ k u + 1 [ (ξk u) 2 u 2 + (T 1)(ξ 2 k 2 2)] + ξ k u [ (ξk u) 2 3u 2 + 3(T 1)(ξ 2 k 6 4)]} F k =w k ρ { ξ k g + (ξ k g)(ξ k u) g u + a(2) 2ρ [ (ξk g)h (2) (ξ k ) 2gξ k ] } To get the van der Waals equation of state and the surface tension, one sets g = 1 ρ (pi p w ) + κ ( ρ) p i = ρt p w = 3ρT 3 ρ 9 8 ρ2 a 25 point stencil is used to compute (p i p w ) and ( ρ) in 2D : M.Patra and M.Karttunen, Numer. Methods. Partial Differ. Eqs. 22 (2006) 936 S.Leclaire, M. El-Hachem, J.Y.Trepanier, M.Reggio, J. Sci. Comput. 59 (2014) 545 6 / 22

The Boltzmann distribution function Lattice Boltzmann models based on Gauss-Hermite quadratures The Corner Transport Upwind scheme (i 1,j) ξ δ t (i 1,j) (i,j) (i,j) (i 1,j 1) (i,j 1) (i 1,j 1) (i,j 1) f t+δt k;(i,j) = 1 (δs) 2 [ f t k;(i,j) (δs ξ xδt)(δs ξ y δt) + f t k;(i 1,j 1) (ξ xδt)(ξ y δt) + f t k;(i 1,j) (ξ xδt)(δs ξ y δt) + f t k;(i,j 1) (δs ξ xδt)(ξ y δt) ] CFL condition: max k { ξ k,x δt, ξ k,y δt } δs collision - streaming scheme: ξ x δt = ξ y δt = δs P. Colella, J. Comput. Phys. 87 (1990) 171, T. Biciuşcă, A. Horga, V. Sofonea, Comptes Rendus Mech. 343 (2015) 580 7 / 22

Phase separation - implementation on GPU systems Tesla M2090 card from NVIDIA : 6 GB memory, 512 CUDA cores Use of the shared memory to calculate the force term Size of the 2D liquid - vapour system simulated on a single M2090 card: 4096 4096 nodes The HLB model of order N = 3 has 16 distribution functions in each node more than 256,000,000 values to be updated at each time step Lattice spacing δs = 1/128, time step δt = 10 4 Relaxation time τ = 10 3 Navier-Stokes level The values of Minkowski functionals (total area A of the drops, total perimeter P and number of drops N) calculated using the algorithm described in K. Michielsen and H. De Raedt, Physics Reports 347 (2001) 461 8 / 22

Liquid - vapour phase diagram 1 0.95 maxwell construction N=2 Q=3 Hermite force N=2 Q=3 feq force N=3 Q=4 Hermite force maxwell construction N=2 Q=3 Hermite force N=2 Q=3 feq force N=3 Q=4 Hermite force Navier Stokes Kn negligible relaxation time τ = 0.001 temperature 0.9 0.85 0.8 0.75 0.7 force term liquid phase relative error % T=0.70 N2-Hermite 0.01140 N2-feq 0.05303 N3-Hermite 0.01593 gas phase T=0.70 N2-Hermite 1.46506 N2-feq 7.06494 N3-Hermite 2.04941 0 1 2 3 4 5 6 7 1 / density The Hermite force term gives smaller errors in the phase diagram than the f (eq) force term ξ f ξ f (eq) even for small values of Kn (or τ)! T. Biciuşcă, A. Horga, V. Sofonea, Comptes Rendus Mech. 343 (2015) 580 9 / 22

The Boltzmann equation Phase separation ρmean = 0.90 iter = 20000 iter = 50000 iter = 100000 iter = 500000 iter = 1000000 iter = 2000000 10 / 22

The Boltzmann equation Phase separation ρmean = 1.30 iter = 20000 iter = 50000 iter = 100000 iter = 200000 iter = 500000 iter = 600000 11 / 22

ρ mean = 0.90 : Evolution of Minkowski functionals 1.7e+07 30000 2e+06 total area of the drops number of drops 15000 total perimeter of the drops 1e+06 8.5e+06 25000 50000 iterations 0 25000 50000 iterations 0 25000 50000 iterations 12 / 22

2D phase separation under gravity 13 / 22

Phase separation in 2D : linear temperature gradient Lattice size: 256 256 nodes t = 0 t = 0.5 T left wall = 0.80 T right wall = 0.90 ρ mean = 0.80 The liquid phase heads towards the cold wall t = 1.0 t = 1.5 14 / 22

The Boltzmann equation T = 0.85 : Liquid - vapour separation on a 3D lattice with 128 x 128 x 128 nodes iter = 10000 iter = 160000 15 / 22

2D cavitation Rayleigh Plesset equation Rayleigh-Plesset equation in 2D : r = R B (boundary radius) ln ( r R )[( dr ) 2 d 2 R ] 1 + R dt dt 2 2 R(t) RB [ 1 R 2 r 2 R / δs 10 3 10 2 ]( dr ) 2 σ + dt ρ L R + 2µ L dr ρ L R dt = p R(t) p (t). ρ L 0 5000 10000 t / δt x 10 2 t = 0 t = 5.0 T. Biciuşcă, V. Sofonea, G. Gonnella, A. Lamura, submitted to Physical Review E (2015) square lattice L L nodes L = 2048 L = 4096 T = 0.80 ρ L = 1.932703 ρ V = 0.244658 ρ r>rb = 1.923 lines: RP solution LB results : dots 16 / 22

2D cavitation shear flow Capillary number Ca = µ L γ ˆR σ average bubble radius ˆR = (a + b)/2 liquid viscosity µ L shear rate γ surface tension σ bubble deformation D = (a b)/(a + b) D(Ca) = linear for Ca < 0.2 D 0.6 0.4 0.2 A rel 1 10-2 bubble area A rel = A/L 2 L = 4096 0 0 0.25 0.5 0.75 1 Ca 10-4 0 5000 10000 t / δt x 10 2 17 / 22

Phase separation in a thermal liquid vapour system (1) Initial temperature = critical value T c = 1.0, lattice size: 512 256 nodes Walls temperature T wall = 0.90 = heat extraction and phase separation 2D LB model with variable temperature (Watari and Tsutahara, 2003) t = 1.0 t = 5.0 t = 20.0 t = 50.0 18 / 22

Phase separation in a thermal liquid vapour system (2) 0.98 1.8 0.97 1.6 0.96 temperature 0.95 0.94 0.93 density 1.4 1.2 1 0.92 0.91 0.8 0.9 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0.6 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 x coordinate x coordinate Temperature Density Temperature and density profiles at t = 50.0 G.Gonnella, A.Lamura, V.Sofonea Lattice Boltzmann simulation of thermal non-ideal fluids Physical Review E 76 (2007) 036703 19 / 22

Two-component lattice Boltzmann model Consider a 2D two-component fluid (σ = 0, 1): t f σ + p m f σ F σ p f = 1 τ σ [ f σ f σ,eq]. EQ method used for the momentum gradient: F σ p f F p mu mt f σ,eq. The inter-particle interaction of strength ω and the surface tension described by κ is modelled as: F σ = ω X 1 σ + κ ( 2 X σ ), where X σ = n σ /(n 0 + n 1 ) is the mole fraction of species σ. A. Cristea, A. Neagu, Biofabrication, under revision. 20 / 22

Fusion of multicellular cylinders in a hexagonal arrangement 3D organ printing technology First row: cylindrical fusion. Second row: Printing defect - structural collapse. A. Cristea, A. Neagu, Biofabrication (in press). 21 / 22

Conclusion Full-range Lattice Boltzmann models based on the Gauss- Hermite quadrature provide a convenient tool for the simulation of multiphase fluids appropriate force terms need to be considered for single- or multi-component fluids in order to achieve the phase separation Finite difference and finite volume schemes can be used to evolve the values of the distribution function on a square lattice isothermal systems : models of order N = 3 (Q = 4) are required number of velocities: 4 (1D), 16 (2D) and 64 (3D) thermal systems : models of order N = 4 (Q = 5) are required number of velocities: 5 (1D), 25 (2D) and 125 (3D) Acknowledgments This work was partially supported by a grant of the Romanian National Authority for Scientific Research, CNCS-UEFISCDI, Project No. PN-II-ID-PCE-2011-3-0516. 22 / 22