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

DRAG coefficient prediction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2011, 19:42
Default DRAG coefficient prediction
  #1
New Member
 
Join Date: Oct 2011
Posts: 4
Rep Power: 14
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, 26 views)
File Type: jpg mesh.jpg (53.2 KB, 29 views)
File Type: jpg meshzoom.jpg (87.3 KB, 24 views)
thinkagain 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 Convergence Problem John FLUENT 18 June 24, 2023 09:22
drag coefficient in ansys fluent 12.0 krishna FLUENT 19 April 12, 2018 00:49
Incorrect Drag and Drag Coefficient for flow over a cylinder ozzythewise Main CFD Forum 8 June 13, 2012 06:24
Drag coefficient for parcels in dieselFoam sebastian_vogl OpenFOAM Running, Solving & CFD 5 December 31, 2008 12:19
Automotive test case vinz OpenFOAM Running, Solving & CFD 98 October 27, 2008 08:43


All times are GMT -4. The time now is 07:48.