Loading [MathJax]/jax/output/HTML-CSS/jax.js

Multispecies

Navigate: ← Features | Multispecies test case tutorial

Multispecies approach implemented in the code is based on the paper "Multi-species Lattice Boltzmann Model and Practical Examples. Short Course material Pietro Asinari PhD."

Equlibrium distribution function for multispecies is given in the paper as fσ(eq)α(ρ,uσ)=ωα[sσα+1c2s(eαuσ)+12c4s(eαuσ)21c2s(uσuσ)]

where, sσ0=(95ϕσ)/4 sσα=ϕσ for 1α8 and ϕσ=minς(mς)/mσ, pσ=ρσϕσ/3 mσ is molecular weight for species σ.

uσ is given as uσ=uσ+ςm2mσmςBσςBmmxς(uςuσ) xσ=ρσ/ρ

Relaxation time is given as

λσ=pBmmρ

Multispecies: Variable Transformation

A semi-implicit Lattice Boltzmann equation is given as,

fσ,+(x+e,t+1)=fσ(x,t)+(112)λσ[fσ(eq)fσ]+12λσ,+[fσ(eq),+fσ,+]

Variable transformation presented in above paper involves three steps

Step 1. Transforming f -> g

gσ=fσ12λσ[fσ(eq)fσ]

Step 2. Stream and Collide i.e g -> g^+

gσ,+=gσ+λσ1+12λσ[fσ(eq)gσ]

Step 3. Back Transormation to f i.e g^+ -> f^+

fσ,+=gσ,++12λσ,+fσ(eq),+1+12λσ,+

In back tranformation, to compute feq we need ρ and uσ ρ can be computed directly from g ρ+σ=<gσ,+>

where as the uσ computed by solving the linear system of equation given below

<eigσ,+>=[1+12λσ,+ς(χσςx+ς)]q+σ,i12λσ,+x+σς(χσςq+ς,i)

where, χσς is, χσς=m2mσmςBσςBσσ

Todo

use for optimized routine fortran !West u_n(1) = - uxstar(s) !south u_n(2) = - uystar(s) !bottom u_n(3) = - uzstar(s) !east u_n(4) = uxstar(s) !north u_n(5) = uystar(s) !top u_n(6) = uzstar(s) !bottom south u_n(7) !top south u_n(7) !bottom north u_n(7) !top north u_n(7) !bottom west u_n(7) !bo u_n(7) u_n(7) u_n(7) u_n(7)

Navigate: ← Features | Multispecies test case tutorial