CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   controlDict 'forces' function: multiple output files? (https://www.cfd-online.com/Forums/openfoam/83765-controldict-forces-function-multiple-output-files.html)

lordvon January 10, 2011 16:22

controlDict 'forces' function: multiple output files?
 
Is there a way to output multiple force files created by the 'forces' function used in the controlDict? I would like to evaluate all of the forces acting on a case configuration as well as forces on specific patches (to determine shaft power, for example).
Many thanks.

EDIT: Found a solution. Copy and paste the 'forces' function definition in the controlDict file and rename it 'forces2' or something, so that now there is code for both 'forces' and 'forces2'. An additional forces file will be created a folder entitled 'forces2'.


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