Skip to content

Reply To: Problem about the Cylinder2D code in Laminar Example.

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Problem about the Cylinder2D code in Laminar Example. Reply To: Problem about the Cylinder2D code in Laminar Example.

#8648

Thank you for your reply. I have seen the nozzle3d problem, here some things that I found:
“Dynamics”
// Choose your turbulent model of choice
//#define USE_RLB
#define USE_SMAGORINSKY //default
//#define USE_CONSISTENT_STRAIN_SMAGORINSKY
//#define USE_SHEAR_SMAGORINSKY
//#define USE_KRAUSE

#ifdef USE_SHEAR_SMAGORINSKY
using DESCRIPTOR = D3Q19<AV_SHEAR>;
#else
using DESCRIPTOR = D3Q19<>;
#endif
and the other part in the “void prepareLattice”. Should I have to change the Cylinder2D code like this? Other tha the “Dynamics”, do I need to change any other part of the code ? Please tell me.

Thank you