|
[Sponsors] |
June 23, 2010, 10:22 |
Friction coefficients using icoFoam
|
#1 |
New Member
|
Hello everyone,
I need to plot the friction coefficient using icoFoam solver on a flat plate. I tried to add the following lines at the end of /system/controlDict, but an error appears when calling "icoFoam" : functions ( forces { type forces; functionObjectLibs ("libforces.so"); patches (wall); rhoInf 1000; CofR (0 0 0); } forceCoeffs { type forceCoeffs; functionObjectLibs ("libforces.so"); patches (wall); rhoInf 1000; CofR (0 0 0); liftDir (0 1 0); dragDir (1 0 0); pitchAxis (0 0 0); magUInf 0.13; lRef 1; Aref 1; } ); The error : Create time Create mesh for time = 0 Reading transportProperties Reading field p Reading field U Reading/calculating face flux field phi Courant Number mean: 0 max: 0.052 Starting time loop keyword outputControl is undefined in dictionary "::functions::forces" file: ::functions::forces from line 59 to line 63. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 388. FOAM exiting Can someone help me with this problem please ? (Maybe there is another way to output the friction coefficient ?) Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculate aerodynamic coefficients with openfoam using only opensource programs | Xwang | OpenFOAM | 20 | May 20, 2016 11:26 |
Density in icoFoam Densidad en icoFoam | manuel | OpenFOAM Running, Solving & CFD | 8 | September 22, 2010 04:10 |
Computing aerodynamic coefficients on bidimensional sections in 3D problems | Aragon | FLUENT | 0 | July 22, 2009 04:07 |
Kubuntu uses dash breaks All scripts in tutorials | platopus | OpenFOAM Bugs | 8 | April 15, 2008 07:52 |
Compute Skin friction coef by hand | Francois | FLUENT | 1 | February 10, 2006 06:21 |