|
[Sponsors] |
May 29, 2007, 14:51 |
In OF 1.3, we used the followi
|
#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! |
|
May 31, 2007, 12:55 |
mergeLevels is the number of m
|
#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. |
|
May 31, 2007, 16:28 |
Many thanks for that clear exp
|
#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!
|
|
November 9, 2015, 12:16 |
|
#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 |
||
November 10, 2015, 02:59 |
|
#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 Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GAMG Solver | tutlhino | OpenFOAM Running, Solving & CFD | 5 | January 26, 2013 17:01 |
DSMC solver in OpenFoam | flatorre | OpenFOAM | 7 | July 28, 2010 21:04 |
Some Questions about GAMG | bastil | OpenFOAM Running, Solving & CFD | 2 | March 2, 2009 04:21 |
Useing GAMG | sivakumar | OpenFOAM Running, Solving & CFD | 1 | October 20, 2008 07:40 |
AMG solver in Openfoam | gonski | Main CFD Forum | 0 | November 25, 2007 06:20 |