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

pressure definition in OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 18, 2014, 11:04
Default pressure definition in OpenFOAM
  #1
Senior Member
 
Join Date: Feb 2010
Posts: 213
Rep Power: 8
vaina74 is on a distinguished road
Hi everybody, sorry for the trivial question.
I have a doubt about pressure definition in OpenFoam. I've already looked for that in the forum, but I've sometimes found different answers and samples.
If I'm right, pressure is divided by fluid density (m2/s2). Could you confirm this, please? Anyway, for incompressible solvers a relative pressure (related to a reference value) can be adopted.
vaina74 is offline   Reply With Quote

Old   November 18, 2014, 16:16
Default
  #2
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 535
Rep Power: 18
chegdan will become famous soon enough
yes, you are correct. For the incompressible solvers (e.g. simpleFoam) pressure is actually pressure/density.
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   November 20, 2014, 09:28
Default
  #3
Senior Member
 
Join Date: Feb 2010
Posts: 213
Rep Power: 8
vaina74 is on a distinguished road
Thanks for your confirmation, Daniel. So I could define a new field for 'conventional' pressure in ParaView (filter calculator) or post-process with Function Objects. I need to investigate this, I've just had a quick look and - am I correct? - simpleFunctionObjects are not valid in OpenFoam-2.3. I'll check if swak4Foam libraries are what I'm looking for.
vaina74 is offline   Reply With Quote

Old   November 20, 2014, 10:02
Default
  #4
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 535
Rep Power: 18
chegdan will become famous soon enough
Using the ParaView calculator is easy enough, but yes you could make a function object to make pressure or even a post-processing utility to convert to the actual pressure.
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 13 May 26, 2014 09:05
Pressure farfield Boundary condition for OpenFoam mechy OpenFOAM 1 May 14, 2014 00:44
OpenFOAM solution is diverging for stress analysis in two-pahse microstructure. Sargam05 OpenFOAM 16 April 30, 2013 16:18
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15


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