CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Pressure distributions in potentialFoam (

JoeLindsey November 7, 2011 11:43

Pressure distributions in potentialFoam
Hi everyone,

I'm a new user to OpenFoam and am currently trying to run some inviscid simulations using potentialFoam.

I've run the cylinder tutorial and also a 2D case with a NACA0012 aerofoil. However, while the velocity distributions for both these cases looked correct, the pressure distributions looked completely wrong, looking more like a distribution of velocity potential (when running potentialFoam -writep).

Has anyone else experienced this problem, and if so, did they ind a solution?



boger November 8, 2011 10:10

You're right -- "p" within the solver and as written out is simply the velocity potential. You'll need to calculate the static pressure on your own from the velocity field and the total pressure.

hjasak November 8, 2011 13:08

Done in OpenFOAM-1.6-ext.


Antony_Bosco November 23, 2015 08:23

Static pressure
Hello Everyone,

Has anyone figured out how to calculate total pressure (=static p + dynamic p) for potentialFoam?

All times are GMT -4. The time now is 17:19.