Skip to content

How can I set constant pressure boundary condition at outlet?

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics How can I set constant pressure boundary condition at outlet?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6941
    louise
    Participant

    In CFD simulations, constant pressure boundary conditions are widely used at outlet, but I notice that there is only “defineU” function but no “defineP” function in class superLattice. How can I set the pressure boundary condition by analogy with the velocity boundary condition?

    #6942
    FBukreev
    Keymaster

    Hello Louise,

    if you want to define some not zero pressure at the pressure boundary you have to transorm it into the needed lattice density. The functor ist densityFromPressure( latticePressure ) and set that value on the pressure boundary. In LBM the pressure is deviation of the calculated density to the predefined constant fluid density, so you need to work with densities if you want to change pressure.

    Greetings
    Fedor

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