CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Monitior Portion of Domain with fieldMinMax

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

LinkBack Thread Tools Search this Thread Display Modes
Old   August 4, 2016, 10:04
Default Monitior Portion of Domain with fieldMinMax
New Member
Join Date: Jun 2016
Posts: 1
Rep Power: 0
donKelly is on a distinguished road

I am currently running cases based on OpenFOAM-1.6-ext.
In postprocessing, I am interested in monitoring the pressure fluctuations in a certain region within the full computational domain.
Included in the controlDict is:

       //type of function object
       type     fieldMinMax;

       //where to load it from (if not already in solver)
       functionObjectLibs ("");

       //function object enabled flag
       //enabled        true;

       //log to output (default=false)
       //log    false;

       //write information to file (default=true)
       //write  true;

       outputControl    outputTime; //outputTime or timeStep

       mode     component; //magnitude or component

       outputInterval   1;

       //fields to be monitored - runTime modifiable
This generates a file, fieldMinMax.dat, below:

# Time  field   min     max
50      p       -9.24249        19.687
50      U       (-2.91335 -2.87667 -4.10693e-16)        (10.6055 2.85288 3.66516e-16)
100     p       -16.6352        19.1588
100     U       (-5.19331 -2.5366 -3.92782e-16) (10.5135 2.28499 3.48259e-16)
In another (older) post,
HTML Code:
I saw the same code also spit out the x,y,z coordinates of the min and max values at each written time.

With that background, the two questions are:
1. Does anyone know how to get the locations associated with the min and max values?
2. Is it possible to limit the scope of the computational domain with a shape (for example, with a rectangular prism) and only "look" within that region for the min and max values? If so, does the shape need to be defined within an OpenFOAM dictionary or can the shape be defined with CAD and somehow imported?

donKelly is offline   Reply With Quote


data extraction, fieldminmax, location, openfoam 1.6-ext, post procesing

Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Closed Domain Buoyancy Flow Problem Madhatter92 CFX 6 June 20, 2016 21:05
Setting rotating frame of referece. RPFigueiredo CFX 3 October 28, 2014 04:59
Appropriate Boundary conditions for jet flow in open domain shrutidhara.123 FLUENT 0 August 5, 2014 10:27
Different diffusivity for additional variable in Fluid and porous domain ftab CFX 4 June 27, 2012 13:03
Numerical errors in nested domain with pre-calculated boundary values Arnoldinho OpenFOAM Running, Solving & CFD 3 April 4, 2012 10:31

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