|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 ![]() |
In OF 1.3, we used the following syntax in the fvSolution file:
p AMG 1e-06 0 25; If I were to translate the same into OF 1.4, I would expect the following syntax: p GAMG { tolerance 1e-06; relTol 0; nCellsInCoarsestLevel 25; }; My question is whether we need to specify nPreSweeps, nPostSweeps and nFinestSweeps? Also, can someone explain the use of mergeLevels? Also what smoothers are available? Many thanks! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 ![]() |
mergeLevels is the number of merge operations to do between grid levels. mergeLevel 1 is equivalent to what is hard coded in AMG and is what I normally use.
agglomerator faceAreaPair; seems to work best smoother options are: GaussSeidel, DIC and DICGausSeidel. GausSeidel seems to work best, but DICGaussSeidel might be better for more difficult problems. It is more expensive though. nPreSweeps, nPostSweeps, nFinestSweeps: I use 0,2,2 and this should work for most problems. Feel free to experiment though. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 ![]() |
Many thanks for that clear explanation Eugene!
|
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 ![]() |
Quote:
can you or someone else please explain what merging means in this context? Kind regards, Kate |
||
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 ![]() |
AFAIK merging is the coarsening of the grids. On a structured 2D grid, a standard geometric merge would make one cell out of four. If you'd specify mergeLevel 2, the solver would skip that level and make one cell out of 16. While that saves some work, typically mergeLevel 1 should give you optimal convergence.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
GAMG Solver | tutlhino | OpenFOAM Running, Solving & CFD | 5 | January 26, 2013 16:01 |
DSMC solver in OpenFoam | flatorre | OpenFOAM | 7 | July 28, 2010 20:04 |
Some Questions about GAMG | bastil | OpenFOAM Running, Solving & CFD | 2 | March 2, 2009 03:21 |
Useing GAMG | sivakumar | OpenFOAM Running, Solving & CFD | 1 | October 20, 2008 06:40 |
AMG solver in Openfoam | gonski | Main CFD Forum | 0 | November 25, 2007 05:20 |