81 lines
1.7 KiB
C++
81 lines
1.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 12
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
"rho.*"
|
|
{
|
|
solver diagonal;
|
|
}
|
|
|
|
p
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DIC;
|
|
tolerance 1e-8;
|
|
relTol 0.001;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
relTol 0;
|
|
}
|
|
|
|
"pcorr.*"
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-2;
|
|
relTol 0;
|
|
}
|
|
|
|
MeshPhi
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-2;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|h|k|epsilon|omega)"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-8;
|
|
relTol 0.01;
|
|
}
|
|
|
|
"(U|h|k|epsilon|omega)Final"
|
|
{
|
|
$U;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor yes;
|
|
nOuterCorrectors 3;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
correctPhi yes;
|
|
correctMeshPhi no;
|
|
checkMeshCourantNo no;
|
|
}
|
|
|
|
// ************************************************************************* //
|