aromanro / LatticeBoltzmann

A 2D Lattice Boltzmann program
https://compphys.go.ro/lattice-boltzmann/
GNU General Public License v3.0
52 stars 16 forks source link

Resulting pressure on obstacle #9

Open BimwerxNZ opened 1 month ago

BimwerxNZ commented 1 month ago

Excellent work! Thanks for sharing! Is it possible to determine the resulting pressure on the obstacle?

aromanro commented 3 weeks ago

The pressure is not computed by the code, but pressure can be computed starting from density (which is computed and displayed in this project). See for example this for some details: https://physics.stackexchange.com/questions/251702/calculating-pressure-in-lattice-boltzman-equation or here at the end of page 3: https://homepages.abdn.ac.uk/jderksen/pages/lbm/ln02_lb.pdf

I'm quite sure that the links I provided on the project blog entry have more info on this.

This might be a good addition to the project, so I'll leave this open... although for display purposes it's not so useful, since it's only a multiplication with a constant.