smagorinsky example code

Hi All,

I have a working SRT and MRT implementation (2D/3D) and I would like to extend it by a turbulence model. I’ve looked at various papers, but, to be honest, I have no glue how to realize it. Sorry, but this is the reason, why I’m asking if someone could point me to a simple, but working implementation, where I can get an impression (preferably in C, Fortran or even Python :wink: ).

Kind regards,
Fred

Hello Fred,

I’ve implemented a simple Smagorinsky LBM model in C++, including real-time visualization of the solution.

http://www.joshiscorner.com/files/tutorials/opengl/opengl.html

Regards,

  • Abhijit