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

How to find Cd & Cl in Motorcycle tutorial

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2011, 07:33
Default How to find Cd & Cl in Motorcycle tutorial
  #1
New Member
 
Athirach Phoniam
Join Date: Apr 2011
Posts: 2
Rep Power: 0
athirach2428 is on a distinguished road
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.
athirach2428 is offline   Reply With Quote

Old   April 24, 2011, 17:00
Default
  #2
Member
 
Greg Givogue
Join Date: Aug 2010
Location: Ottawa Canada
Posts: 57
Rep Power: 15
Greg Givogue is on a distinguished road
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;
}
);
Greg Givogue is offline   Reply With Quote

Old   April 25, 2011, 12:20
Default
  #3
New Member
 
Athirach Phoniam
Join Date: Apr 2011
Posts: 2
Rep Power: 0
athirach2428 is on a distinguished road
Thank you very much
athirach2428 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
SI engine tutorial error non-positive volumes rackem FLUENT 12 November 22, 2010 09:06
STAR-CD Tutorial shekhar aryal STAR-CD 4 March 22, 2010 04:25
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
[OpenFOAM] HI all I cant find display button in paraview when i execute cavity tutorial there is only parameter button in the paraview chan ParaView 2 February 13, 2006 08:37


All times are GMT -4. The time now is 10:44.