Commit b4c93398 authored by Mark Olesen's avatar Mark Olesen
Browse files

no-frills fvSolution format in tutorials/incompressible/*

parent fdc49d78
......@@ -29,7 +29,25 @@ solvers
mergeLevels 1;
}
"(U|k|epsilon)"
U
{
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-07;
relTol 0.1;
}
k
{
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-07;
relTol 0.1;
}
epsilon
{
solver smoothSolver;
smoother GaussSeidel;
......@@ -50,7 +68,8 @@ relaxationFactors
{
p 0.3;
U 0.5;
"(k|epsilon)" 0.5;
k 0.5;
epsilon 0.5;
}
......
......@@ -25,7 +25,31 @@ solvers
relTol 0;
}
"(k|epsilon|R|nuTilda)"
k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
R
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
nuTilda
{
solver PBiCG;
preconditioner DILU;
......@@ -43,7 +67,9 @@ PISO
relaxationFactors
{
U 0.5;
"(k|epsilon|R)" 0.7;
k 0.7;
epsilon 0.7;
R 0.7;
nuTilda 0.7;
}
......
......@@ -25,7 +25,31 @@ solvers
relTol 0;
}
"(k|epsilon|R|nuTilda)"
k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
R
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
nuTilda
{
solver PBiCG;
preconditioner DILU;
......@@ -45,7 +69,9 @@ PISO
relaxationFactors
{
U 0.5;
"(k|epsilon|R)" 0.7;
k 0.7;
epsilon 0.7;
R 0.7;
nuTilda 0.7;
}
......
......@@ -27,12 +27,37 @@ solvers
pFinal
{
$p;
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
"(U|k|B|nuTilda)"
U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
B
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
nuTilda
{
solver PBiCG;
preconditioner DILU;
......
......@@ -17,32 +17,27 @@ FoamFile
solvers
{
p
pcorr
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.05;
}
pcorr
{
$p;
tolerance 0.01;
relTol 0;
}
pFinal
p
{
$p;
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
relTol 0.05;
}
cellMotionUx
pFinal
{
$p;
tolerance 1e-08;
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
......@@ -53,6 +48,14 @@ solvers
tolerance 1e-05;
relTol 0;
}
cellMotionUx
{
solver PCG;
preconditioner DIC;
tolerance 1e-08;
relTol 0;
}
}
PIMPLE
......
......@@ -31,9 +31,14 @@ solvers
pFinal
{
$p;
solver GAMG;
tolerance 1e-06;
relTol 0;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
U
......@@ -44,9 +49,26 @@ solvers
relTol 0.1;
}
"(UFinal|k|epsilon)"
UFinal
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
k
{
$U;
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
......@@ -64,7 +86,8 @@ PIMPLE
relaxationFactors
{
U 1;
"(k|epsilon)" 1;
k 1;
epsilon 1;
}
......
......@@ -27,12 +27,37 @@ solvers
pFinal
{
$p;
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
"(U|k|B|nuTilda)"
U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
B
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
nuTilda
{
solver PBiCG;
preconditioner DILU;
......
......@@ -27,12 +27,37 @@ solvers
pFinal
{
$p;
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
"(U|k|B|nuTilda)"
U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
B
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
nuTilda
{
solver PBiCG;
preconditioner DILU;
......
......@@ -27,12 +27,45 @@ solvers
pFinal
{
$p;
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
"(U|k|epsilon|R|nuTilda)"
U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
R
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
nuTilda
{
solver PBiCG;
preconditioner DILU;
......
......@@ -26,7 +26,8 @@ solvers
hFinal
{
$h;
solver PCG;
preconditioner DIC;
tolerance 1e-8;
relTol 0;
}
......
......@@ -31,7 +31,16 @@ solvers
mergeLevels 1;
}
"(U|nuTilda)"
U
{
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-08;
relTol 0.1;
}
nuTilda
{
solver smoothSolver;
smoother GaussSeidel;
......
......@@ -2,7 +2,7 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
......@@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......@@ -19,25 +18,43 @@ solvers
{
p
{
solver GAMG;
tolerance 1e-07;
relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
solver GAMG;
tolerance 1e-7;
relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration on;
agglomerator faceAreaPair;
agglomerator faceAreaPair;
nCellsInCoarsestLevel 10;
mergeLevels 1;
mergeLevels 1;
}
"(U|k|omega)"
U
{
solver smoothSolver;
smoother GaussSeidel;
tolerance 1e-08;
relTol 0.1;
nSweeps 1;
solver smoothSolver;
smoother GaussSeidel;
tolerance 1e-8;
relTol 0.1;
nSweeps 1;
}
k
{
solver smoothSolver;
smoother GaussSeidel;
tolerance 1e-8;
relTol 0.1;
nSweeps 1;
}
omega
{
solver smoothSolver;
smoother GaussSeidel;
tolerance 1e-8;
relTol 0.1;
nSweeps 1;
}
}
......@@ -50,8 +67,8 @@ relaxationFactors
{
p 0.3;
U 0.7;
"(k|omega)" 0.7;
k 0.7;
omega 0.7;
}
// ************************************************************************* //
......@@ -25,7 +25,39 @@ solvers
relTol 0.01;
}
"(U|k|epsilon|R|nuTilda)"
U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
R
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
nuTilda
{
solver PBiCG;
preconditioner DILU;
......@@ -43,7 +75,9 @@ relaxationFactors
{
p 0.3;
U 0.7;
"(k|epsilon|R)" 0.7;
k 0.7;
epsilon 0.7;
R 0.7;
nuTilda 0.7;
}
......
......@@ -25,7 +25,39 @@ solvers
relTol 0.01;
}
"(U|k|epsilon|R|nuTilda)"
U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
R
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
nuTilda
{
solver PBiCG;
preconditioner DILU;
......@@ -43,7 +75,9 @@ relaxationFactors
{
p 0.3;
U 0.7;
"(k|epsilon|R)" 0.7;
k 0.7;
epsilon 0.7;
R 0.7;
nuTilda 0.7;
}