Skip to content

Applying ZouHe Boundary conditions in poiseuille flow

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

This topic contains 1 reply, has 2 voices, and was last updated by  robin.trunk 3 days ago.

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.