86 lines
1.7 KiB
C++
86 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
|
|
{
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-08;
|
|
relTol 0.05;
|
|
smoother GaussSeidel;
|
|
nCellsInCoarsestLevel 20;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
|
|
tolerance 1e-6;
|
|
relTol 0.1;
|
|
}
|
|
|
|
h
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
|
|
tolerance 1e-6;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(k|epsilon)"
|
|
{
|
|
$U;
|
|
|
|
tolerance 1e-07;
|
|
relTol 0.1;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nNonOrthogonalCorrectors 0;
|
|
|
|
residualControl
|
|
{
|
|
p 1e-2;
|
|
U 1e-4;
|
|
e 1e-3;
|
|
"(k|epsilon)" 1e-3;
|
|
}
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
p 0.3;
|
|
rho 0.01;
|
|
}
|
|
|
|
equations
|
|
{
|
|
U 0.7;
|
|
h 0.7;
|
|
"(k|epsilon)" 0.7;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|