From: Aniruddha Majumder on
Hi,

Recently I have been working on 2D LB models for my project. I have been able to code D2Q9 LB model, but now struggling to code the D2Q7, i.e., LB model with hexagonal lattice. Is there any freely available sample Matlab code on D2Q9?

The major problems in D2Q7 I'm facing are to define Matrices with hexagonal node values and perform the streaming step. Any idea/suggestions on how to perform the streaming will be greatly appreciated.

Cheers

Aniruddha