CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   controlDict 'forces' function: multiple output files? (

lordvon January 10, 2011 17: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 15:16.