2021-02-18 15:28:14 +05:00
|
|
|
/*--------------------------------*- C++ -*----------------------------------*\
|
|
|
|
| ========= | |
|
|
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
|
|
| \\ / O peration | Version: v2012 |
|
|
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
|
|
{
|
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
location "system";
|
|
|
|
object fvSolution;
|
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
|
|
solvers
|
|
|
|
{
|
|
|
|
p
|
|
|
|
{
|
|
|
|
solver GAMG;
|
|
|
|
tolerance 1e-06;
|
|
|
|
relTol 0.1;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
}
|
|
|
|
|
|
|
|
U
|
|
|
|
{
|
|
|
|
solver smoothSolver;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
nSweeps 2;
|
|
|
|
tolerance 1e-08;
|
|
|
|
relTol 0.1;
|
|
|
|
}
|
2021-02-20 14:59:59 +05:00
|
|
|
|
|
|
|
Phi
|
|
|
|
{
|
|
|
|
solver smoothSolver;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
nSweeps 2;
|
|
|
|
tolerance 1e-08;
|
|
|
|
relTol 0.1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
potentialFlow
|
|
|
|
{
|
|
|
|
nNonOrthogonalCorrectors 3;
|
2021-02-18 15:28:14 +05:00
|
|
|
}
|
|
|
|
|
|
|
|
SIMPLE
|
|
|
|
{
|
2021-02-20 14:59:59 +05:00
|
|
|
nNonOrthogonalCorrectors 10;
|
2021-02-18 15:28:14 +05:00
|
|
|
|
|
|
|
residualControl
|
|
|
|
{
|
2021-02-20 14:59:59 +05:00
|
|
|
p 1e-3;
|
|
|
|
U 1e-3;
|
2021-02-18 15:28:14 +05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
relaxationFactors
|
|
|
|
{
|
|
|
|
fields
|
|
|
|
{
|
2021-02-20 14:59:59 +05:00
|
|
|
p 0.05;
|
2021-02-18 15:28:14 +05:00
|
|
|
}
|
|
|
|
equations
|
|
|
|
{
|
2021-02-20 14:59:59 +05:00
|
|
|
U 0.2;
|
2021-02-18 15:28:14 +05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// ************************************************************************* //
|