From 49a6c801915b75d1d71bc2f2d143a854cb8ea9e8 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Fri, 1 Aug 2014 14:57:24 +0100 Subject: [PATCH] Performance improvements on block-coupled solver tutorial --- .../system/fvSolution | 62 +++++++++---------- .../simpleFoam/pitzDailyExptInlet/0/U | 1 + 2 files changed, 32 insertions(+), 31 deletions(-) diff --git a/tutorials/incompressible/pUCoupledFoam/backwardFacingStepTurbulent/system/fvSolution b/tutorials/incompressible/pUCoupledFoam/backwardFacingStepTurbulent/system/fvSolution index 571db1ca0..b46b2dcea 100644 --- a/tutorials/incompressible/pUCoupledFoam/backwardFacingStepTurbulent/system/fvSolution +++ b/tutorials/incompressible/pUCoupledFoam/backwardFacingStepTurbulent/system/fvSolution @@ -16,40 +16,40 @@ FoamFile solvers { -// Up -// { -// solver BiCGStab; -// preconditioner Cholesky; - -// tolerance 1e-09; -// relTol 0.0; - -// minIter 1; -// maxIter 500; -// } - Up { - solver AMG; - cycle V-cycle; - coarseningType AAMG; - norm componentNorm; - normComponent 0; + solver BiCGStab; + preconditioner Cholesky; - nPreSweeps 2; - nPostSweeps 2; - groupSize 2; - minCoarseEqns 4; - nMaxLevels 100; - scale on; - smoother ILU; + tolerance 1e-09; + relTol 0.0; - minIter 0; - maxIter 100; - tolerance 1e-7; - relTol 0.001; + minIter 1; + maxIter 500; } +// Up +// { +// solver AMG; +// cycle V-cycle; +// coarseningType AAMG; +// norm componentNorm; +// normComponent 0; + +// nPreSweeps 2; +// nPostSweeps 2; +// groupSize 2; +// minCoarseEqns 4; +// nMaxLevels 100; +// scale on; +// smoother ILU; + +// minIter 0; +// maxIter 100; +// tolerance 1e-7; +// relTol 0.001; +// } + // Segregated p { @@ -86,9 +86,9 @@ blockSolver relaxationFactors { - U 0.9; - k 0.95; - epsilon 0.95; + U 0.95; + k 0.9; + epsilon 0.9; } SIMPLE diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/U b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/U index ee6c05e00..4d75771cf 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/U +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/U @@ -49,4 +49,5 @@ boundaryField } } + // ************************************************************************* //