|
[Sponsors] |
January 18, 2010, 07:37 |
drag calculation OF1.6
|
#1 |
Member
Axel Söhngen
Join Date: Jan 2010
Location: Germany, Trier
Posts: 31
Rep Power: 16 |
Hello,
I'm new using OpenFoam and I want to calculate the drag of an icoFoam case. Is there a simple command to make such a calculation? Thanks |
|
January 18, 2010, 14:17 |
|
#2 |
Member
Join Date: May 2009
Posts: 54
Rep Power: 17 |
Hi Axel,
You can simply add the code below to your system/controlDict file: Code:
functions ( forceCoeffs { type forceCoeffs; functionObjectLibs ("libforces.so"); patches (foil); //change to your patch name rhoName rhoInf; rhoInf 1.2255; CofR (0 0 0); liftDir (0 1 0); dragDir (1 0 0); pitchAxis (0 0 0); magUInf 0.621; //freestream U lRef 1; //reference length (for moment calculations) Aref 0.1; //reference area outputControl timeStep; outputInterval 1; } ); -Greg |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculation of Drag Coefficient manually | PRASHANT GHADGE | FLUENT | 4 | December 13, 2012 16:31 |
Drag Calculation... Code_Saturne? Or any other examples? | ArtyB | Main CFD Forum | 1 | January 10, 2010 19:18 |
lift and drag calculation | actone | CFX | 0 | December 27, 2006 18:11 |
Boundary condition and drag calculation. | Kwame George | Main CFD Forum | 0 | November 12, 2005 11:15 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |