69 lines
1.7 KiB
C++
69 lines
1.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-06;
|
|
relTol 0.1;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
tolerance 1e-06;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(rho|U|h|k|epsilon|omega)"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-05;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(rho|U|h|k|epsilon|omega)Final"
|
|
{
|
|
$U;
|
|
tolerance 1e-05;
|
|
relTol 0.1;
|
|
}
|
|
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor yes;
|
|
nOuterCorrectors 1;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.5;
|
|
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0;
|
|
|
|
maxCo 0.2;
|
|
rDeltaTSmoothingCoeff 0.1;
|
|
rDeltaTDampingCoeff 1;
|
|
maxDeltaT 1;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|