CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

finding Min of pressure after the simulation is finished

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

Like Tree2Likes
  • 2 Post By Phicau

LinkBack Thread Tools Display Modes
Old   September 19, 2013, 16:28
Default finding Min of pressure after the simulation is finished
Senior Member
Join Date: Jun 2011
Posts: 153
Rep Power: 8
mechy is on a distinguished road
Hi all
I have simulated a flow by pimpleFoam and I need to find the min and max of pressure vs time.
I have found that during run, I can use function objects (fieldMinMax) for that
at now, how can I find min and max of pressure ?

Best Regards
mechy is offline   Reply With Quote

Old   September 20, 2013, 03:24
Senior Member
cfdonline2mohsen's Avatar
Mohsen KiaMansouri
Join Date: Jan 2010
Location: CFD Lab
Posts: 118
Rep Power: 10
cfdonline2mohsen is on a distinguished road
Dear mechy

Max and Min of all the variables that are solved will be written on the monitor screen (for example Ux, Uy,Uz,P,....)
You can use:
| tee log -a
to write these values in a log file.
then you can use some tools like PyFoam to plot them versus time during or after the run:
Code: and
See the below link for more info:
“If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas.”
cfdonline2mohsen is offline   Reply With Quote

Old   September 20, 2013, 03:58
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 399
Rep Power: 11
Phicau is on a distinguished road
Hi mechy,

function objects can be used even when the simulation is finished. Take a look at execFlowFunctionObjects utility.


cfdonline2mohsen and mechy like this.
Phicau is offline   Reply With Quote


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
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 110 April 21, 2016 11:54
Simulation of a single bubble with a VOF-method Suzzn CFX 18 October 2, 2009 04:18
high pressure simulation mahi FLUENT 0 November 7, 2008 02:30
stagnation pressure in transient flow simulation K.S.Ravichandran Main CFD Forum 2 September 5, 2000 00:34
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 16:34.