|
[Sponsors] |
List of valid field names for use as fieldAverages and Probes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 30, 2020, 18:19 |
List of valid field names for use as fieldAverages and Probes
|
#1 |
New Member
Maziar
Join Date: Jul 2019
Posts: 15
Rep Power: 7 |
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. |
|
May 1, 2020, 08:51 |
|
#2 |
New Member
Maziar
Join Date: Jul 2019
Posts: 15
Rep Power: 7 |
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 |
|
July 27, 2022, 14:31 |
|
#3 |
Senior Member
Julio Pieri
Join Date: Sep 2017
Posts: 109
Rep Power: 9 |
I know this is an old thread, but the solution is using the banana trick:
solverName-postProcess -func "writeObjects(banana)" |
|
Tags |
fieldaverage, openfoam v1912, probes |
|
|