CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Help! problems in calculating forces with SimpleFoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 26, 2011, 17:27
Default Help! problems in calculating forces with SimpleFoam
  #1
DLC
Member
 
Davide Lupo Conti
Join Date: Nov 2009
Posts: 34
Rep Power: 16
DLC is on a distinguished road
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
DLC is offline   Reply With Quote

 

Tags
forces, simplefoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 22:47.