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

DRAG coefficient prediction

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 23, 2011, 20:42
Default DRAG coefficient prediction
  #1
New Member
 
Join Date: Oct 2011
Posts: 4
Rep Power: 5
thinkagain is on a distinguished road
Hello

I'm trying to determinate the polars for an airfoil 2D and I created a test case with a NACA 0012 on openFOAM 2.0.1

I obtained very good value for lift and moment coefficient, while the drag coefficient is very strange related with the ABBOTT results

I attached the compare between my results and the ABBOTT

- the fvScheme and fvSolution are the same of the airfoil 2D tutorials

- the boundary conditions are:
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (69.62 0 7.32);

boundaryField
{
inlet
{
type freestream;
freestreamValue uniform (69.62 0 7.32);
}

outlet
{
type freestream;
freestreamValue uniform (69.62 0 7.32);
}

body
{
type fixedValue;
value uniform (0 0 0);
}

leftAndright
{
type empty;
}
}

{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type freestreamPressure;
}

outlet
{
type freestreamPressure;
}

body
{
type zeroGradient;
}

leftAndright
{
type empty;
}
}

{
version 2.0;
format ascii;
class volScalarField;
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -1 0 0 0 0];

internalField uniform 1.8766e-05;

boundaryField
{
inlet
{
type freestream;
freestreamValue uniform 1.8766e-05;
}

outlet
{
type freestream;
freestreamValue uniform 1.8766e-05;
}

body
{
type nutUSpaldingWallFunction;
value uniform 0;
}

leftAndright
{
type empty;
}
}

{
version 2.0;
format ascii;
class volScalarField;
object nuTilda;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -1 0 0 0 0];

internalField uniform 7.25e-05;

boundaryField
{
inlet
{
type freestream;
freestreamValue uniform 7.25e-05;
}

outlet
{
type freestream;
freestreamValue uniform 7.25e-05;
}

body
{
type fixedValue;
value uniform 0;
}

leftAndright
{
type empty;
}
}

rho = 1.225 kg/m^3
nu = 1.45e-05 m^2/s^2

- I used the Spalart-Allmaras turbulence model

the yplus is near 90, that would be good, becuase is in the logaritmic BL

I attached my mesh

There is anyone that could help and explain why I obtained those results

Last questions:
in the forceCoeff.C file if these


vector totForce = fm.first().first() + fm.first().second();
vector totMoment = fm.second().first() + fm.second().second();

scalar liftForce = totForce & liftDir_;
scalar dragForce = totForce & dragDir_;
scalar sideForce = totForce & sfDir_;
scalar pitchMoment = totMoment & pitchAxis_;

scalar Cl = liftForce/(Aref_*pDyn);
scalar Cd = dragForce/(Aref_*pDyn);
scalar Cy = sideForce/(Aref_*pDyn);
scalar Cm = pitchMoment/(Aref_*lRef_*pDyn);

what is fm.first() and the other term to calculate the totForce?

Thank you for every useful answers! I need help!

Andrea
Attached Images
File Type: jpeg cd.jpeg (25.5 KB, 20 views)
File Type: jpg mesh.jpg (53.2 KB, 24 views)
File Type: jpg meshzoom.jpg (87.3 KB, 21 views)
thinkagain 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 in ansys fluent 12.0 krishna FLUENT 18 May 2, 2013 13:29
Incorrect Drag and Drag Coefficient for flow over a cylinder ozzythewise Main CFD Forum 8 June 13, 2012 06:24
Drag Coefficient Convergence Problem John FLUENT 16 September 4, 2009 02:44
Drag coefficient for parcels in dieselFoam sebastian_vogl OpenFOAM Running, Solving & CFD 5 December 31, 2008 13:19
Automotive test case vinz OpenFOAM Running, Solving & CFD 98 October 27, 2008 09:43


All times are GMT -4. The time now is 16:33.