05.03.2015 Views

Thesis for degree: Licentiate of Engineering

Thesis for degree: Licentiate of Engineering

Thesis for degree: Licentiate of Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

(2.6)<br />

where f a is the PDF, e a the velocity and a the collision term at any spatial location x and time<br />

t along the direction a. The time is increased by the time step Δt. The macroscopic fluid<br />

density is [3]:<br />

(2.7)<br />

The macroscopic velocity u is evaluated by the microscopic velocities e a and the PDF f a and<br />

divided by the macroscopic fluid density ρ as [3]:<br />

(2.8)<br />

This allows the LBM to recover the continuum macroscopic parameters from the discrete<br />

microscopic ones, in this case by the velocities. The distribution function presented in<br />

equation (2.6), called the single relaxation time BGK (Bhatnagar-Gross-Krook) LBM, is one<br />

<strong>of</strong> the simplest models [3, 14]. The BGK is described by using one relaxation time <strong>for</strong> the<br />

collision term. The collision term consists <strong>of</strong> the present PDF and the relaxation toward the<br />

local equilibrium. The collision term Ω a and the D2Q9 equilibrium distribution function f a<br />

eq<br />

are defined as [3]:<br />

(2.9)<br />

(2.10)<br />

where w a is 4/9 <strong>for</strong> the particle a = 0, 1/9 <strong>for</strong> a = 1, 2, 3, 4 and 1/36 <strong>for</strong> a = 5, 6, 7, 8, and τ is<br />

the relaxation number [14-16]. In the simplest implementation the basic speed on the lattice c,<br />

which is also called the lattice speed <strong>of</strong> sound, is 1 lu/ts [16].<br />

When the mass diffusion is modeled in LBM, two approaches are <strong>of</strong>ten used; pure diffusion<br />

or advection-diffusion (also called convection-diffusion). Both pure diffusion and advectiondiffusion<br />

is simulated by another equilibrium distribution f ζ,a eq which is very much alike the<br />

normal fluid distributions function but with a simpler equilibrium equation. For the first case<br />

with pure diffusion only the equilibrium function is defined as [3]:<br />

(2.11)<br />

In the second case, advection-diffusion, which is applied here, the equilibrium function will<br />

include a second term to handle the convective velocity. The equilibrium function is defined<br />

as [3]:<br />

(2.12)<br />

The mixing due to density variations and buoyant effects in porous media can here be handled<br />

as advective and diffusive components rather than an input parameter (such as porosity). For a<br />

porous media, the collision term is considered as a second intermediate step after the<br />

10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!