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

Display maximum occuring pressure during interFoaming

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2010, 07:55
Default Display maximum occuring pressure during interFoaming
  #1
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 17
idrama is on a distinguished road
Hey Foamers!

Does anybody know which code sequence I need to enter into interFoam.C to show the maximum occuring pressure during the simulation.

Cheers,

Claus
idrama is offline   Reply With Quote

Old   March 11, 2010, 15:22
Default
  #2
New Member
 
Join Date: Apr 2009
Posts: 26
Rep Power: 17
askjak is on a distinguished road
Take a look at volumeMinMax in the simpleFunctionObjects (see http://openfoamwiki.net/index.php/Co...unctionObjects). The simpleFunctionObjects includes a lot of cool functionality.
askjak is offline   Reply With Quote

Old   March 12, 2010, 01:10
Default
  #3
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 17
idrama is on a distinguished road
Hey Foamers,

I solved the problem. I just added in interFoam.C after the pressure correction:

Info << "max(p): " << max(p).value() << endl;

The same can be done with min.

Cheers
idrama is offline   Reply With Quote

Reply


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
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Fluent natural ventilation pressure boundary condition pierresandre FLUENT 24 November 8, 2011 14:32
Different kinds of pressure in FLUENT Mattia FLUENT 0 October 22, 2007 08:52
Pressure Boundary Problems Chris Siemens 2 June 21, 2005 08:20
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 15:00


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