CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   Units question (

tokotico November 8, 2011 11:55

Units question
Hello everybody, I am using pisoFoam to run an external flow over an obstacle, I can not understand the units field in the tutorials where p has dimensions of [0 2 -2 0 0 0 0] instead of what I would expect [1 -1 -2 0 0 0 0].

can anybody point me in the right direction?


Bernhard November 8, 2011 12:03

The equations are solved for p/rho, so that rho only appears in the kinematic viscosity. This explains the different units.

tokotico November 8, 2011 12:08

Thanks for replying so fast Bernhard,

so the results I get for pressure need to be multiplied by rho to make them Pascals?

żdoes it make a difference if I declare units of [1 -1 -2 0 0 0 0] ?

Bernhard November 8, 2011 12:10

Yes, then they will be pascals, but be certain from the source code if it is indeed the kind of pressure you think it is.

If you change the units, the dimensions for the different terms are inconsistent. This will throw you a fatal error.

All times are GMT -4. The time now is 11:38.