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

Problems with Cl and Cd airfoil NACA0018

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tomf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2014, 13:07
Default Problems with Cl and Cd airfoil NACA0018
  #1
New Member
 
Luis Fernando
Join Date: May 2013
Posts: 14
Rep Power: 12
ingarcia1703 is on a distinguished road
Hello everyone

At fisrt I do appreciate if someone could help me with this problem which is driving me crazy. I'm working on a simulation of an airfoil in 2D by using the Spalart-Allmaras turbulence model. I want to know if the simulation is right by comparing the Cl and Cd results written at other research by wind tunnel test, nevertheless, I'm not getting near values of the Cl and Cd coefficients. Would you help me please?

At first I want to check if I'm setting wright the parameters at the controlDict directory, under the functions, forces part, this is the case:
For an angle of attack= 10°, U= 18 m/s and a chord of c=0.25, I wrote:

CofR ( 0 0 0 ); // ¿What is this?
liftDir ( -0.174 0.985 0); //for x and y, -sin(10) and cos(10) respectively
dragDir ( 0.985 0.174 0); // for x and y, cos(10) and sin(10) respectively
pitchAxis ( 0 0 1) ;
magUinf 18.00;
lRef 0.25;
Aref 0.25;

Are these parameters right?
ingarcia1703 is offline   Reply With Quote

Old   June 28, 2014, 09:22
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
which solver do you use?

remember pisoFoam or simpleFoam or pimpleFoam use p/rho instead of p, so it may the reason getting different result, however you should present your result here, then other users can help you to figure out what the problem is:
1- it may be due to mesh resolution
2-it may be due to numerical Scheme
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   June 30, 2014, 14:14
Default
  #3
New Member
 
Luis Fernando
Join Date: May 2013
Posts: 14
Rep Power: 12
ingarcia1703 is on a distinguished road
Hello NimaSam

Thank you for answer!

At first as you can see in the following link I set up the domain with the airfoil with an angle of attack of 0°, so as I want to know the Cl and Cd coefficient values with an angle of attack of 10° instead of changing the domain I change the flow direction, is that ok? I'm getting as well a y+ mean value of 9.5, with a minimum of 0.6 and max. of 16.4.

On the other hand, I'm working with simpleFoam, so which parameters should I change in order to take into account the p/rho value?

The fvSchemes use is also shown in the given document. What do you think of that?

Thank you very much.

https://dl.dropboxusercontent.com/u/...%20results.pdf

Last edited by ingarcia1703; June 30, 2014 at 14:21. Reason: mistake
ingarcia1703 is offline   Reply With Quote

Old   June 30, 2014, 16:05
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
simpleFoam and etc use p/rho you may want to multiply ur result by rho it may cure your results
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   June 30, 2014, 18:52
Default
  #5
New Member
 
Luis Fernando
Join Date: May 2013
Posts: 14
Rep Power: 12
ingarcia1703 is on a distinguished road
Well hopefully but it doesn't works with the Cp and Cl values :/
Another suggestion maybe?
ingarcia1703 is offline   Reply With Quote

Old   July 1, 2014, 02:56
Default
  #6
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi Luis,

Make sure your Aref is equal to lref*thickness of your cell in empty direction.
CofR is center of rotation for the calculation of your pitching moment. I would suggest to take the quarter chord point.

Your density should not matter in coefficient calculations. But you could add these two lines (assuming air) to check:

Code:
rhoName    rhoInf;
rhoInf         1.225;
Regards,
Tom
shereez234 likes this.
tomf is offline   Reply With Quote

Old   July 1, 2014, 11:51
Default
  #7
New Member
 
Luis Fernando
Join Date: May 2013
Posts: 14
Rep Power: 12
ingarcia1703 is on a distinguished road
Hi Tom!

Thank's for your answer!

I change the CofR point and when you say "the quarter point of the chord" I guess I must put over there its coordinates, right? Also I change the Aref value , but checking the Cl and Cd equations it only influence in the Cm value, so I guess it won't work, but let's wait the results.

The rfo lines are already set in that part of the code, I just didn't write it here, sorry by that! XD

Maybe another suggestion?

Greeting from Colombia!
ingarcia1703 is offline   Reply With Quote

Old   July 1, 2014, 19:23
Default
  #8
New Member
 
Luis Fernando
Join Date: May 2013
Posts: 14
Rep Power: 12
ingarcia1703 is on a distinguished road
Hi Tom!

I've already finish two different simulations and they gave me better results than before! I am wondering about the reason why by changing the CofR and the Aref I got different results in the Cl and the Cd values, if according to their equations, they are not related at all.

Thanks for your help! I do appreciate it!
ingarcia1703 is offline   Reply With Quote

Old   July 2, 2014, 02:49
Default
  #9
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Well CofR is not related to cl or cd indeed. It is to cm. aRef is your reference area, which in 2D would be your chord times your span of 1 cell thickness. Since

cl=Lift/(0.5*rho*mag(U)^2*aRef)

aRef directly influences all.

Regards,
Tom
tomf is offline   Reply With Quote

Old   July 3, 2014, 10:43
Default
  #10
New Member
 
Luis Fernando
Join Date: May 2013
Posts: 14
Rep Power: 12
ingarcia1703 is on a distinguished road
Yes Tom you're right! Thanks for your help!

I wish you the best!
ingarcia1703 is offline   Reply With Quote

Reply

Tags
cl cd airfoil openfoam


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



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