/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { p { /* solver PCG; preconditioner DIC; tolerance 1e-08; relTol 0; */ solver GAMG; tolerance 1e-8; relTol 0.0; smoother GaussSeidel; nPreSweeps 0; nPostSweeps 2; cacheAgglomeration on; agglomerator faceAreaPair; nCellsInCoarsestLevel 100; mergeLevels 1; } U { /* solver smoothSolver; smoother symGaussSeidel; tolerance 1e-09; relTol 0; */ solver PBiCG; preconditioner DILU; tolerance 1e-09; relTol 0; } } SIMPLE { nNonOrthogonalCorrectors 1; pRefCell 0; pRefValue 0; //consistent yes; residualControl { p 1e-7; U 1e-7; nuTilda 1e-7; k 1e-7; omega 1e-7; } } relaxationFactors { fields { p 0.3; //0.3 } equations { U 0.7; //0.7 k 0.7; //0.7 omega 0.7; //0.7 } } //Relaxation factor tuned for simplec /* relaxationFactors { equations { U 0.9; k 0.7; omega 0.7; } } */ // ************************************************************************* //