force function not working in OF 1.6
I want to calculate forces, and then lift and drag with OF 1.6. I want to run using icoFoam for now. I start inserting
functionObjectLibs ("libforces.so"); //Lib to load -> dylib on Mac and so on Linux
patches (sfera_Sphere); //Name of patche to integrate forces
rhoInf 1.0; //Reference density for fluid - can be changed later ...
//CofR (0 0 0); //Origin for moment calculations
in my system/controlDict file but it gives me this error:
keyword outputControl is undefined in dictionary "::functions::forces"
file: ::functions::forces from line 54 to line 57.
From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 388.
can anybody help me?
try to add those in your controlDict :
Thank you very much,
It seems to work good,
I hope to study better the code in the next...
... maybe "outputControl timeStep;" would be more appropriate for what you are doing
|All times are GMT -4. The time now is 18:34.|