CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

How to get the output pressure of OpenFoam?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2016, 05:56
Default How to get the output pressure of OpenFoam?
  #1
IGH
New Member
 
Isar Ghamari
Join Date: Nov 2016
Posts: 2
Rep Power: 0
IGH is on a distinguished road
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
IGH is offline   Reply With Quote

Old   October 4, 2017, 10:36
Default
  #2
New Member
 
saeed barzegar
Join Date: Feb 2012
Posts: 19
Rep Power: 14
saeed.barzegar.v is on a distinguished road
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.
saeed.barzegar.v is offline   Reply With Quote

Old   October 4, 2017, 10:56
Default
  #3
IGH
New Member
 
Isar Ghamari
Join Date: Nov 2016
Posts: 2
Rep Power: 0
IGH is on a distinguished road
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.
IGH is offline   Reply With Quote

Old   October 4, 2017, 11:38
Default
  #4
New Member
 
saeed barzegar
Join Date: Feb 2012
Posts: 19
Rep Power: 14
saeed.barzegar.v is on a distinguished road
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.
saeed.barzegar.v is offline   Reply With Quote

Reply

Tags
openfoam, pressure and velocity


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


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