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

Monitior Portion of Domain with fieldMinMax

Register Blogs Community New Posts Updated Threads Search

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

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:

Code:
functions
(
minMax
   {
       //type of function object
       type     fieldMinMax;

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

       //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
       fields
       (
        p
        U
       );
   }
);
This generates a file, fieldMinMax.dat, below:

Code:
# 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:
http://www.cfd-online.com/Forums/openfoam/147062-extracting-data.html
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?

Thanks!
donKelly is offline   Reply With Quote

Reply

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


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 22:49.