From 2175c3392f5e037a5d2950c9da35dde948741e67 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 24 Sep 2019 15:57:12 +0100 Subject: [PATCH] AMG solver tests for overset --- .../system/fvSolution | 37 ++++++++++++------- .../system/fvSolution | 21 +++++++---- 2 files changed, 37 insertions(+), 21 deletions(-) diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/fvSolution b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/fvSolution index 869bf0dc7..2a20b85a7 100644 --- a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/fvSolution +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/fvSolution @@ -16,24 +16,33 @@ FoamFile solvers { +// "p|pFinal" +// { +// solver BiCGStab; +// preconditioner DILU; +// minIter 1; +// maxIter 1000; +// tolerance 1e-10; +// relTol 0; +// } "p|pFinal" { -// solver smoothSolver; -// smoother GaussSeidel; -// nSweeps 1; + solver amgSolver; + cycle V-cycle; + policy cluster; + nPreSweeps 1; + nPostSweeps 2; + groupSize 4; + minCoarseEqns 5; + nMaxLevels 100; + scale on; + smoother ILUC0; - solver BiCGStab; - preconditioner DILU; - -// solver CG; -// preconditioner DIC; - - minIter 1; - maxIter 1000; - tolerance 1e-10; - relTol 0; + minIter 0; + maxIter 100; + tolerance 1e-7; + relTol 0.0; } - U { solver smoothSolver; diff --git a/tutorials/overset/parallelTests/channel60CellsOn6Processors/system/fvSolution b/tutorials/overset/parallelTests/channel60CellsOn6Processors/system/fvSolution index 03808613a..68af1fbe3 100644 --- a/tutorials/overset/parallelTests/channel60CellsOn6Processors/system/fvSolution +++ b/tutorials/overset/parallelTests/channel60CellsOn6Processors/system/fvSolution @@ -18,15 +18,22 @@ solvers { "p|pFinal" { - solver smoothSolver; - smoother GaussSeidel; + solver amgSolver; + cycle W-cycle; + policy cluster; + nPreSweeps 2; + nPostSweeps 3; + groupSize 4; + minCoarseEqns 5; + nMaxLevels 100; + scale off; + smoother ILUC0; - minIter 0; - maxIter 1000; - tolerance 1e-10; - relTol 0; + minIter 0; + maxIter 100; + tolerance 1e-7; + relTol 0.0; } - U { solver smoothSolver;