twoPhaseEulerFoam tutorials: added minIter to smoothSolver settings

This commit is contained in:
Henry
2014-02-05 16:55:34 +00:00
committed by Andrew Heather
parent 11416d066d
commit 3e3d30a5a2
8 changed files with 36 additions and 70 deletions

View File

@ -24,35 +24,12 @@ solvers
cAlpha 1; cAlpha 1;
} }
"pcorr.*"
{
solver PCG;
preconditioner
{
preconditioner GAMG;
tolerance 0.001;
relTol 0;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
nFinestSweeps 2;
cacheAgglomeration false;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
tolerance 0.0001;
relTol 0;
maxIter 100;
}
p_rgh p_rgh
{ {
solver GAMG; solver GAMG;
tolerance 1e-08; tolerance 1e-08;
relTol 0.05; relTol 0.01;
smoother GaussSeidel; smoother DIC;
nPreSweeps 0; nPreSweeps 0;
nPostSweeps 2; nPostSweeps 2;
nFinestSweeps 2; nFinestSweeps 2;
@ -64,26 +41,14 @@ solvers
p_rghFinal p_rghFinal
{ {
solver PCG; $p_rgh;
preconditioner
{
preconditioner GAMG;
tolerance 1e-08;
relTol 0;
nVcycles 2;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
nFinestSweeps 2;
cacheAgglomeration false;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
tolerance 1e-08;
relTol 0; relTol 0;
maxIter 20; }
"pcorr.*"
{
$p_rghFinal;
tolerance 0.0001;
} }
U U

View File

@ -51,6 +51,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-7; tolerance 1e-7;
relTol 0; relTol 0;
minIter 1;
} }
"h.*" "h.*"
@ -59,6 +60,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-7; tolerance 1e-7;
relTol 0; relTol 0;
minIter 1;
} }
"(k|epsilon|Theta).*" "(k|epsilon|Theta).*"
@ -67,6 +69,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-7; tolerance 1e-7;
relTol 0; relTol 0;
minIter 1;
} }
} }
@ -79,9 +82,6 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
fields
{
}
equations equations
{ {
".*" 1; ".*" 1;

View File

@ -51,6 +51,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-7; tolerance 1e-7;
relTol 0; relTol 0;
minIter 1;
} }
"h.*" "h.*"
@ -59,6 +60,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-7; tolerance 1e-7;
relTol 0; relTol 0;
minIter 1;
} }
"(k|epsilon|Theta).*" "(k|epsilon|Theta).*"
@ -67,6 +69,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-7; tolerance 1e-7;
relTol 0; relTol 0;
minIter 1;
} }
} }
@ -79,9 +82,6 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
fields
{
}
equations equations
{ {
".*" 1; ".*" 1;

View File

@ -23,10 +23,11 @@ solvers
nAlphaSubCycles 2; nAlphaSubCycles 2;
implicitPhasePressure yes; implicitPhasePressure yes;
solver PCG; solver smoothSolver;
preconditioner DIC; smoother symGaussSeidel;
tolerance 1e-9; tolerance 1e-9;
relTol 0; relTol 0;
minIter 1;
} }
p p
@ -57,6 +58,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
minIter 1;
} }
"(h|e).*" "(h|e).*"
@ -65,6 +67,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
minIter 1;
} }
"Theta.*" "Theta.*"
@ -73,6 +76,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
minIter 1;
} }
"(k|epsilon).*" "(k|epsilon).*"
@ -81,6 +85,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
minIter 1;
} }
} }
@ -93,9 +98,6 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
fields
{
}
equations equations
{ {
".*" 1; ".*" 1;

View File

@ -51,6 +51,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
minIter 1;
} }
"h.*" "h.*"
@ -59,6 +60,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-8; tolerance 1e-8;
relTol 0; relTol 0;
minIter 1;
} }
} }
@ -71,9 +73,6 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
fields
{
}
equations equations
{ {
".*" 1; ".*" 1;

View File

@ -51,6 +51,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
minIter 1;
} }
"h.*" "h.*"
@ -59,6 +60,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-8; tolerance 1e-8;
relTol 0; relTol 0;
minIter 1;
} }
} }
@ -71,9 +73,6 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
fields
{
}
equations equations
{ {
".*" 1; ".*" 1;

View File

@ -23,10 +23,11 @@ solvers
nAlphaSubCycles 2; nAlphaSubCycles 2;
implicitPhasePressure yes; implicitPhasePressure yes;
solver PCG; solver smoothSolver;
preconditioner DIC; smoother symGaussSeidel;
tolerance 1e-9; tolerance 1e-9;
relTol 0; relTol 0;
minIter 1;
} }
p p
@ -57,6 +58,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
minIter 1;
} }
"(h|e).*" "(h|e).*"
@ -65,6 +67,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
minIter 1;
} }
"Theta.*" "Theta.*"
@ -73,6 +76,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
minIter 1;
} }
"(k|epsilon).*" "(k|epsilon).*"
@ -81,6 +85,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
minIter 1;
} }
} }
@ -93,9 +98,6 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
fields
{
}
equations equations
{ {
".*" 1; ".*" 1;

View File

@ -45,10 +45,11 @@ solvers
"U.*" "U.*"
{ {
solver smoothSolver; solver smoothSolver;
smoother GaussSeidel; smoother symGaussSeidel;
nSweeps 2; nSweeps 2;
tolerance 1e-07; tolerance 1e-07;
relTol 0.1; relTol 0.1;
minIter 1;
} }
"(k|epsilon|Theta|h).*" "(k|epsilon|Theta|h).*"
@ -57,6 +58,7 @@ solvers
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
minIter 1;
} }
} }
@ -72,9 +74,6 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
fields
{
}
equations equations
{ {
".*" 1; ".*" 1;