Skip to content

Applying ZouHe Boundary conditions in poiseuille flow

Due to recent bot attacks, newly registered users are required to send a message via our contact form in order to be able to post in the forum.

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Applying ZouHe Boundary conditions in poiseuille flow

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4057
    rajatzope
    Participant

    Hi,

    I want to apply the ZouHe velocity boundary at the walls in the poiseuille2d program provided by the openlb. But I could not find where to make changes in the existing program. Can anybody please guide me?

    #4166
    robin.trunk
    Keymaster

    Hi rajatzope,

    to change the type of the boundary implementation you just need to replace one line. Currently (depending on your setup)
    createInterpBoundaryCondition2D or createLocalBoundaryCondition2D
    are used, just need to replace the line with
    createZouHeboundaryCondition

    Best
    Robin

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