|
[Sponsors] |
August 4, 2009, 12:31 |
force function not working in OF 1.6
|
#1 |
New Member
Francesco
Join Date: Jul 2009
Posts: 13
Rep Power: 17 |
Hi,
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 functions ( forces { type forces; 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. FOAM exiting can anybody help me? thanks, Francesco |
|
August 4, 2009, 12:36 |
|
#2 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
try to add those in your controlDict :
outputControl outputTime; outputInterval 1; |
|
August 4, 2009, 12:54 |
thanks
|
#3 |
New Member
Francesco
Join Date: Jul 2009
Posts: 13
Rep Power: 17 |
Hi,
Thank you very much, It seems to work good, I hope to study better the code in the next... Francesco |
|
August 4, 2009, 15:24 |
|
#4 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
... maybe "outputControl timeStep;" would be more appropriate for what you are doing
Good luck PO |
|
Tags |
1.6, drag, force, icofoam, lift |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
Can anybody help me to solve the list errors while compiling Openfoam 15 on Opensuse 103 32bit | coompressor | OpenFOAM Installation | 0 | November 12, 2008 20:53 |
Could you please help me about the VTKFoam | liugx212 | OpenFOAM Pre-Processing | 5 | February 13, 2008 12:31 |
Force function calculator | Anil | CFX | 0 | March 20, 2007 19:45 |
Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 07:27 |