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

Similar documents
The lattice Boltzmann method for contact line dynamics

Differential relations for fluid flow

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

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

Lattice Boltzmann Method for Fluid Simulations

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

Simulation of Rarefied Gas Flow in Slip and Transitional Regimes by the Lattice Boltzmann Method

Fluid Mechanics Theory I

Lattice Boltzmann Method

Proposed approximation for contact angles in Shan-and-Chen-type multicomponent multiphase lattice Boltzmann models

Homework #4 Solution. μ 1. μ 2

Numerical Simulation of Viscous Fingering Phenomenon in Immiscible Displacement of Two Fluids in Porous Media Using Lattice Boltzmann Method

ROLE OF PORE-SCALE HETEROGENEITY ON REACTIVE FLOWS IN POROUS MATERIALS: VALIDITY OF THE CONTINUUM REPRESENTATION OF REACTIVE TRANSPORT

Free energy concept Free energy approach LBM implementation Parameters

Relative permeabilities and coupling effects in steady-state gas-liquid flow in porous media: A lattice Boltzmann study

Lattice Boltzmann Method for Fluid Simulations

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

Fundamentals of Fluid Dynamics: Elementary Viscous Flow

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

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids

LATTICE BOLTZMANN MODELLING OF PULSATILE FLOW USING MOMENT BOUNDARY CONDITIONS

Microfluidics 1 Basics, Laminar flow, shear and flow profiles

arxiv:comp-gas/ v1 28 Apr 1993

NUMERICAL INVESTIGATION OF THERMOCAPILLARY INDUCED MOTION OF A LIQUID SLUG IN A CAPILLARY TUBE

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

APPRAISAL OF FLOW SIMULATION BY THE LATTICE BOLTZMANN METHOD

Numerical Simulation of the Hagemann Entrainment Experiments

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

Derivation of continuum models for the moving contact line problem based on thermodynamic principles. Abstract

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

Slow viscous flow in a microchannel with similar and different superhydrophobic walls

Simulation of floating bodies with lattice Boltzmann

CHAPTER 1 Fluids and their Properties

Nonlinear shape evolution of immiscible two-phase interface

SECONDARY MOTION IN TURBULENT FLOWS OVER SUPERHYDROPHOBIC SURFACES

HYDRAULICS STAFF SELECTION COMMISSION CIVIL ENGINEERING STUDY MATERIAL HYDRAULICS

PHYSICS OF FLUID SPREADING ON ROUGH SURFACES

MODELLING OF THE BOUNDARY CONDITION FOR MICRO CHANNELS WITH USING LATTICE BOLTZMANN METHOD (LBM)


Numerical simulation of polyurethane foaming processes on bubble scale

PORE-SCALE SIMULATION OF MASS TRANSFER ACROSS IMMISCIBLE INTERFACES

Computational Fluid Dynamics 2

OpenFOAM selected solver

NUMERICAL SIMULATION OF MICRO-FILTRATION OF OIL-IN-WATER EMULSIONS. Tohid Darvishzadeh

Computational fluid dynamics study of flow depth in an open Venturi channel for Newtonian fluid

Numerical Simulation of Newtonian and Non-Newtonian Flows in Bypass

Computers and Mathematics with Applications. Investigation of the LES WALE turbulence model within the lattice Boltzmann framework

PREDICTION OF INTRINSIC PERMEABILITIES WITH LATTICE BOLTZMANN METHOD

Model Studies on Slag-Metal Entrainment in Gas Stirred Ladles

P = 1 3 (σ xx + σ yy + σ zz ) = F A. It is created by the bombardment of the surface by molecules of fluid.

Flow Focusing Droplet Generation Using Linear Vibration

6.2 Governing Equations for Natural Convection

Welcome to MECH 280. Ian A. Frigaard. Department of Mechanical Engineering, University of British Columbia. Mech 280: Frigaard

Detailed numerical investigations of two-phase flow and transport. narrow channels. Dr.-Ing. Martin Wörner. Institut für Kern- und Energietechnik

The Study of Natural Convection Heat Transfer in a Partially Porous Cavity Based on LBM

The official electronic file of this thesis or dissertation is maintained by the University Libraries on behalf of The Graduate School at Stony Brook

7. Basics of Turbulent Flow Figure 1.

LATTICE BOLTZMANN SIMULATION OF FLUID FLOW IN A LID DRIVEN CAVITY

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

On the lattice Boltzmann method for multiphase flows

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

Lattice Boltzmann approach to liquid - vapour separation

fluid mechanics as a prominent discipline of application for numerical

Numerical simulation of wave breaking in turbulent two-phase Couette flow

Effects of viscoelasticity on droplet dynamics and break-up in microfluidic T-Junctions: a lattice Boltzmann study

Application of the immersed boundary method to simulate flows inside and outside the nozzles

PORE-SCALE PHASE FIELD MODEL OF TWO-PHASE FLOW IN POROUS MEDIUM

FLOWS IN LIQUID FOAMS

Entropy 2011, 13, ; doi: /e OPEN ACCESS. Entropy Generation at Natural Convection in an Inclined Rectangular Cavity

FEniCS Course. Lecture 6: Incompressible Navier Stokes. Contributors Anders Logg André Massing

TABLE OF CONTENTS CHAPTER TITLE PAGE

Turbulence is a ubiquitous phenomenon in environmental fluid mechanics that dramatically affects flow structure and mixing.

Superhydrophobic surfaces: stability of the Cassie-Baxter state and its effect on liquid water slippage

Masters in Mechanical Engineering. Problems of incompressible viscous flow. 2µ dx y(y h)+ U h y 0 < y < h,

Lattice Boltzmann model for the Elder problem

2, where dp is the constant, R is the radius of

Absorption of gas by a falling liquid film

68 Guo Wei-Bin et al Vol. 12 presented, and are thoroughly compared with other numerical data with respect to the Strouhal number, lift and drag coeff

Detailed Numerical Simulation of Liquid Jet in Cross Flow Atomization: Impact of Nozzle Geometry and Boundary Condition

MODENA. Deliverable 3.2. WP s leader: TU/e. Simulations for foams, dispersion and mixing and developed SW. Principal investigator:

2.3 The Turbulent Flat Plate Boundary Layer

DNS STUDY OF TURBULENT HEAT TRANSFER IN A SPANWISE ROTATING SQUARE DUCT

IHTC DRAFT MEASUREMENT OF LIQUID FILM THICKNESS IN MICRO TUBE ANNULAR FLOW

Grad s approximation for missing data in lattice Boltzmann simulations

A numerical analysis of drop impact on liquid film by using a level set method

Steady and Unsteady Computational Results of Full Two Dimensional Governing Equations for Annular Internal Condensing Flows

Exercice I Exercice II Exercice III Exercice IV Exercice V. Exercises. Boundary Conditions in lattice Boltzmann method

Getting started: CFD notation

Numerical Simulation of Film Flow over an Inclined Plate: Effects of Solvent Properties and Contact Angle

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

Shell Balances in Fluid Mechanics

PORE-SCALE SIMULATION OF MULTIPHASE FLOW USING LATTICE BOLTZMANN METHOD: DEVELOPMENTS AND APPLICATIONS. Jingwei Huang

This report shows the capabilities of Tdyn for modelling the fluid flow through porous media.

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

LATTICE BOLTZMANN METHOD AND DIFFUSION IN MATERIALS WITH LARGE DIFFUSIVITY RATIOS

Predictor-Corrector Finite-Difference Lattice Boltzmann Schemes

A combined application of the integral wall model and the rough wall rescaling-recycling method

1 Modeling Immiscible Fluid Flow in Porous Media

LINEAR STABILITY ANALYSIS AND DIRECT NUMERICAL SIMUALATION OF DOUBLE-LAYER RAYLEIGH-BÉNARD CONVECTION

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

Transcription:

Simulation of T-junction using LBM and VOF ENERGY 224 Final Project Yifan Wang, yfwang09@stanford.edu 1. Problem setting In this project, we present a benchmark simulation for segmented flows, which contain discrete droplets and bubbles in micro-channels at small capillary number. In order to test the behavior of LBM and VOF methods, we choose the same setting for the simulation. Cutting of non-wetting phase in T-shaped micro-channel. The 2D problem setting is shown in Figure 1: Figure 1. Micro-channel geometry As the figure shown, the main channel (filled with wetting phase at beginning) is 1mm wide and 2cm long, with a wetting phase inlet on the left and outlet on the right. The branch channel (filled with non-wetting phase at beginning) is 1mm wide and connects with main channel at 2mm from the wetting phase inlet. The branch channel has a nonwetting phase inlet at the top. For the boundary conditions with this problem, we set up constant velocity boundaries for both inlets, and we set a constant pressure boundary at the outlet. For simplicity, we apply all non-slip walls for the whole channel. 2. Numerical Method For the same setting, we use LBM and VOF, two different approaches to solve the problem. 2.1 Volume of fluid (VOF) with OpenFOAM TM In the VOF method, we solve Navier-Stokes equation and continuity equation for each phase simultaneously for the whole flow field. We consider Newtonian, incompressible and immiscible for both phases. 2.1.1 Governing equations [1] The governing equations can be written as: U = 0

ρ b U + (ρ t b UU) = p + μ b ( U + U T ) + ρ b f + F s α + (αu) = 0 t where U is the fluid velocity; p is the pressure; f is the gravitational force; and F s is the volumetric representation of the surface tension. The bulk density ρ b and viscosity μ b are averages over two phases: ρ b = ρ w α + ρ n (1 α) μ b = μ w α + μ n (1 α) where ρ w, ρ n representing density for wetting and non-wetting phases, and μ w, μ n are viscosity for wetting and non-wetting phases. The surface tension is represented as a volumetric force F s, F s = γκ( α) where κ = ( α/ α ) is the curvature of the interface. 2.1.2 Algorithm analysis In order to solve for the PDE, we discretize the system with 1x1mm size blocks with blockmesh in OpenFOAM. In this case, the main channel was discretized into 200x10 blocks and the branch channel was discretized into 10x20 blocks. The discretization plot is shown in Figure 2. Figure 2. blockmesh Geometry Then we specify uniform velocity and zero-gradient pressure at inlets. At outlets, we specify fixed-value pressure and zero-gradient velocity. We also set walls to be non-slip. 2.2 Lattice Boltzmann Method (LBM) LBM is a new approach developed in recent 20 years. In this approach, we treat the fluid with Boltzmann distribution. For the fluid particle at certain spatial and temporal location (x, t), we have a Boltzmann function f (x,t) (x ) to describe the probability distribution of this certain fluid particle in the flow field. From the Boltzmann function, we can derive lot information, including the density, the velocity and a lot more at (x, t): ρ(x, t) = f (x,t) (x ) dv, (x D) D ρu(x, t) = (x x) f (x,t) (x ) D dv, (x D) where D is the flow domain.

2.2.1 The idea of Lattice Boltzmann functions It is impossible to record complete Boltzmann functions in the simulator. The idea of Lattice Boltzmann is discretizing the flow domain into lattice blocks. For certain position (x, t), which is the center of a certain block, we again discretize Boltzmann function to fit in the blocks in the flow domain. We only choose Boltzmann function from the block itself and surrounding blocks to approximate the entire Boltzmann distribution. For our 2D case, the Boltzmann function we use for every flow domain block includes 9 values in total. For a multi-component system, we record every component s Boltzmann function for every lattice block as f i,σ (x, t), where i is the number of lattice blocks in the flow field, and σ represents the component. 2.2.2 Governing equations (discretized) from LBGK [2] Here we set time step as δ t. The governing equations for Lattice Boltzmann Method is an explicit evolution equation for the Boltzmann function: f i,σ (x + e i δ t, t + δ t ) f i,σ (x + e i δ t, t) = 1 τ [f i,σ(x, t) f (eq) i,σ (x, t)] Where the equilibrium Boltzmann distribution f (eq) i,σ is generated from DnQb [3] model f (eq) i,σ = ω i ρ [1 + e i u + (e i u) 2 u2 c2 s 2c4 s 2c2 ] s Where for 2D problem: (0,0)c, i = 5(center) (i 1)π (i 1)π [cos, sin ] c, i = 1,3,7,9(corner) e i = 2 2 (2i 9)π (2i 9)π 2 [cos, sin ], i = 2,4,6,8(edge) { 4 4 4, i = 5(center) 9 1 ω i =, i = 1,3,7,9(corner) 9 1 {, i = 2,4,6,8(edge) 36 c 2 s = 1 3 c = 1 3 δ t The relaxation time is related to the kinematic viscosity: δ x ν σ = (τ σ 1 2 ) c s 2 δ t And then we can calculate macroscopic properties from the Boltzmann function: ρ σ = f temp i,σ (x, t) i ρ σ u = e i f temp i,σ (x, t) i

2.2.3 Multicomponent model from Shan-Chen [3] We implement the Shan-Chen attractive or repulsive interaction among components to describe multiphase behavior. If the repulsive interaction is large enough, the components will separate spontaneously to form different phases. And this force can guarantee phase separation and introduce surface-tension effects. This interaction is introduced after we calculate the macroscopic properties of the fluid and we make corrections to the density and velocity. The interaction potential between component σ and σ is: F σ (x) = ρ σ (x) (G σσ [ρ σ (x + e i δ t )e i ω i ]) σ Also in order to describe the contact angle, we introduce interactions between fluid and solid wall: F ads (x) = ρ σ (x) (G σσ [s(x + e i δ t )e i ω i ]) Then we correct the velocity by (original velocity is u σ ): u σ (eq) = u + τ σ δ t F σ ρ σ, Where the new velocity of fluid is u σ (eq). 3. Results and comparison 3.1 T-junction Cutting of oil bubble σ i i u = ρ σu σ τ σ σ ρ σ We run the OpenFoam and LBM for the same settings, where the two fluids have same kinematic viscosity (ν = 6 10 5 m 2 /s), and the contact angle of oil phase is 45 o. We set the initial state which the main channel is filled with wetting phase and the branch channel filled with non-wetting phase. The initial distribution was shown in Figure 1. The following figure 3 shows the initial state for LBM and VOF. σ τ σ Figure 3a. Initial setting for LBM

Figure 3b. Initial setting for VOF If we compare results from both methods, we can observe a similar oil bubble cutting procedure as figure 4 shows. We can see the bubble have very similar size and location at the same time. Figure 4a. t = 0.01s, Left: LBM, Right: VOF Figure 4b. t = 0.40s, Left: LBM, Right: VOF

Figure 4c. t = 0.80s, Left: LBM, Right: VOF Figure 4d. t = 1.00s, Left: LBM, Right: VOF Figure 4e. t = 1.20s, Left: LBM, Right: VOF

Figure 4f. t = 1.30s, Left: LBM, Right: VOF Figure 4g. t = 1.40s, Left: LBM, Right: VOF Figure 4h. t = 1.50s, Left: LBM, Right: VOF

Figure 4i. t = 1.70s, Left: LBM, Right: VOF We can observe that in LBM, the droplet forming time is shorter than VOF, and the bubble size is smaller than VOF. When the droplet is getting off the branch channel, in LBM method, the droplet directly will stick to the bottom wall; while in VOF, the droplet has phase interface diffusion. The problem might because the gridding is not fine enough around the intersection of main and branch channel. Take a finer gridding might improve the behavior in this problem. However, if we just consider the flow behavior of T- junction cutting, both methods describe the problem very good. Then we compare results for velocity field in Figure 5. Both methods have similar behavior that there is rotational flow at the edge of the bubble. Figure 5. Velocity field when droplet takes off (t = 0.62s) Figure 6. Velocity field after droplet takes off (t = 1.48s) This behavior can be explained by the conservation of angular momentum. When wetting phase in the main channel flow through, it gives the non-wetting phase droplet a counter-clockwise angular momentum by viscous force. This angular momentum is conserved by non-wetting phase droplet finally developed into a rotational flow. After the droplet takes off from the intersection, the rotational flow is reduced by friction with channel walls. As Figure 6 shows, the rotational flow is weaker than in figure 5.

4. Conclusion and further research Our work compared two different numerical simulation methods: Lattice Boltzmann and Volume of Fluid for the same T-junction 2-phase flow simulation. The results already show that both method have very good potential in simulating micro-scale flow regime problems. Since we just start from very simple model for both approach, the simulation behavior can be continued improving by introducing more correction method to the models. Acknowledgement The author gratefully acknowledge the support from Dr. Cyprien Soulaine for detailed coaching on OpenFOAM and valuable ideas during discussion. References: [1] Hoang, Duong A., et al. "Benchmark numerical simulations of segmented two-phase flows in microchannels using the Volume of Fluid method." Computers & Fluids 86 (2013): 28-36. [2] Zhang, Renliang, et al. "Lattice Boltzmann simulations of apparent slip and contact angle in hydrophobic micro-channels." arxiv preprint arxiv:1303.7413(2013). [3] Shan X, Chen H. Lattice Boltzmann model for simulating flows with multiple phases and components[j]. Physical Review E, 1993, 47(3): 1815.