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

Drag coefficient on a 2-D cylinder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2013, 17:35
Default Drag coefficient on a 2-D cylinder
  #1
New Member
 
reza
Join Date: Apr 2013
Posts: 16
Rep Power: 13
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


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
drag coefficient of cylinder Avijit FLUENT 12 April 23, 2017 04:26
Drag Coefficient Verification around Cylinder MFerris CFX 44 May 11, 2015 19:27
Incorrect Drag and Drag Coefficient for flow over a cylinder ozzythewise Main CFD Forum 8 June 13, 2012 07: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 11:50


All times are GMT -4. The time now is 03:54.