|
[Sponsors] |
Automobile aero ground boundary layer OR simpleFoam/GAMG and high aspect ratio cells |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 3, 2011, 15:07 |
Automobile aero ground boundary layer OR simpleFoam/GAMG and high aspect ratio cells
|
#1 |
Senior Member
Join Date: Mar 2009
Location: Austin, TX
Posts: 160
Rep Power: 18 |
I am trying to run an external aero case of an automobile at yaw, which means the tangential velocity of the ground is not the same as the freestream velocity. So, a boundary layer will form on the ground plane. My issue is that if I use the large cells on the ground away from the vehicle, the boundary layer grows much too quickly because the y+ is so high. Refining these cells down to the correct size would create way too many cells.
The approach that I normally take is to refine the cells in the ground boundary layer, but only refine them in the direction normal to the ground. I am normally a Star-CD/Star-CCM+ user, and this approach seems to work fine for those codes. However, with simpleFoam and a GAMG preconditioner for pressure, I cannot get it to run. The first iteration seems to solve for pressure fine, but the number of iterations required to solve for P at each iteration keeps increasing until it just stalls. I know OpenFOAM is used heavily in the automotive industry, so there must be some way to solve this problem. Are there settings to make simpleFoam/GAMG more tolerant to high aspect ratio cells? Is there another approach that I can take to capture the ground plane boundary layer correctly? |
|
January 3, 2011, 16:03 |
|
#2 | |
New Member
|
Would you mind trying PCG for p with the same type of mesh? Though slow, PCG would ensure better conservation !
As the run progresses, you could limit max. iterations to 200 or something in PCG which would make it go a bit faster... Quote:
|
||
January 3, 2011, 23:37 |
|
#3 |
Senior Member
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 161
Rep Power: 16 |
Hi,
I too have had issues with OpenFOAM and high aspect ratio cells. My research focused on high aspect ratio anisotropic elements rather than structured cells. So my first question would be, what is your element type? If you're using structured cells that are flow aligned, there should be no issue as long as no highly 3D flows are occurring in that region (separated flow, reattachment, etc.). However, if you're using unstructured cells, there is a limit on the aspect ratio mainly due to the limitations of the surface normal gradient schemes. As the aspect ratio of these unstructured elements increase, the angle between the surface normal and the line connecting adjacent cell centers increases and approaches 90 degrees, degrading the interpolation of the gradient and usually causes the solution to diverge. The limit I found seems to be around an aspect ratio of 100. This is low, but it is a limit that is tough to break without a lot of playing around. Hope this helps. |
|
January 4, 2011, 12:07 |
|
#4 |
Senior Member
Join Date: Mar 2009
Location: Austin, TX
Posts: 160
Rep Power: 18 |
I am using snappyHexMesh, and I am only refining cells that are not on the surface, so only hexes should have a high AR.
I seem to have got it running by reducing the relative convergence tolerence of P. It is strange that it would have such a hard time dropping the P residuals more than one order of magnitude just because a few hexes have an aspect ratio of ~50. The solution looks valid so I'm satisfied. |
|
January 4, 2011, 12:17 |
|
#5 |
New Member
|
Well,
In general, t prevent divergence for complex real world meshes. for a first 100-200 iterations: tolerance 1e-05 rel Tolerance 0.1 for all variables (p,U,k,epsilon ) under-relaxations |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |
Aspect ratio vs boundary layer | Jack | FLUENT | 2 | January 21, 2007 22:53 |
Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 16:55 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |