Advection-diffusion Problem

Advection-diffusion problems are common in nature. They include mixing of and heat diffusion in fluids. ...

August 28, 2020 · 10 min · Jack

3D Dam Break

The breaking dam free surface problem. This code demonstrates the basic usage of the free surface module in Palabos. ...

August 26, 2020 · 9 min · Jack

Phase Separation

To simulate multiphase fluids, we need long range interactions between fluid ‘particles’. Shan-Chen Model For our purposes interactions with nearest neighbor particle densities f will be sufficient to simulate the basic phenomena of multiphase fluid interactions. For single component multiphase fluids (e.g., water/water vapor) an attractive (cohesive) force F between nearest neighbor fluid particles is needed and, for the D2Q9 model, is induced as follows: $$ \boldsymbol{F}(\boldsymbol{x},t)=-G\Psi(\boldsymbol{x},t)\sum_{a=1}^{8}w_a\psi(\boldsymbol{x+e_a}\Delta t,t)\boldsymbol{e_a} $$ where G is the interaction strength, wa is 1/9 for a={1, 2, 3, 4}, is 1/36 for a={5, 6, 7, 8}, and psi (Greek letter) is the interaction potential: ...

August 23, 2020 · 6 min · Jack

3D CBC

The goal of this exercise is to familiarize with off-lattice boundary conditions (3D Curved Boundary Conditions) in Palabos ...

August 5, 2020 · 2 min · Jack

2D CBC

The goal of this exercise is to familiarize with off-lattice boundary conditions (2D Curved Boundary Conditions) in Palabos ...

August 3, 2020 · 5 min · Jack

Unit Conversion

The unit conversion is an important part between the Lattice Unit and Physical Unit. ...

August 1, 2020 · 2 min · Jack

Cavity2d

For a while, I used the old version of Palabos software. ...

July 31, 2020 · 3 min · Jack