ENH: Updated tutorials

This commit is contained in:
andy
2011-04-15 16:46:35 +01:00
parent 717db62583
commit 154761a3a1
55 changed files with 369 additions and 314 deletions

View File

@ -17,21 +17,30 @@ FoamFile
solvers
{
p
"(p|rho)"
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.1;
}
"(p|rho)Final"
{
$p;
tolerance 1e-06;
relTol 0;
}
rho
"(U|b|Su|Xi|h|hu|k)"
{
$p;
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
"(U|ft|fu|b|Xi|Su|h|hu|R|k|epsilon)"
"(U|b|Su|Xi|h|hu|k)Final"
{
solver PBiCG;
preconditioner DILU;
@ -40,12 +49,17 @@ solvers
}
}
PISO
PIMPLE
{
nOuterCorrectors 2;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
}
relaxationFactors
{
"(Xi|Su)" 1;
}
// ************************************************************************* //

View File

@ -17,22 +17,30 @@ FoamFile
solvers
{
p
"(p|rho)"
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
relTol 0.1;
}
rho
"(p|rho)Final"
{
$p;
tolerance 1e-05;
tolerance 1e-06;
relTol 0;
}
"(U|ft|fu|b|Xi|Su|h|hu|R|k|epsilon)"
"(U|b|Su|Xi|h|hu|k)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
"(U|b|Su|Xi|h|hu|k)Final"
{
solver PBiCG;
preconditioner DILU;
@ -41,7 +49,7 @@ solvers
}
}
PISO
PIMPLE
{
nOuterCorrectors 2;
nCorrectors 1;
@ -53,4 +61,5 @@ relaxationFactors
"(Xi|Su)" 1;
}
// ************************************************************************* //

View File

@ -17,22 +17,30 @@ FoamFile
solvers
{
p
"(p|rho)"
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
relTol 0.1;
}
rho
"(p|rho)Final"
{
$p;
tolerance 1e-05;
tolerance 1e-06;
relTol 0;
}
"(U|ft|fu|b|Xi|Su|h|hu|R|k|epsilon)"
"(U|b|Su|Xi|h|hu|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
"(U|b|Su|Xi|h|hu|k|epsilon)Final"
{
solver PBiCG;
preconditioner DILU;
@ -41,11 +49,11 @@ solvers
}
}
PISO
PIMPLE
{
nCorrectors 2;
nOuterCorrectors 2;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
momentumPredictor yes;
}

View File

@ -17,30 +17,46 @@ FoamFile
solvers
{
p
"(p|rho)"
{
solver PCG;
preconditioner DIC;
tolerance 1e-09;
relTol 0.1;
}
"(p|rho)Final"
{
$p;
tolerance 1e-09;
relTol 0;
}
rho
{
$p;
tolerance 1e-06;
}
"(U|Yi|hs|k|epsilon)"
"(Yi|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
"(U|hs)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0.1;
}
"(U|hs)Final"
{
$U;
tolerance 1e-06;
relTol 0;
}
}
PISO
PIMPLE
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;

View File

@ -22,17 +22,48 @@ solvers
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.1;
}
rhoFinal
{
$rho;
tolerance 1e-06;
relTol 0;
}
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-6;
relTol 0.1;
}
pFinal
{
$p;
tolerance 1e-6;
relTol 0.0;
}
"(U|Yi|hs|k|epsilon)"
"(U|hs)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
"(U|hs)Final"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
"(Yi|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
@ -41,7 +72,7 @@ solvers
}
}
PISO
PIMPLE
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;