|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
reza
Join Date: Apr 2013
Posts: 4
Rep Power: 2 ![]() |
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? |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Incorrect Drag and Drag Coefficient for flow over a cylinder | ozzythewise | Main CFD Forum | 8 | June 13, 2012 06:24 |
| Drag Coefficient Verification around Cylinder | MFerris | CFX | 42 | August 23, 2011 01:55 |
| Coefficient DRAG and LIFT - Cylinder 3D | Jwolf | CFX | 11 | February 4, 2010 05:08 |
| Solver and geometry choose for drag coefficient calculation around circular cylinder at large Re | lin | OpenFOAM Running, Solving & CFD | 3 | April 16, 2009 10:50 |
| Automotive test case | vinz | OpenFOAM Running, Solving & CFD | 98 | October 27, 2008 09:43 |