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

finding Min of pressure after the simulation is finished

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Phicau

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2013, 16:28
Default finding Min of pressure after the simulation is finished
  #1
Senior Member
 
Join Date: Jun 2011
Posts: 163
Rep Power: 14
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
Default
  #2
Senior Member
 
cfdonline2mohsen's Avatar
 
Mohsen KiaMansouri
Join Date: Jan 2010
Location: CFD Lab
Posts: 118
Rep Power: 16
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:
Code:
| 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:
pyFoamPlotRunner.py and pyFoamPlotWatcher.py
See the below link for more info:
http://openfoamwiki.net/index.php?title=Contrib_PyFoam
__________________
“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
Default
  #3
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
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.

Best,

Pablo
cfdonline2mohsen and mechy like this.
Phicau 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
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 114 August 23, 2023 05:37
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 00:58
high pressure simulation mahi FLUENT 0 November 7, 2008 01: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 15:00


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