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/)
-   -   Sloshingtank2D sampleDict Wallpressure (https://www.cfd-online.com/Forums/openfoam-solving/121211-sloshingtank2d-sampledict-wallpressure.html)

musahossein July 23, 2013 23:55

Sloshingtank2D sampleDict Wallpressure
 
Dear all:

I am using the following code in sample dict to obtain wall pressure at the left and rightwall of the tank as it is moving back and forth:

fields (alpha1
p);

interpolationScheme cell;

surfaces
(
leftwall
{
type patch;
patches (leftWall);
interpolate true;
triangulate false;
}

rightwalls
{
type patch;
patches (rightWall);
interpolate true;
triangulate false;
}
);

One of the result I get is as follows:

# p POINT_DATA 544
# x y z p
-0.05 0.499219 -0.35 103304
-0.05 0.499219 -0.34 631 103304
0.05 0.499219 -0.34 631 103304
0.05 0.499219 -0.35 103304
-0.05 0.499219 -0.34 262 103267
.....................................
...................................

My question is what is the unit of P? is it pascals or something else? I am using the metric system (kg, m, sec). I look forward to an answer. Thankyou.

Musa

KateEisenhower February 13, 2017 07:33

Hello,

I guess the unit is m^2/s^2. OpenFOAM uses pressure divided by rho as you can see in your pressure boundary conditions file.

Best regards,

Kate


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