Darg Coefficient on 2-D cylinder
Hi guys
I'm using OpenFoam 2.2.0 to visualize vortex shedding around a 2-D cylinder. I want to calculate the drag coefficient as well, to find the frequency of vortexes. I've added the following commands to controlDict: functions { forces { type forceCoeffs; functionObjectLibs ( "libforces.so" ); outputControl timeStep; outputInterval 1; patches ( cylinder ); pName p; UName U; log true; rhoInf 1; CofR ( 0 0 0 ); liftDir ( 0 1 0 ); dragDir ( 1 0 0 ); pitchAxis ( 0 0 1 ); magUInf 1; lRef 1; Aref 1; binData { nBin 20; // output data into 20 bins direction (1 0 0); // bin direction format gnuplot; cumulative yes; } } } } but, there is no output of the drag coefficient or, if there is, I am not able to see such an output file. could somebody please help me to be able to take the Drag Coefficient? |
All times are GMT -4. The time now is 20:54. |