Skip to content

Multiphase Flow, Two Lattices, set boundary condition

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Multiphase Flow, Two Lattices, set boundary condition

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1865
    Zhipeng Zhu
    Member

    Hi everyone, I have been trying yo build a two components two phase flow flows across a obstacle. I know there are TWO lattices are needed.
    However my question is how to set boundary condition for it? Especially for the no velocity boundary for obstacle. Which lattice I should set it with? Thank you very much!

    #2462
    robin.trunk
    Keymaster

    Hi applous6,

    for the boundary conditions you can have a look at the example multiComponent3d, in there especially the function prepareLattice. For the obstacle you can use a bounce-back boundary, as it is done there for material number 3 and 4. This has to be applied to both lattices.

    Best
    Robin

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