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

Airfoil NACA 0006 with alpha -4° is not going as expected, why?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2017, 06:06
Default Airfoil NACA 0006 with alpha -4° is not going as expected, why?
  #1
New Member
 
Edoardo B.
Join Date: Oct 2017
Posts: 4
Rep Power: 8
SideshowED is on a distinguished road
hi everyone,
I'm focusing on solving an AIRFOIL NACA 0006 in 2D, I have to find the correct Coefficient of DRUG and LIFT, but after several times I haven't get the clue yet.

I've got a section angle of attack about -4 degrees, which means according to the tables a value for Cl=-0.4,-0.5 and Cd=0.010,0.014 i suppose?! (CORRECT ME IF IS WRONG, PLEASE)



I'm using this function objects for the calculation of the Coeffs::

functions
{ forces
{ type forceCoeffs;
functionObjectLibs ("libforces.so");
outputControl timeStep;
outputInterval 1;
patches (profiloalare);
pName p;
UName U;
rhoName rhoInf;
log true;
rhoInf 1.2;
liftDir (0.069756474 0.99756405 0);
dragDir (0.99756405 -0.069756474 0);
//liftDir (0 1 0);
//dragDir (1 0 0);
CofR (1.0375 0 0);
pitchAxis (0 0 -1);
magUInf 21.6867;
lRef 4.15;
Aref 4.15;
} }


I think I'm using a good mesh, (i used youtube videos to create the best mesh possible)



I settled all the named section, wall for the airfoil, inlet and outlet for the edges.

I had post as system settings:

divSchemes
{
default none;
div(phi,U) bounded Gauss linearUpwind grad(U);
div(phi,nuTilda) bounded Gauss linearUpwind grad(nuTilda);
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}


relaxationFactors
{
fields
{
p 0.3;

}
equations
{
U 0.7;
nuTilda 0.7;
}
}


simulationType RAS;

RAS
{
RASModel SpalartAllmaras;

turbulence on;

printCoeffs on;
}


transportModel Newtonian;

rho [1 -3 0 0 0 0 0] 1.2;

nu [0 2 -1 0 0 0 0] 1.5e-05;



I launch the simpleFoam, but in the end my coefficient are SO WRONG! and i don't know why!

I said the should be Cl=-0.4,-0.5 and Cd=0.010,0.014, but mine values are about Cl=-0.83 and Cd=0.027.

Anyone has any suggestion, please??
Attached Images
File Type: png Profilo0006_1.png (68.5 KB, 62 views)
File Type: jpg Immagine.jpg (213.6 KB, 64 views)
SideshowED is offline   Reply With Quote

Old   October 7, 2017, 22:45
Default
  #2
Member
 
Join Date: Nov 2014
Posts: 92
Rep Power: 11
hokhay is on a distinguished road
Have you tried other turbulence model or numerical scheme? kOmegaSST should be better model.
hokhay is offline   Reply With Quote

Old   October 8, 2017, 03:59
Default
  #3
Senior Member
 
sheaker's Avatar
 
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 10
sheaker is on a distinguished road
Hello.
I think Your Aref value may be wrong. Is Your 2d mesh 1000mm in z direction? As I remember Aref should be equal to lRef multiply by depth of Your mesh.

How about Your y+ values?
sheaker is offline   Reply With Quote

Old   October 8, 2017, 06:24
Default
  #4
New Member
 
Edoardo B.
Join Date: Oct 2017
Posts: 4
Rep Power: 8
SideshowED is on a distinguished road
Quote:
Originally Posted by sheaker View Post
Hello.
I think Your Aref value may be wrong. Is Your 2d mesh 1000mm in z direction? As I remember Aref should be equal to lRef multiply by depth of Your mesh.

How about Your y+ values?

Thanks man, what i said was wrong, you were right, i used a Mesh about 2000mm because i didn't considered both ways, plus and less!!
thank you!!!

/*------------i'm dope-------------------------*\
Hi,
Yes my mesh is depht 1 m, i had used

transformPoints -scale '(1 1 1.33662678)'

to convert my initial depth into 1m.

Also yes, Aref is equal to Iref multiply by depth, so in this case i think it's right, and Iref and Aref are the same because my depth is 1m.

my value of y+ are about between 50 and 120. that's why i used a high RE model.

any other suggestion?
/*------------------------------------------------------------------*\

Last edited by SideshowED; October 12, 2017 at 12:10.
SideshowED is offline   Reply With Quote

Old   October 8, 2017, 06:31
Default
  #5
New Member
 
Edoardo B.
Join Date: Oct 2017
Posts: 4
Rep Power: 8
SideshowED is on a distinguished road
Quote:
Originally Posted by hokhay View Post
Have you tried other turbulence model or numerical scheme? kOmegaSST should be better model.
i had try to use different divSchemes, only 2°grades order :

bounded Gauss linear Upwind
bounded Gauss linear

ddtSchemes i only used
default steadystate

but now that i think about it maybe should use a Euler o CrackNikolson?

gradSchemes only used
Gauss linear

and because i had low orthogonality (<10)
i used laplacianSchemes and snGradSchemes orthogonal

thanks, i'm gonna try a kOmega SST then.
SideshowED is offline   Reply With Quote

Old   October 10, 2017, 06:21
Default
  #6
Senior Member
 
sheaker's Avatar
 
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 10
sheaker is on a distinguished road
Hello again.
How Your simulation is going?
I just finished my naca airfoil calculations and my forces output isn't right for both - kEpsilon and kOmegaSST. I'm using sonicFoam because my case is compressible and getting wired results with rhoPimpleFoam. I'm getting acceptable (for now) values of lift (CL = 0.37 while there should be CL = 0.3) but drag values are way to high (CD=0.014 while there should be CD=0.004)

I think if Your case is incompressible then rho should be set to 1 not 1.2.
Check for examples:
tutorials\incompressible\simpleFoam\motorBike\syst em\forceCoeffs
tutorials\incompressible\pisoFoam\les\motorBike\mo torBike\system\forceCoeffs

Isn't Your liftDir and dragDir set for angle of attack +4degree?
sheaker is offline   Reply With Quote

Old   October 10, 2017, 22:30
Default
  #7
Member
 
Join Date: Nov 2014
Posts: 92
Rep Power: 11
hokhay is on a distinguished road
Quote:
Originally Posted by SideshowED View Post
i had try to use different divSchemes, only 2°grades order :

bounded Gauss linear Upwind
bounded Gauss linear

ddtSchemes i only used
default steadystate

but now that i think about it maybe should use a Euler o CrackNikolson?

gradSchemes only used
Gauss linear

and because i had low orthogonality (<10)
i used laplacianSchemes and snGradSchemes orthogonal

thanks, i'm gonna try a kOmega SST then.
You may also want to try using low Reynold number wall function for k and nut. A few layers of thin boundary mesh may also help.

Are your result include the wall shear stress as well? For airfoil, slender body, wall shear stress should have contributed a portion of the forces.
hokhay is offline   Reply With Quote

Old   October 12, 2017, 12:08
Default
  #8
New Member
 
Edoardo B.
Join Date: Oct 2017
Posts: 4
Rep Power: 8
SideshowED is on a distinguished road
Quote:
Originally Posted by sheaker View Post
Hello again.
How Your simulation is going?
I just finished my naca airfoil calculations and my forces output isn't right for both - kEpsilon and kOmegaSST. I'm using sonicFoam because my case is compressible and getting wired results with rhoPimpleFoam. I'm getting acceptable (for now) values of lift (CL = 0.37 while there should be CL = 0.3) but drag values are way to high (CD=0.014 while there should be CD=0.004)

I think if Your case is incompressible then rho should be set to 1 not 1.2.
Check for examples:
tutorials\incompressible\simpleFoam\motorBike\syst em\forceCoeffs
tutorials\incompressible\pisoFoam\les\motorBike\mo torBike\system\forceCoeffs

Isn't Your liftDir and dragDir set for angle of attack +4degree?
I understood my silly error, my friend.

I was Meshing a deltaZ equals to 2, because the mesh move from -1 to +1 in Z.
I was not considering that and i used deltaZ equals to 1 for my calculation of Aref, and in this way obviously i had Coeffs who were the double they should be. now I fixed it and the values are in the ranges, but i would like to improve my residuals, how can i do now?
SideshowED is offline   Reply With Quote

Reply

Tags
airfoil 2d


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
High drag for airfoil compared to XFOIL and wind tunnel data Ry10 SU2 15 October 30, 2016 17:27
2D FFD Optimization RLangtry SU2 2 August 5, 2014 09:48
POSDAT problem piotka STAR-CD 4 June 12, 2009 08:43
wmake compiling Problem with OF1.5 openTom OpenFOAM Installation 4 May 3, 2009 14:44
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 11:49.