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

List of valid field names for use as fieldAverages and Probes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2020, 17:19
Default List of valid field names for use as fieldAverages and Probes
  #1
New Member
 
Maziar
Join Date: Jul 2019
Posts: 15
Rep Power: 6
yek_irani is on a distinguished road
Hello,

OpenFoam has function objects "fieldAverage" and "probes" to calculate and sample field data during a calculation. I use examples I have seen on certain webpages, e.g.

https://www.cfdsupport.com/OpenFOAM-...t/node148.html

https://www.openfoam.com/documentati...d-average.html

https://www.cfdsupport.com/Turbomach...al/node96.html

In order to leverage these functions, one needs to know in advance the valid field names which the functions can interpret. For example, in the case of the fieldAverage function, the example I cite employs the fields p, U, p_rgh for which data files such as pMean, pPrime2Mean, UMean, UPrime2Mean, etc.. are created.

Where can I find a helpfully descriptive and comprehensive list of the possible field value names (i.e. other than p, U, p_rgh) valid for openFOAM v1912?

For the fieldAverage function, where can I find useful documentation which explains how I can use the line items:

base <time|iter>;
// Averaging window
window 10;

What are the "optional entries"?

Thank you for your help.
yek_irani is offline   Reply With Quote

Old   May 1, 2020, 07:51
Default
  #2
New Member
 
Maziar
Join Date: Jul 2019
Posts: 15
Rep Power: 6
yek_irani is on a distinguished road
I found this piece of source code which describes some aspects of the quetion I am asking above:
https://github.com/OpenFOAM/OpenFOAM...fieldAverage.H
yek_irani is offline   Reply With Quote

Old   July 27, 2022, 13:31
Default
  #3
Member
 
Julio Pieri
Join Date: Sep 2017
Posts: 96
Rep Power: 8
JulioPieri is on a distinguished road
I know this is an old thread, but the solution is using the banana trick:

solverName-postProcess -func "writeObjects(banana)"
JulioPieri is offline   Reply With Quote

Reply

Tags
fieldaverage, openfoam v1912, probes


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



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