Skip to content

Coupling method between NS and AD lattice

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Coupling method between NS and AD lattice

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8566
    hhan
    Participant

    Dear Community,

    I want to ask that what is the difference between the “struct NavierStokesAdvectionDiffusionCoupling” in struct navierStokesAdvectionDiffusionCoupling.h file and the “class AdvectionDiffusionParticleCouplingGenerator3D” in AdvectionDiffusionParticleCouplingGenerator3D.h file?

    I check all the cases and find both coupling expresses. And could you tell me a common way of coupling force and velocity between NS lattice and AD lattice?

    Thank you!

    #8569
    Adrian
    Keymaster

    The struct is written in the operator-style and transparently supports GPU execution whereas the coupling generators are legacy code and only work on CPU.

    What do you want to model? There are different ways for coupling NSE and ADE lattices.

    #8573
    hhan
    Participant

    I want to create a scene in which methane gas leaks into the air, NS lattice transmits the speed to AD lattice, and then transmits the buoyancy calculated by the concentration of AD lattice to NS lattice to complete the whole coupling process. Which coupling method do you think is more suitable for me?

    Thank you!

    #8690
    mathias
    Keymaster

    As long as the gas concentration is rather small you can model it as a particle flow (see bifuraction example in OpenLB) with setting the drag force to zero but adjsuting the buoyancy force.

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