/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 10 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { "alpha.oil.*" { nAlphaCorr 2; nAlphaSubCycles 2; cAlpha 1; MULESCorr yes; nLimiterIter 5; solver smoothSolver; smoother symGaussSeidel; tolerance 1e-8; relTol 0; } "pcorr.*" { solver GAMG;//PCG; //preconditioner DIC; tolerance 1e-8; relTol 1e-3; smoother DICGaussSeidel; cacheAgglomeration true; nCellInCoarsestLevel 10; agglomerator faceAreaPair; mergeLevels 1; } p_rgh { solver GAMG;//PCG; //preconditioner DIC; tolerance 1e-8; relTol 1e-3; smoother DICGaussSeidel; cacheAgglomeration true; nCellInCoarsestLevel 10; agglomerator faceAreaPair; mergeLevels 1; } p_rghFinal { $p_rgh; tolerance 1e-8; relTol 0; } U { //nSweeps 2; solver smoothSolver; smoother symGaussSeidel; tolerance 1e-08; relTol 0; } UFinal { $U; relTol 0; } } PIMPLE { momentumPredictor no; nOuterCorrectors 5; nCorrectors 2; nNonOrthogonalCorrectors 2; pRefCell 0; pRefValue 0; outerCorrectorResidualControl { p_rgh { tolerance 1e-5; relTol 0; } } } relaxationFactors { fields { p_rgh 1; p_rghFinal 1; } equations { ".*" 1; } } // ************************************************************************* //