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/)
-   -   Wrong pressure output. Correct BC for U and p? (https://www.cfd-online.com/Forums/openfoam-solving/148763-wrong-pressure-output-correct-bc-u-p.html)

pizzaspinate February 19, 2015 03:12

Wrong pressure output. Correct BC for U and p?
 
4 Attachment(s)
Hi FOAMers,

I try to simulate a wing flying in the air using potentialFoam (I assume I have to use it if I want to run a simple Euler run?!). I did have a look at the tutorials for the motorbike and 2dmoving wing in order to get the BCs right.
However I am still not entirely sure about the BCs (see attachment) in the 0/p and 0/U file as the results I am getting are funny. Especially for p which ranges from 0 to 1e-16.

Hope someone can help me out.

Svensen February 20, 2015 03:54

potentialFoam doesn't change the pressure.
"p which ranges from 0 to 1e-16" - it's simply ParaView try to make a map with some range for you, that's why it give you another value for pressure like 1e-16.
the task of potentialFoam is to define the internal field for velocity. So if you see the results of the potentialFoam you can find that you have now a non-uniform internal field with a lot of values inside

pizzaspinate February 23, 2015 09:34

thank you very much for your help! I ran it with k-omega now and I get proper results! :)


All times are GMT -4. The time now is 21:42.