98 lines
2.2 KiB
C++
Executable file
98 lines
2.2 KiB
C++
Executable file
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | |
|
|
| \\ / A nd |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-14;
|
|
relTol 0.001;
|
|
smoother GaussSeidel;
|
|
minIter 4;
|
|
cacheAgglomeration true;
|
|
nPreSweeps 1;
|
|
nPostSweeps 3;
|
|
nFinestSweeps 3;
|
|
nCellsInCoarsestLevel 20;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
nSweeps 2;
|
|
tolerance 1e-14;
|
|
relTol 0.001;
|
|
}
|
|
|
|
rho
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-10;
|
|
relTol 0;
|
|
}
|
|
|
|
htot
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
nSweeps 2;
|
|
tolerance 1e-14;
|
|
relTol 0.001;
|
|
}
|
|
|
|
h
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
nSweeps 2;
|
|
tolerance 1e-14;
|
|
relTol 0.001;
|
|
}
|
|
|
|
k
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-10;
|
|
relTol 0;
|
|
}
|
|
epsilon
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-10;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PISO
|
|
{
|
|
//Important
|
|
realFluid true;
|
|
nNonOrthogonalCorrectors 0;
|
|
nCorrectors 1;
|
|
momentumPredictor yes;
|
|
// transonic true;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|