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

failed validating Cd for 2D airfoil

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2019, 10:52
Question failed validating Cd for 2D airfoil
  #1
Member
 
Sereff
Join Date: Jan 2019
Posts: 49
Rep Power: 7
Sereff is on a distinguished road
Dear Foamers:

The case I was simulating is air flow around a 2D airfoil with Re = 1e6, with following:
  • Solver: pimpleFoam
  • Model: k-Omega SST
  • Meshing: snappHexMesh

I've been getting pretty covincing results for Cl, but not for Cd. I've read from some source that Cd is far more sensitive to mesh quality than Cl does. I assume that 'high mesh quality' means more refined mesh as in more cells and finer boundary layers?

And talking about boundary layers, I took a closer look at the yPlus value for my simulations on different mesh, please correct me if I was using wrong BCs,
case 1,30<y+<70, with boundary conditions on airfoil:
  • U: type noSlip;
  • turbulence properties: type xxWallFunction; value $internalField
case 2,0.09<y+<1.2, with boundary conditions on airfoil:
  • U: type noSlip;
  • turbulence properties: type fixedValue; value uniform 1e-15
But all my simulations are having trouble with Cd. Any idea?

Kind regards,

Last edited by Sereff; January 24, 2019 at 15:04.
Sereff is offline   Reply With Quote

Old   January 24, 2019, 11:50
Default
  #2
Member
 
Sereff
Join Date: Jan 2019
Posts: 49
Rep Power: 7
Sereff is on a distinguished road
Attached are my Cd and Cl results for different aoa.

Last edited by Sereff; January 28, 2019 at 05:09.
Sereff is offline   Reply With Quote

Old   January 25, 2019, 02:41
Default
  #3
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 8
yambanshee is on a distinguished road
Drag is a difficult property to get right in airfoil simulations. It is very dependent on the wall boundary layer, and so using a wall function will likely not work.


What is meant by a high mesh quality is details such as density, minimal grading near the walls, low non-orthogonality and skewness, and cells aligned to the direction of flow as much as possible.


Also, as the drag is so dependent on the boundary layer, accurate turbulence modelling at the boundary is also very important. Unfortunately, all RANS formulations are simply an approximation of turbulence effects, so this introduces enhanced difficulty in getting a correct boundary layer
yambanshee is offline   Reply With Quote

Old   January 25, 2019, 03:44
Default
  #4
Member
 
Sereff
Join Date: Jan 2019
Posts: 49
Rep Power: 7
Sereff is on a distinguished road
Hi, thank you for your anwer.

So I assume with k-Omega-SST, it is expected to have a rather bad Cd prediction. But do you know what boundary condition should I use for velocity on the surface of airfoil? I've been told if wall function were to apply then I should use 'zeroGradient' for airfoil surface instead of 'noSlip'.

Kind regards,
Sereff is offline   Reply With Quote

Old   January 25, 2019, 05:10
Default
  #5
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 8
yambanshee is on a distinguished road
AFAIK if you are interested in the effect of the wall, a no slip condition is always needed
yambanshee is offline   Reply With Quote

Reply

Tags
2d airfoil, boundary conditions, drag coefficient, validation, yplus


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
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel U.Golling OpenFOAM Running, Solving & CFD 52 September 23, 2023 04:35
Initial conditions for uniform flow andreas OpenFOAM 5 November 16, 2012 16:00
[OpenFOAM] ParaView/Parafoam error when making animation Disco_Caine ParaView 6 September 28, 2010 10:54
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31
user defined function cfduser CFX 0 April 29, 2006 11:58


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