CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   pressure definition in OpenFOAM (https://www.cfd-online.com/Forums/openfoam/144636-pressure-definition-openfoam.html)

vaina74 November 18, 2014 10:04

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.

chegdan November 18, 2014 15:16

yes, you are correct. For the incompressible solvers (e.g. simpleFoam) pressure is actually pressure/density.

vaina74 November 20, 2014 08:28

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.

chegdan November 20, 2014 09:02

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 11:05.