95 lines
2 KiB
C++
95 lines
2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 4.x |
|
|
| \\ / 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-8;
|
|
relTol 0.0;
|
|
}
|
|
/*
|
|
{
|
|
solver GAMG;
|
|
|
|
tolerance 0;
|
|
relTol 0.05;
|
|
|
|
smoother DICGaussSeidel;
|
|
|
|
|
|
|
|
maxIter 50;
|
|
};
|
|
*/
|
|
Phi
|
|
{
|
|
$p;
|
|
}
|
|
|
|
G
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|Yi|h|k|epsilon|mf|mfVar|ha|soot|NucConc)"
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
tolerance 0;
|
|
relTol 0.1;
|
|
maxIter 20;
|
|
}
|
|
}
|
|
|
|
potentialFlow
|
|
{
|
|
nNonOrthogonalCorrectors 5;
|
|
}
|
|
|
|
SIMPLE
|
|
{
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 0;
|
|
rhoMin 0.1;
|
|
rhoMax 1.5;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
p 0.2;
|
|
rho 1;
|
|
}
|
|
equations
|
|
{
|
|
U 0.3;
|
|
mfVar 0.3;
|
|
mf 0.3;
|
|
h 0.3;
|
|
".*" 0.3;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|