|
[Sponsors] |
Controlling number of grid levels in OpenFOAM GAMG solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 21, 2016, 19:50 |
Controlling number of grid levels in OpenFOAM GAMG solver
|
#1 |
New Member
Chanon
Join Date: Jun 2016
Posts: 1
Rep Power: 0 |
Hi,
I am using simpleFoam with the GAMG solver to solve for the pressure equation. I am using a smoothSolver to solve for U, k and omega. My case is a 3D wing unstructured tetrahedral mesh with ~2 miillion nodes. What I would like to know is where I can see the number of grid levels generated by the GAMG solver. I understand that the GAMG is performing a V-cycle multi grid method and all the user must set is the "nCellsInCoarsestLevel" option, but I want to be able to set "nLevels" if such a parameter exists. At least, I want to know what nLevels is when the number fo cells on the coarsest mesh is set. Any insight is much appreciated. |
|
April 23, 2019, 11:24 |
GAMG number of levels in V-Cycle, DebugSwitches
|
#2 |
New Member
Join Date: Aug 2018
Posts: 9
Rep Power: 8 |
Turn on the GAMG DebugSwitches and your log file should include exactly how many levels are in your V cycle and how many cells are in each processor.
In system/controlDict, you can set up a DebugSwitches section with the following: GAMG 1; GAMGAgglomeration 1; GAMGInterface 1; GAMGInterfaceField 1; Most likely, your GAMG is coarsening by one half for each level, so you can also just divide by 2 successively until you reach the level that has at least nCellsInCoarsestLevel. You can see all the DebugSwitch options in the etc/controlDict file. -Mimi |
|
Tags |
gamg, solver control |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fluent divergence for no reason | sufjanst | FLUENT | 2 | March 23, 2016 17:08 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
Extremely slow simulation with interDyMFoam | jrrygg | OpenFOAM Running, Solving & CFD | 9 | April 23, 2013 11:14 |
Interfoam blows on parallel run | danvica | OpenFOAM Running, Solving & CFD | 16 | December 22, 2012 03:09 |
DecomposePar unequal number of shared faces | maka | OpenFOAM Pre-Processing | 6 | August 12, 2010 10:01 |