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

Display maximum occuring pressure during interFoaming

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 11, 2010, 08:55
Default Display maximum occuring pressure during interFoaming
  #1
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 9
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, 16:22
Default
  #2
New Member
 
Join Date: Apr 2009
Posts: 26
Rep Power: 8
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, 02:10
Default
  #3
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 9
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

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
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 15:32
Different kinds of pressure in FLUENT Mattia FLUENT 0 October 22, 2007 08:52
Pressure Boundary Problems Chris CD-adapco 2 June 21, 2005 08:20
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00


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