How to find Cd & Cl in Motorcycle tutorial
Hello,
I’m a new OpenFoam user since I'm able to configure an run simple OpenFoam cases, I went through the motorBike tutorial Everything worked .So I don’t know how to find Cd(drag coefficient) and Cl(lift coefficient) on this tutorial .I would be thankful if there anyone who can help me. |
Here is another example of the forces utility parameters that you need to edit for the motorBike Tut and add to the end of the controlDict file.
functions ( forces { type forces; functionObjectLibs ("libforces.so"); // lib to load patches (pod); // patch name. for multiple patches, seperate patch names by a space pName p; UName U; rhoName rhoInf; log true; rhoInf 1.225; // Reference density for fluid - changed to SL air from 1.204 CofR (0.5588 0 -0.635); //for moment calc outputControl timeStep; outputInterval 1; } forceCoeffs { type forceCoeffs; functionObjectLibs ("libforces.so"); patches (pod); pName p; UName U; rhoName rhoInf; log true; rhoInf 1.225; CofR (0.5588 0 -0.635); //edit for Cm liftDir (0 0 -1); dragDir (-1 0 0); pitchAxis (0 1 0); magUInf 89.41; lRef 9.8; // ref length Aref 2.2; // X-section of body outputControl timeStep; outputInterval 1; } ); |
Thank you very much
|
All times are GMT -4. The time now is 19:16. |