Turbulance Flow in LBM

Dear all
I need a source code written in MATLAB or Fortran for modeling turbulance flow in LBM
I have some serious problems for modeling bounded cube in channel
It will be so nice of you If you can please help me on this
Thanks a lot

what type of turbulence model are you using? and what problems have you experienced? i don’t know of any sample code, but we may be able to help you if you tell us more.

There is a small LBM c++ example including a Smagorinsky type subgrid model written by Nils Thuerey and available from his website (http://graphics.ethz.ch/~thuereyn/ntoken3/index.html). See the ‘Recent updates’ section and click on “Real-time physics example sources: [LBM]”.