# how to convert for LBM

Hi Dear All,
If i have a goemetry with the following information:
Cylinder Diameter:D=20mm
Channel width: W=6D=120mm
Channel length: L=12D=240mm
Channel height: H=2mm
Reynolds number: 160

So how i can convert this for LBM that i can get NX (number of grid points in x-direction) and NY(number of grid points in y-direction)
Best Regards
Khan

You need a conversion factor PU <=> LU (PU = physical units, LU = lattice units).
For example: 1 lattice spacing shall be 200 micrometers. This sets your length scale and you know that the cylinder diameter of 20 mm would be 100 lattice nodes.
This conversion factor has a priori nothing to do with your Reynolds number, but be careful:
1st: A larger Reynolds number usually requires a larger resolution, i. e. more lattice nodes.
2nd: The lattice constant (length of a lattice cell) should not be too small, because the simulations would take ages.
So, my advise: Estimate how may lattice nodes you would like to have in total (e. g. 2 million) and then calculate how many that makes per axis (e. g. 100 x 100 x 200, of course different in your case).