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

Similar documents
Equivalence between kinetic method for fluid-dynamic equation and macroscopic finite-difference scheme

Multi species Lattice Boltzmann Models and Applications to Sustainable Energy Systems

EULERIAN DERIVATIONS OF NON-INERTIAL NAVIER-STOKES EQUATIONS

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

A one-point boundary condition for the lattice Boltzmann method

Generalized Local Equilibrium in the Cascaded Lattice Boltzmann Method. Abstract

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

Lattice Boltzmann Method for Moving Boundaries

Lattice Boltzmann Method

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

Predictor-Corrector Finite-Difference Lattice Boltzmann Schemes

Free energy concept Free energy approach LBM implementation Parameters

On the lattice Boltzmann method for multiphase flows

Lattice Boltzmann Method for Fluid Simulations

Computational Fluid Dynamics 2

Analysis and boundary condition of the lattice Boltzmann BGK model with two velocity components

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

PREDICTION OF INTRINSIC PERMEABILITIES WITH LATTICE BOLTZMANN METHOD

Connection Between the Lattice Boltzmann Equation and the Beam Scheme

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

LATTICE BOLTZMANN MODELLING OF PULSATILE FLOW USING MOMENT BOUNDARY CONDITIONS

Fundamentals of Fluid Dynamics: Elementary Viscous Flow

Semi-implicit-linearized Multiple-relaxation-time formulation of Lattice Boltzmann Schemes for Mixture Modeling. Abstract


The lattice Boltzmann method for contact line dynamics

Grad s approximation for missing data in lattice Boltzmann simulations

Analysis of the Lattice Boltzmann Method by the Truncated Moment System

ρ Du i Dt = p x i together with the continuity equation = 0, x i

Fluid dynamics is the study of flows of fluid. However, before we begin discussing the dynamics of

Fluid-Particles Interaction Models Asymptotics, Theory and Numerics I

3.5 Vorticity Equation

arxiv:comp-gas/ v1 28 Apr 1993

Candidates must show on each answer book the type of calculator used. Log Tables, Statistical Tables and Graph Paper are available on request.

arxiv:comp-gas/ v1 15 Jun 1993

Fluid Equations for Rarefied Gases

2. FLUID-FLOW EQUATIONS SPRING 2019

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

Hydrodynamic Limits for the Boltzmann Equation

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

UNIVERSITY OF EAST ANGLIA

1 More on the Bloch Sphere (10 points)

Fluid Equations for Rarefied Gases

Lattice Boltzmann Method for Fluid Simulations

Numerical methods for the Navier- Stokes equations

Alternative and Explicit Derivation of the Lattice Boltzmann Equation for the Unsteady Incompressible Navier-Stokes Equation


DIMENSIONAL ANALYSIS IN MOMENTUM TRANSFER

Lecture 1. Hydrodynamic Stability F. H. Busse NotesbyA.Alexakis&E.Evstatiev

LATTICE BOLTZMANN SIMULATION OF FLUID FLOW IN A LID DRIVEN CAVITY

Diffusion Equation and Mean Free Path

Week 2 Notes, Math 865, Tanveer

APPRAISAL OF FLOW SIMULATION BY THE LATTICE BOLTZMANN METHOD

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

Chapter 4: Fundamental Forces

Physical Modeling of Multiphase flow. Boltzmann method

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

Units and Dimensions. Lecture 1. Introduction to Chemical Engineering Calculations

Schemes for Mixture Modeling

UNIVERSITY of LIMERICK

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

Differential relations for fluid flow

F11AE1 1. C = ρν r r. r u z r

Physical Chemistry II Exam 2 Solutions

Vorticity Equation Marine Hydrodynamics Lecture 9. Return to viscous incompressible flow. N-S equation: v. Now: v = v + = 0 incompressible

Why Should We Be Interested in Hydrodynamics?

Computers and Mathematics with Applications

Lattice Boltzmann approach to liquid - vapour separation

Lattice Boltzmann Simulations of 2D Laminar Flows past Two Tandem Cylinders

The lattice Boltzmann equation (LBE) has become an alternative method for solving various fluid dynamic

Eddy viscosity. AdOc 4060/5060 Spring 2013 Chris Jenkins. Turbulence (video 1hr):

V. MODELING, SIMILARITY, AND DIMENSIONAL ANALYSIS To this point, we have concentrated on analytical methods of solution for fluids problems.

Basic concepts in viscous flow

Laminar Boundary Layers. Answers to problem sheet 1: Navier-Stokes equations

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

CHAPTER-III GENERAL GROUP THEORETIC TRANSFORMATIONS FROM BOUNDARY VALUE TO INITIAL VALUE PROBLEMS

ME 331 Homework Assignment #6

SG2221 Wave Motion and Hydrodinamic Stability. MATLAB Project on 2D Poiseuille Flow Alessandro Ceci

Turbulence modulation by fully resolved particles using Immersed Boundary Methods

Parabolic Flow in Parallel Plate Channel ME 412 Project 4

A Unified Gas-kinetic Scheme for Continuum and Rarefied Flows

Fluid Dynamics Exercises and questions for the course

An improved unified gas-kinetic scheme and the study of shock structures

Capillary-gravity waves: The effect of viscosity on the wave resistance

1 Mathematical preliminaries

Turbulence Modeling. Cuong Nguyen November 05, The incompressible Navier-Stokes equations in conservation form are u i x i

A numerical method for incompressible non-newtonian fluid flows based on the lattice Boltzmann method

From Navier-Stokes to Saint-Venant

Vortex knots dynamics and momenta of a tangle:

Physics 581, Quantum Optics II Problem Set #4 Due: Tuesday November 1, 2016

NON-DARCY POROUS MEDIA FLOW IN NO-SLIP AND SLIP REGIMES

STEADY VISCOUS FLOW THROUGH A VENTURI TUBE

Exam in Fluid Mechanics 5C1214

Chapter 1: Concept of similarity. Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey

The dependence of the cross-sectional shape on the hydraulic resistance of microchannels

arxiv: v2 [math-ph] 14 Apr 2008

Time dependent slip flow of a micropolar fluid between two parallel plates through state space approach

Candidates must show on each answer book the type of calculator used. Only calculators permitted under UEA Regulations may be used.

Lattice Boltzmann Method

Euler equation and Navier-Stokes equation

Lecture 8: Tissue Mechanics

Transcription:

On the relation between lattice variables and physical quantities in lattice Boltzmann simulations Michael Junk Dirk Kehrwald th July 6 Kaiserslautern, Germany

CONTENTS Contents Initial situation Problem scale Lattice scale Asymptotic analysis scale 5 Using the asymptotic analysis 5 6 Comparison to the previous approach 7 7 A specific example 7

Initial situation Initial situation In a domain [, T ] Ω with Ω R d, d =,, the incompressible Navier-Stokes equations take the form with α u α =, t (ρu α ) + β (ρu α u β ) + α P = µ β β u α + ρa α () t : time in s ρ : density in kg m u α : components of the velocity vector in m s P : dynamic pressure in Pa = kg s m µ : hydrodynamic viscosity in Pa s = kg sm a α : components of the acceleration vector due to a volume force in m s t : time derivative α : space derivative in direction α. Dividing the momentum equation in () by the constant density ρ, we obtain with α u α =, t u α + β (u α u β ) + α p = ν β β u α + a α () p = P ρ ν = µ ρ : kinematic pressure in m s : kinematic viscosity in m s. Problem scale While SI units are important to communicate the size of physical constants, their use to characterize specific problems is limited. For that purpose, it is preferable

Lattice scale to choose intrinsic or problem related units. Specifically, we use a characteristic length L P [m], a characteristic time T P [s], a typical velocity U P [m/s] and characteristic acceleration A P [m/s ] and pressure P P [m /s ] to scale the Navier-Stokes equations (). The relevant, non-dimensional quantities are defined by and therefore α = x α L P, ū α = u α U P, t = t T P, = p P P, Inserting those relations into (), we obtain ( U P ) tū T P α + (U P ) L P ā α = a α A P, (a) t = T P t, α = L P α. (b) α ū α =, β (ū α ū β ) + P P L P α U P ν (L P ) β β ū α = A P ā α. If we connect time, length and velocity scale according to U P = L P /T P and choose P P = (U P ) as typical pressure, we obtain α ū α =, tū α + β (ū α ū β ) + α Re β β ū α = Fr āα where Reynolds and Froude number are defined by ( Re = LP U P U P ), Fr = ν L P A P. Lattice scale We consider a lattice Boltzmann algorithm of the form f i (t + δ t, x + δ t c i ) = f i (t, x) + J i (f(t, x)). Choosing the typical length L LB = δ x, the typical time T LB = δ t and the typical velocity U LB = c = δx/δt, we obtain the scaled quantities ˆx α = x α δ x, ĉ i = c i c, ˆt = t δ t,

Asymptotic analysis scale which lead to the lattice Boltzmann equation in usual form ˆf i (ˆt +, ˆx + ĉ i ) = ˆf i (ˆt, ˆx) + J i (ˆf(ˆt, ˆx)), where ˆρ = i ˆf i, ˆp = c s (ˆρ ), ˆρû = i ĉ i f i. If the same scaling is used for the Navier-Stokes equation, we recover the form with ˆ α û α =, ˆ ˆtûα + ˆ β (û α û β ) + ˆ α ˆp Re ˆ LB β ˆ β û α = Fr Re LB = cδ x ν, Fr LB = c δ x A P. LB āα Asymptotic analysis scale Using asymptotic analysis the relation between the lattice Boltzmann algorithm and the Navier-Stokes equation can be clarified. To simplify the computation, a scaling which is characteristic for both the flow problem and the algorithm is used. Specifically, the length scale is L A = L P, the velocity scale is U A = cδ x /L P with related time scale T A = L A /U A. This choice leads to a relation between scaled space and time steps x = δ x /L A and t = δ t /T A t = δ t T A = δ xu A cl A = δ xc c(l A ) = x. If the Navier-Stokes equations are non-dimensionalized with respect to the asymptotic analysis scale, they have the form α ũ α =, tũα + β (ũ α ũ β ) + α p Re A β β ũ α = Fr A āα () where Reynolds and Froude number are defined by Re A = LA U A, Fr A = ν ( U A ) L A A P.

Using the asymptotic analysis We remark that due to the definition of U A, we have Re A = Re LB, Fr A = Fr LB x The relation to the parameters in the problem scale is given by Re A = Re x ( ) x Ma, Fr A = Fr, Ma = U P Ma c Results of the asymptotic analysis (for example in []) can now easily be translated to the other relevant scales. 5 Using the asymptotic analysis In [] it is reported that for t = n t and x = j x, the algorithm f i (n +, j + ĉ i ) = f i (n, j) + J i ( f(n, j)) + x c s f i ĉi G(n, j) is consistent to the Navier-Stokes problem α ũ α =, tũα + β (ũ α ũ β ) + α p = provided the collision operator is of the form J i (f) = A(f eq (f) f) ( ψ ) κc s β β ũ α + G α (5) where the collision matrix A has eigenvectors Λ αβ i = c iα c iβ d c iγc iγ δ αβ with common eigenvalue λ = κc s/ψ. The flow variables (ũ, p) are connected to f via ρ = i f i, p x = c s ( ρ ), ũ x = i ĉ i fi. Due to L A = L P and Re A = Re x/ma we have U A = U P x/ma, and therefore α = x α L P = x α L A = x α = j x, t = U P L P t = Ma x ū α = u α U P = x Ma = U A p (U P ) = x Ma L A t = Ma x t = Ma x n t, u α U A = x Ma ũα, p (U A ) = x Ma p (6a) (6b) (6c) (6d) 5

Using the asymptotic analysis In order to match the required viscosity parameter /Re A in (), we need Re A = ψ ( κc s = κc s λ ) = ν. Using the relation between Re A and Re, we come to the conclusion ν = Re LB = Ma Re x Comparing (5) and (), we see that G α has to be equal to ā α /Fr A to make sure that the lattice Boltzmann algorithm approximates the correct problem. The force term in the algorithm thus needs to be of the form Fr A x c s fi c i ã = Fr c LB s f i c i ã = Fr Ma xc s f i c i ã. Note that the function ã differs from ā in () only in the time argument which is scaled with respect to T A instead of T P. In summary, the lattice Boltzmann algorithm f i (n +, j + ĉ i ) = f i (n, j) + J i ( f(n, j)) + Ma F r x c fi ĉi ā s (7a) is consistent to the Navier-Stokes problem α ũ α =, tũα + β (ũ α ũ β ) + α p = Ma x Re β β ũ α + Ma ā α x Fr. Keeping in mind that Ma = O( x) is required for consistency to the incompressible Navier-Stokes equations [] we choose an appropriate ϕ > such that Ma = ϕ x, so we can rewrite equations (7) in the form (7b) f i (n +, j + ĉ i ) = f i (n, j) + J i ( f(n, j)) + ϕ F r x c fi ĉi ā s (8a) respectively α ũ α =, and (6) reduces to tũα + β (ũ α ũ β ) + α p = ϕ Re β β ũ α + ϕ Fr āα, α = x α = j x, t = ϕ t = nϕ t, ū α = ũ ϕ, = p ϕ. (8b) 6

Comparison to the previous approach 6 Comparison to the previous approach Previously, a direct approach to express stationary Navier-Stokes equations () in lattice units was used at Fraunhofer ITWM. This approach was based on the simulation parameters ν and ǎ α as well as the characteristic quantities L LB = δx, U old = ν νδx, This approach leads to the scaled Navier-Stokes problem T old = νδx ν. ˇ α ǔ α =, ˇ ťǔ α + ˇ β (ǔ α ǔ β ) + ˇ α ˇp = ν ˇ β ˇ β ǔ α + ǎ α with ˇx α = x L LB, ť = t T old, ǔ α = u α U old, ˇp = p (U old ), ǎ α = δx (U old ) a α and the lattice Boltzmann algorithm ˇf i (ť + δt, ˇx + ĉ i δx) = ˇf (ť, )) i (ť, ˇx) + J i (ˇf ˇx + f ĉ i ǎ i c. s Comparing this model to equations (8), we find that the old model corresponds to the special case ϕ = U P L P U old δx, LP = L LB = δx in (8) and, therefore, to the lattice scale model discussed in Section. 7 A specific example We consider a flow in an infinite vertical channel filled with turpentine under the action of constant gravity. The width of the channel is mm, the initial velocity is zero, the hydrodynamic viscosity is µ = 9 µpa s, the density is ρ =.86 g/cm and the acceleration is (, g) where g = 9.8 m/s. 7

A specific example.5..5..5..5..5.5.5 x Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ =.5, and x = /6 As problem scales, we take L P = mm and A P = g. The velocity and time scales are then derived (for example) from the acceleration and length scale T P = L P /A P. s and U P = L P /T P = A P L P.99 m/s. As Reynolds and Froude number, we find Re = ρlp U P µ 57.7, Fr =. Since the force term is constant in space and time, we have ā = ã = (, ). The solution of the scaled Navier-Stokes problem has the form where v ( t, ) = Re Fr with limit value n= ū ( t, ) = (, v ( t, )), ( t, ) =. ( ( exp Fr ) ) Re tλ n λ sin (λ n), λ n = (n + )π n lim v( t, ) = Re ( ). t Fr In order to run a lattice Boltzmann simulation, we choose a discretization parameter x = δ x /L P and a suitable value for Ma = U P /c which should not be too far from x to ensure proper convergence to the Navier-Stokes equations. Setting Ma = ϕ x, the relaxation time parameter ν has to be set to ν = ϕ/re and the lattice Boltzmann algorithm reads ˆf i (n +, j + c i ) = ˆf i (n, j) + J i (ˆf(n, j)) ϕ x c s f i c iy A comparison of numerical and exact solutions (in the problem scale) for t {.,.,.6,.8,.,.}, ϕ {.5, 8.}, and x {/6, /} is given in Figures to. 8

A specific example.....5 6 x x Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ =.5, and x = /6...6.8 6 x.5.5 x Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =.6, ϕ =.5, and x = /6...6.8 x 5 5 x Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =.8, ϕ =.5, and x = /6 9

A specific example..6.8 x.5.5 x Figure 5 Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ =.5, and x = /6 x 9 8. x.5..5 Figure 6 Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ =.5, and x = /6.5..5..5.9.8.7.6.5.5.5 Figure 7 Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ = 8., and x = /6

A specific example.....5.6.5.. x 6 Figure 8 Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ = 8., and x = /6...6.8.6... 6 x 6 5 Figure 9 Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =.6, ϕ = 8., and x = /6...6.8..5..5..5.5 Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =.8, ϕ = 8., and x = /6

A specific example...6.8..6....8 x 6 Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ = 8., and x = /6.5 5 x.5.6 x 5...8 Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ = 8., and x = /6.5..5. x 6 x 8 Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ =.5, and x = /

A specific example.....5.5.5 x x Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ =.5, and x = /...6.8.5 x 5 x 5 Figure 5 Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =.6, ϕ =.5, and x = /...6 pbar.5 x.5 x.8 Figure 6 Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =.8, ϕ =.5, and x = /

A specific example...6.8 6 x x 5 5 Figure 7 Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ =.5, and x = /.5 x.5 x.5 Figure 8 Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ =.5, and x = /.5..5..5..5..5. 5 5 x 6 5 Figure 9 Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ = 8., and x = /

A specific example.....5 6 x 5.8 x 5...6 Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ = 8., and x = /...6.8 x 8 6 5.6 x 5 5.8 6 6. 6. 6.6 Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =.6, ϕ = 8., and x = /.5. x..8 6 x 5 8 Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =.8, ϕ = 8., and x = / 5

References...6.8.5 x.5 9 x 5 Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ = 8., and x = /...9.8 x 6 x 5 5 Figure Numerical velocity and analytical velocity (left), relative error ū u num as numerical pressure (right) for t =., ϕ = 8., and x = / References [] M. JUNK, A. KLAR, L.-S. LUO, Asymptotic analysis of the lattice Boltzmann equation, J. Comput. Phys. (5), pp. 676-7. 5 [] M. B. REIDER, J. D. STERLING, Accuracy of discrete-velocity BGK models for the simulation of the incompressible Navier-Stokes equations, Computers & Fluids (995), pp. 59-67. 6 6