Difference between revisions of "Contrib foamCalcEx"
From OpenFOAMWiki
(Added note about funkySetFields and funkyDoCalc) |
m (→Note) |
||
Line 47: | Line 47: | ||
== Note == | == Note == | ||
− | Be | + | Be aware that the [[Contrib/swak4Foam|swak4Foam]] utilities [[Contrib_funkySetFields|funkySetFields]] and [http://openfoamwiki.net/index.php/Contrib/swak4Foam/README_2.x#.3DfunkyDoCalc.3D funkyDoCalc] can also be used for post-processing calculations (with longer commandline flags or dictionaries) |
[[Category:Utilities]] | [[Category:Utilities]] |
Revision as of 09:24, 2 August 2013
Contents
1 Short description
A patch to the foamCalc tool to enable some extra field operations such as min and max.
2 Usage
The utility works the same way as the standard foamCalc tool, but accepts extra parameters (min, max, volIntegrate, average, grad, scalarMultiply):
./foamCalcEx min <fieldName> [-latestTime] [-time ranges] ./foamCalcEx max <fieldName> [-latestTime] [-time ranges] ./foamCalcEx minMax <fieldName> [-latestTime] [-time ranges] ./foamCalcEx cellMinMax <fieldName> [-latestTime] [-time ranges] ./foamCalcEx volIntegrate <fieldName> [-latestTime] [-time ranges] ./foamCalcEx average <fieldName> [-latestTime] [-time ranges] ./foamCalcEx grad <fieldName> [-latestTime] [-time ranges] ./foamCalcEx multiplyDivide <fieldName> multiply/divide -field/value <scalar_value>/<fieldName> [-latestTime] [-time ranges]
3 Download
Get the most recent version here: http://code.google.com/p/foamcalcex/
To install, run the following commands in a terminal window where you have loaded the OpenFOAM environment:
hg clone https://code.google.com/p/foamcalcex/ cd foamcalcex ./Allwmake
4 History
--Akidess (talk) 13:59, 2 October 2012 (CEST) Now runs on OF-1.6-ext
--Akidess 08:36, 10 January 2012 (CET)
--Akidess 09:38, 18 October 2011 (CEST)
5 Note
Be aware that the swak4Foam utilities funkySetFields and funkyDoCalc can also be used for post-processing calculations (with longer commandline flags or dictionaries)