Skip to content

Adding “SMAGORINSKY” model in Cylinder2D.

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Adding “SMAGORINSKY” model in Cylinder2D.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #8649

    Dear OpenLB Team,
    I have seen the nozzle3d problem, but I need to use “SMAGORINSKY” model in Cylinder2D also. Here some things that I found:
    // Choose your turbulent model of choice
    //#define USE_RLB
    #define USE_SMAGORINSKY //default
    //#define USE_KRAUSE

    using DESCRIPTOR = D3Q19<AV_SHEAR>;
    using DESCRIPTOR = D3Q19<>;
    and the other part is the “void prepareLattice” which i think I have to change in the Cylinder2D code. Should I have to change the Cylinder2D code like this? Other than the “Dynamics” or the “void prepareLattice” , do I need to change any other part of the code ? Please tell me.

    Thank you


    I kindly suggest that you check out our user guide (PDF) (esp. chapter 10) for a basic introduction into how OpenLB cases are commonly structured.

    The relevant part in your case are the calls to defineDynamics and setParameters. The code excerpt you posted is nozzle3d-case-specific (and also from an older release, I suggest you switch to the most recent 1.7).


    Thank you

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.