Reply To: Poiseuille2D: Interpolated and local values(velocity and pressure)
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Poiseuille2D: Interpolated and local values(velocity and pressure) › Reply To: Poiseuille2D: Interpolated and local values(velocity and pressure)
August 13, 2021 at 7:55 pm
#5923
jjessberger
Participant
I’m sorry I think I mixed things up. The offset that we are talking about is not because of the storage of the lattice populations (this happens deeper in the code). Instead, it simply seems to be since one wants to correspond density=1 to pressure=0 as a default. Consequently, one has to modify the offset when a different char. phys. pressure is defined. The UnitConverter does this.