|
[Sponsors] |
Help! problems in calculating forces with SimpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 26, 2011, 17:27 |
Help! problems in calculating forces with SimpleFoam
|
#1 |
Member
Davide Lupo Conti
Join Date: Nov 2009
Posts: 34
Rep Power: 16 |
Hello Everyone!
I'm testing simpleFoam (OF 1.7) on the classic NACA 0012. To obtain forces on the airfoil I use the following commands in the controlDict: functions ( forces { type forces; functionObjectLibs ("libforces.so"); //Lib to load patches (wing); // change to your patch name rhoInf 1.225; //Reference density for fluid CofR (0.15 0 0); //Origin for moment calculations outputControl outputTime; } forceCoeffs { type forceCoeffs; functionObjectLibs ("libforces.so"); patches (wing); //change to your patch name rhoInf 1.225; CofR (0 0 0); liftDir (0 1 0); dragDir (1 0 0); pitchAxis (0 0 0); magUInf 55.5; lRef 0.6; Aref 1; outputControl outputTime; } ); When I launch the run, this warning message is given and no forces/forces.dat is made (the run goes without any problem) the same commands work perfectly on interFoam.. can anyone help me? thanks! Starting time loop --> FOAM Warning : From function void forces::read(const dictionary& dict) in file forces/forces.C at line 277 Could not find U, p or rho in database. De-activating forces. --> FOAM Warning : From function void forces::read(const dictionary& dict) in file forces/forces.C at line 277 Could not find U, p or rho in database. De-activating forces. Time = 1 |
|
Tags |
forces, simplefoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SimpleFoam convergence problems | brahim | OpenFOAM Running, Solving & CFD | 20 | June 9, 2015 09:09 |
Forces calculation | fusij | OpenFOAM | 4 | October 29, 2010 11:38 |
Forces and drag coeffs in simpleFoam | milos | OpenFOAM Post-Processing | 7 | December 16, 2009 09:49 |
Strange results from interFoam solution converges but sum of all forces not equal to zero | nicasch | OpenFOAM Running, Solving & CFD | 0 | April 15, 2008 02:01 |
Valve Forces in CFdesign | Mike Clapp | Main CFD Forum | 3 | March 8, 2001 14:09 |