ENH: Tutorial updates re: PIMPLE updates

This commit is contained in:
andy
2011-04-18 11:54:59 +01:00
parent 89335fa1ce
commit f3e2afa23c
14 changed files with 212 additions and 161 deletions

View File

@ -22,6 +22,13 @@ solvers
solver PCG; solver PCG;
preconditioner DIC; preconditioner DIC;
tolerance 1e-05; tolerance 1e-05;
relTol 0.1;
};
rhoFinal
{
$rho;
tolerance 1e-05;
relTol 0; relTol 0;
}; };
@ -30,10 +37,25 @@ solvers
solver PCG; solver PCG;
preconditioner DIC; preconditioner DIC;
tolerance 1e-6; tolerance 1e-6;
relTol 0.1;
};
pFinal
{
$p;
tolerance 1e-6;
relTol 0; relTol 0;
}; };
"(U|ft|fu|b|Xi|Su|h|hu|R|k|epsilon)" "(b|Xi|ft|h|hu|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
"(b|Xi|ft|h|hu|k|epsilon)Final"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
@ -42,7 +64,7 @@ solvers
} }
} }
PISO PIMPLE
{ {
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;

View File

@ -32,15 +32,7 @@ solvers
relTol 0; relTol 0;
} }
"(Yi|k|epsilon)" "(k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
"(U|hs)"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
@ -48,12 +40,32 @@ solvers
relTol 0.1; relTol 0.1;
} }
"(U|hs)Final" "(k|epsilon)Final"
{
$k;
tolerance 1e-06;
relTol 0;
}
"(U|hs)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0.1;
}
"(U|hs)Final"
{ {
$U; $U;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
} }
Yi
{
$hsFinal;
}
} }
PIMPLE PIMPLE

View File

@ -22,26 +22,47 @@ solvers
solver PCG; solver PCG;
preconditioner DIC; preconditioner DIC;
tolerance 1e-06; tolerance 1e-06;
relTol 0.1;
}
pFinal
{
$p;
tolerance 1e-06;
relTol 0; relTol 0;
} }
rho rho
{ {
$p; solver PCG;
preconditioner DIC;
tolerance 1e-05;
relTol 0.1;
}
rhoFinal
{
$rho;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
} }
"(U|ft|fu|b|Xi|Su|h|hu|R|k|epsilon)" "(U|ft|h|k|epsilon)"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-05; tolerance 1e-05;
relTol 0.1;
}
"(U|ft|h|k|epsilon)Final"
{
$U;
tolerance 1e-05;
relTol 0; relTol 0;
} }
} }
PISO PIMPLE
{ {
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 1; nNonOrthogonalCorrectors 1;

View File

@ -47,7 +47,15 @@ solvers
relTol 0.0; relTol 0.0;
} }
"(U|hs)" "(U|hs||k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0.1;
}
"(U|hs||k|epsilon)Final"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
@ -55,20 +63,9 @@ solvers
relTol 0; relTol 0;
} }
"(U|hs)Final" Yi
{ {
solver PBiCG; $hsFinal;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
"(Yi|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
} }
} }

View File

@ -17,11 +17,18 @@ FoamFile
solvers solvers
{ {
"(rho|G)" rho
{ {
solver PCG; solver PCG;
preconditioner DIC; preconditioner DIC;
tolerance 1e-05; tolerance 1e-05;
relTol 0.1;
}
rhoFinal
{
$rho;
tolerance 1e-05;
relTol 0; relTol 0;
} }
@ -29,7 +36,14 @@ solvers
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-05; tolerance 1e-06;
relTol 0.1;
}
"(U|hs|k|epsilon)Final"
{
$U;
tolerance 1e-06;
relTol 0; relTol 0;
} }
@ -56,14 +70,11 @@ solvers
"(Yi|O2|N2|H2O)" "(Yi|O2|N2|H2O)"
{ {
solver PBiCG; $hsFinal;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
} }
} }
PISO PIMPLE
{ {
transonic no; transonic no;
nOuterCorrectors 1; nOuterCorrectors 1;

View File

@ -17,55 +17,64 @@ FoamFile
solvers solvers
{ {
p rho
{
solver GAMG;
tolerance 0;
relTol 0.01;
smoother DICGaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
maxIter 20;
};
pFinal
{
$p
tolerance 1e-6;
relTol 0;
};
"(rho|G)"
{ {
solver PCG; solver PCG;
preconditioner DIC; preconditioner DIC;
tolerance 1e-06; tolerance 1e-05;
relTol 0.1;
}
rhoFinal
{
$rho;
tolerance 1e-05;
relTol 0; relTol 0;
}; }
"(Yi|hs)"
"(U|hs|k|epsilon)"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-06; tolerance 1e-05;
relTol 0; relTol 0.1;
}; }
"(U|k|omega)"
"(U|hs|k|epsilon)Final"
{ {
solver smoothSolver; $U;
tolerance 1e-05;
relTol 0;
}
p
{
solver GAMG;
tolerance 0;
relTol 0.1;
smoother GaussSeidel; smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
pFinal
{
$p;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
}; }
"(Yi|O2|N2|H2O)"
{
$hsFinal;
}
} }
PISO PIMPLE
{ {
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;

View File

@ -17,57 +17,64 @@ FoamFile
solvers solvers
{ {
p rho
{
solver GAMG;
tolerance 0;
relTol 0.01;
smoother DICGaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
maxIter 50;
};
pFinal
{
$p
tolerance 1e-6;
relTol 0;
};
"(rho|G)"
{ {
solver PCG; solver PCG;
preconditioner DIC; preconditioner DIC;
maxIter 200; tolerance 1e-05;
tolerance 1e-06; relTol 0.1;
}
rhoFinal
{
$rho;
tolerance 1e-05;
relTol 0; relTol 0;
}; }
"(Yi|hs)"
"(U|hs|k|omega)"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
maxIter 200;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0.1;
}; }
"(U|k|omega)"
"(U|hs|k|omega)Final"
{ {
solver smoothSolver; $U;
smoother GaussSeidel;
maxIter 200;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
}; }
p
{
solver GAMG;
tolerance 0;
relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
pFinal
{
$p;
tolerance 1e-06;
relTol 0;
}
"(Yi|O2|N2|H2O)"
{
$hsFinal;
}
} }
PISO PIMPLE
{ {
nCorrectors 3; nCorrectors 3;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;

View File

@ -32,7 +32,7 @@ solvers
relTol 0; relTol 0;
} }
"(U|hs)" "(U|hs|k|epsilon)"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
@ -40,18 +40,13 @@ solvers
relTol 0.1; relTol 0.1;
} }
"(U|hs)Final" "(U|hs|k|epsilon)Final"
{ {
$U; $U;
relTol 0; relTol 0;
tolerance 1e-05; tolerance 1e-05;
} }
"(k|epsilon)"
{
$UFinal;
}
p_rgh p_rgh
{ {
solver GAMG; solver GAMG;

View File

@ -55,15 +55,7 @@ solvers
relTol 0; relTol 0;
} }
"(k|omega)" "(U|k|omega)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-08;
relTol 0;
}
U
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
@ -71,7 +63,7 @@ solvers
relTol 0.1; relTol 0.1;
} }
UFinal "(U|k|omega)Final"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;

View File

@ -53,7 +53,7 @@ solvers
relTol 0; relTol 0;
} }
U "(U|k|omega)"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
@ -61,20 +61,12 @@ solvers
relTol 0.1; relTol 0.1;
} }
UFinal "(U|k|omega)Final"
{ {
$U; $U;
tolerance 1e-08; tolerance 1e-08;
relTol 0; relTol 0;
} }
"(k|omega)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-08;
relTol 0;
}
} }
PIMPLE PIMPLE

View File

@ -55,15 +55,7 @@ solvers
relTol 0; relTol 0;
} }
"(k|omega)" "(U|k|omega)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-08;
relTol 0;
}
U
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
@ -71,7 +63,7 @@ solvers
relTol 0.1; relTol 0.1;
} }
UFinal "(U|k|omega)Final"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;

View File

@ -91,7 +91,16 @@ solvers
maxIter 20; maxIter 20;
} }
U "(U|k|epsilon)"
{
solver smoothSolver;
smoother GaussSeidel;
tolerance 1e-6;
relTol 0.1;
nSweeps 1;
}
"(U|k|epsilon)Final"
{ {
solver smoothSolver; solver smoothSolver;
smoother GaussSeidel; smoother GaussSeidel;
@ -99,14 +108,6 @@ solvers
relTol 0; relTol 0;
nSweeps 1; nSweeps 1;
} }
"(k|epsilon|omega|R|nuTilda)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-8;
relTol 0;
}
} }
PIMPLE PIMPLE

View File

@ -77,16 +77,16 @@ solvers
maxIter 20; maxIter 20;
} }
U "(U|k)"
{ {
solver smoothSolver; solver smoothSolver;
smoother GaussSeidel; smoother GaussSeidel;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0.1;
nSweeps 1; nSweeps 1;
} }
"(k|B|nuTilda)" "(U|k)Final"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;

View File

@ -41,7 +41,7 @@ solvers
relTol 0; relTol 0;
} }
U "(U|k|epsilon)"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
@ -49,7 +49,7 @@ solvers
relTol 0; relTol 0;
} }
"(k|epsilon|R|nuTilda)" "(U|k|epsilon)Final"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;