CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Drag coefficient on a 2-D cylinder

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 25, 2013, 16:35
Default Drag coefficient on a 2-D cylinder
  #1
New Member
 
reza
Join Date: Apr 2013
Posts: 16
Rep Power: 4
haghgoo_reza is on a distinguished road
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?
haghgoo_reza is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drag Coefficient Verification around Cylinder MFerris CFX 44 May 11, 2015 18:27
Incorrect Drag and Drag Coefficient for flow over a cylinder ozzythewise Main CFD Forum 8 June 13, 2012 06:24
Coefficient DRAG and LIFT - Cylinder 3D Jwolf CFX 11 February 4, 2010 06: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
drag coefficient of cylinder Avijit FLUENT 11 March 29, 2004 14:04


All times are GMT -4. The time now is 18:00.