|
[Sponsors] |
February 4, 2010, 10:35 |
Getting faster convergence in simpleFoam
|
#1 |
New Member
Bastian Nebenfuehr
Join Date: Feb 2010
Location: Sverige
Posts: 27
Rep Power: 16 |
Hello there,
I am currentliy running simpleFoam on my mesh, which contains half an automotive geometry (station wagon) in order to find out the drag coefficient Cd. The mesh has a total of about 12 million cells and with my settings now, I get convergence after about 2000 iterations. This actually is very time consuming and an entire simulation (up to 5000 iterations) takes about 14 hours. The same case can be run in Fluent, which converges already after about 500 iterations. Is it somehow possible, to speed up the simulation? So for further information, I'm using simpleFoam and the realizable k-epsilon-model with the default values. In order to intialize the pressure field, I run potentialFoam first. I use the GAMG solver for the pressure and the DILUPBiCG solver for the rest. Usually I run in double precision. Hope that somebody can help me. |
|
February 5, 2010, 05:39 |
|
#2 |
New Member
Dirk Voglander
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
Hi,
if you don't have stability problems, you could maybe try to increase the relaxation factors in system/fvSolution. |
|
February 5, 2010, 11:26 |
|
#3 |
New Member
Join Date: Apr 2009
Posts: 26
Rep Power: 17 |
Try smoothSolver instead of DILUPBiCG to improve performance.
|
|
February 5, 2010, 18:33 |
|
#4 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
||
February 8, 2010, 04:27 |
|
#5 | |
New Member
Bastian Nebenfuehr
Join Date: Feb 2010
Location: Sverige
Posts: 27
Rep Power: 16 |
Quote:
I will definitely try this, thx. Unfortunately, I did not do the Fluent simulations, so I don't know, which solver was used, but actually it should have been the same one. Will try to find it out, thx. |
||
February 8, 2010, 12:40 |
|
#6 |
New Member
Join Date: Apr 2009
Posts: 26
Rep Power: 17 |
I don't know fluent but I know the definition of residuals differ among CFD packages. So don't base convergence on the absolute residual levels.
I have found simpleFoam to convergence in as many steps as StarCD on the same mesh. |
|
February 8, 2010, 15:13 |
|
#7 |
New Member
Bastian Nebenfuehr
Join Date: Feb 2010
Location: Sverige
Posts: 27
Rep Power: 16 |
After trying some stuff today, I can state that playing with the URFs really helps a lot in getting faster convergence. Now I am almost at Fluent-level. For the rest the use of the "applyBoundaryLayer" function seems to help speeding up the simulation as well. Setting the nonOrthogonalCorrectors to 0 gives a significant change.
|
|
February 9, 2010, 03:56 |
|
#8 | |
Senior Member
Join Date: Apr 2009
Location: Karlsruhe, Germany
Posts: 104
Rep Power: 17 |
Hi basneb,
Quote:
Regards Thomas Last edited by Thomas Baumann; February 9, 2010 at 04:11. |
||
February 9, 2010, 05:20 |
|
#9 | |
New Member
Bastian Nebenfuehr
Join Date: Feb 2010
Location: Sverige
Posts: 27
Rep Power: 16 |
Quote:
I don't need the nonOrthogonalCorrectors, since the mesh is really really good. The max. nonOrthogonolaty is very low. However, you are right, you cannot run every mesh without the nonOrthogonalCorrectors. In my case, I compared the results (i.e. drag coefficient) for both simulations (with and without nonOrthogonalCorrectors) and they are really similar, so I conclude that there is no problem for me. Best regards |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SimpleFoam convergence problems | brahim | OpenFOAM Running, Solving & CFD | 20 | June 9, 2015 10:09 |
Convergence Problems SimpleFOAM | Kutti | OpenFOAM | 16 | June 14, 2010 09:12 |
Convergence of CFX field in FSI analysis | nasdak | CFX | 2 | June 29, 2009 02:17 |
SimpleFoam solution convergence pattern | philippose | OpenFOAM Running, Solving & CFD | 0 | June 26, 2008 15:18 |
Slow convergence in steadystate incompressible simpleFoam suggestions | brooksmoses | OpenFOAM Running, Solving & CFD | 0 | March 3, 2006 05:57 |