openfoam/tutorials/incompressible/pimpleFoam/laminar/contaminatedDroplet2D/system/fvSolution

100 lines
2.1 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2406 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p
{
solver GAMG;
tolerance 1e-8;
relTol 0;
smoother GaussSeidel;
cacheAgglomeration yes; // Store agglomeration
updateInterval 10; // Redo agglomeration occasionally
}
pFinal
{
$p;
tolerance 1e-8;
relTol 0;
}
"pcorr.*"
{
$p
tolerance 0.02;
relTol 0;
}
U
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-9;
relTol 0;
}
UFinal
{
$U;
tolerance 1e-9;
relTol 0;
}
"(cellMotionU|cellMotionUFinal)"
{
solver PCG;
preconditioner DIC;
tolerance 1e-08;
relTol 0;
}
"(C|CFinal)"
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-9;
relTol 0;
}
}
PIMPLE
{
correctPhi no;
nOuterCorrectors 12;
nCorrectors 3;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
moveMeshOuterCorrectors true;
consistent true;
}
relaxationFactors
{
equations
{
".*" 1;
}
}
// ************************************************************************* //