CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Pressure distributions in potentialFoam (https://www.cfd-online.com/Forums/openfoam-solving/94147-pressure-distributions-potentialfoam.html)

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?

Cheers

Joe

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.

Hrv

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 18:29.