pressure definition in OpenFOAM
Hi everybody, sorry for the trivial question.
I have a doubt about pressure definition in OpenFoam. I've already looked for that in the forum, but I've sometimes found different answers and samples. If I'm right, pressure is divided by fluid density (m2/s2). Could you confirm this, please? Anyway, for incompressible solvers a relative pressure (related to a reference value) can be adopted. |
yes, you are correct. For the incompressible solvers (e.g. simpleFoam) pressure is actually pressure/density.
|
Thanks for your confirmation, Daniel. So I could define a new field for 'conventional' pressure in ParaView (filter calculator) or post-process with Function Objects. I need to investigate this, I've just had a quick look and - am I correct? - simpleFunctionObjects are not valid in OpenFoam-2.3. I'll check if swak4Foam libraries are what I'm looking for.
|
Using the ParaView calculator is easy enough, but yes you could make a function object to make pressure or even a post-processing utility to convert to the actual pressure.
|
All times are GMT -4. The time now is 17:38. |