|
[Sponsors] |
November 25, 2016, 05:56 |
How to get the output pressure of OpenFoam?
|
#1 |
New Member
Isar Ghamari
Join Date: Nov 2016
Posts: 2
Rep Power: 0 |
Hi,
I am new to OpenFoam, so sorry if this is a basic question. I am using OpenFoam for solving the forces and moments on a 2D rectangulat tank with motion. but first I am doing some simulation on a static tank at rest (without any motions) so that we know all the pressure at tank bottom theoretically and we can check to see if we are using the OpenFoam at right setup. when I use the pressure probes at bottom of the tank, I get some values that I don't understand them at all. what do we get (at which dimension) as output when we want P out of the probes? I get some values like +11 as p-rgh and values like -0.4 as P. the tank depth is 4cm and tanktop is open atmosphere. Thanks |
|
October 4, 2017, 10:36 |
|
#2 |
New Member
saeed barzegar
Join Date: Feb 2012
Posts: 19
Rep Power: 14 |
Hi Isar, How are you?
I had same problem recently and I think you got those values because your probes' locations were out of your computational domain. |
|
October 4, 2017, 10:56 |
|
#3 |
New Member
Isar Ghamari
Join Date: Nov 2016
Posts: 2
Rep Power: 0 |
Hi Saeed. Thanks.
No that was not my problem. Normally it gives the pressures relative to a basic pressure at a predefined point. So one should define that point in air domain normally to get some meaningful pressure values at other probes, otherwise it seems nonsense. |
|
October 4, 2017, 11:38 |
|
#4 |
New Member
saeed barzegar
Join Date: Feb 2012
Posts: 19
Rep Power: 14 |
Yes, you are right. That is reference pressure and it must be assigned to a specific cell. And it is suggested to define this cell in the air phase for two-phase flow problems.
|
|
Tags |
openfoam, pressure and velocity |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] outputTime in Swak function | immortality | OpenFOAM Community Contributions | 20 | October 6, 2022 13:08 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 04:19 |
Pressure Outlet Guage pressure | Mohsin | FLUENT | 36 | April 29, 2016 18:16 |
Neumann pressure BC and velocity field | Antech | Main CFD Forum | 0 | April 25, 2006 03:15 |
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) | HB &DS | CFX | 0 | January 9, 2000 14:19 |