58 lines
1.3 KiB
C++
58 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "system/shell";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
"p_rgh.*"
|
|
{
|
|
solver GAMG;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-7;
|
|
relTol 0.01;
|
|
}
|
|
|
|
"(U|h|k|epsilon).*"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-7;
|
|
relTol 0.1;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor yes;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
rho 1.0;
|
|
p_rgh 0.7;
|
|
}
|
|
equations
|
|
{
|
|
U 0.3;
|
|
h 0.7;
|
|
k 0.7;
|
|
epsilon 0.7;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|