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
|
|
|
|
2021-02-21 19:10:30 +05:00
|
|
|
/*Phi
|
2021-02-20 14:59:59 +05:00
|
|
|
{
|
2021-02-21 19:10:30 +05:00
|
|
|
solver GAMG;
|
2021-02-20 14:59:59 +05:00
|
|
|
smoother GaussSeidel;
|
|
|
|
tolerance 1e-08;
|
2021-02-21 19:10:30 +05:00
|
|
|
relTol 0.01;
|
|
|
|
}*/
|
|
|
|
Phi
|
|
|
|
{
|
|
|
|
solver GAMG;
|
|
|
|
smoother DIC;
|
|
|
|
cacheAgglomeration on;
|
|
|
|
agglomerator faceAreaPair;
|
|
|
|
nCellsInCoarsestLevel 10;
|
|
|
|
mergeLevels 1;
|
|
|
|
|
|
|
|
tolerance 1e-06;
|
|
|
|
relTol 0.01;
|
2021-02-20 14:59:59 +05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
potentialFlow
|
|
|
|
{
|
2021-02-26 13:32:59 +05:00
|
|
|
nNonOrthogonalCorrectors 20;
|
2021-02-24 15:36:17 +05:00
|
|
|
PhiRefCell 0;
|
|
|
|
PhiRefPoint 0;
|
|
|
|
PhiRefValue 0;
|
|
|
|
Phi 0;
|
2021-02-18 15:28:14 +05:00
|
|
|
}
|
|
|
|
|
2021-02-21 19:10:30 +05:00
|
|
|
cache
|
|
|
|
{
|
|
|
|
grad(U);
|
|
|
|
}
|
|
|
|
|
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-03-01 16:06:53 +05:00
|
|
|
p 1e-5;
|
|
|
|
U 1e-5;
|
2021-02-18 15:28:14 +05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
relaxationFactors
|
|
|
|
{
|
|
|
|
fields
|
|
|
|
{
|
2021-03-01 16:06:53 +05:00
|
|
|
p 0.3;
|
2021-02-18 15:28:14 +05:00
|
|
|
}
|
|
|
|
equations
|
|
|
|
{
|
2021-03-01 16:06:53 +05:00
|
|
|
U 0.5;
|
2021-02-18 15:28:14 +05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// ************************************************************************* //
|