ENH: lagrangian tutorial updates

This commit is contained in:
andy
2014-01-22 19:19:50 +00:00
parent 1d416efc0a
commit 5fffbd7bc3
19 changed files with 114 additions and 75 deletions

View File

@ -43,16 +43,16 @@ solvers
"(U.air|k|omega)" "(U.air|k|omega)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0.1; relTol 0.1;
} }
"(U.air|k|omega)Final" "(U.air|k|omega)Final"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
} }

View File

@ -29,7 +29,7 @@ divSchemes
{ {
default none; default none;
div(phi,U) Gauss limitedLinearV 1; div(phi,U) Gauss limitedLinear 1;
div(phi,Yi_h) Gauss limitedLinear 1; div(phi,Yi_h) Gauss limitedLinear 1;
div(phi,K) Gauss limitedLinear 1; div(phi,K) Gauss limitedLinear 1;
div(phid,p) Gauss limitedLinear 1; div(phid,p) Gauss limitedLinear 1;

View File

@ -24,10 +24,16 @@ solvers
p p
{ {
solver PCG; solver GAMG;
preconditioner DIC; tolerance 0;
tolerance 1e-6;
relTol 0.1; relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
} }
pFinal pFinal
@ -38,8 +44,8 @@ solvers
"(U|h|k|epsilon)" "(U|h|k|epsilon)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-6; tolerance 1e-6;
relTol 0.1; relTol 0.1;
} }

View File

@ -23,7 +23,7 @@ startTime 0;
stopAt endTime; stopAt endTime;
endTime 10; endTime 5;
deltaT 2e-4; deltaT 2e-4;

View File

@ -43,26 +43,30 @@ solvers
"(U.air|k|omega)" "(U.air|k|omega)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0.1; relTol 0.1;
} }
"(U.air|k|omega)Final" "(U.air|k|omega)Final"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
} }
kinematicCloud:alpha kinematicCloud:alpha
{ {
solver PCG; //PBiCG; solver GAMG;
preconditioner DIC; //DILU;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
} }
} }

View File

@ -19,10 +19,16 @@ solvers
{ {
p p
{ {
solver PCG; solver GAMG;
preconditioner DIC; tolerance 0;
tolerance 1e-06;
relTol 0.01; relTol 0.01;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
} }
pFinal pFinal
@ -33,24 +39,24 @@ solvers
U.air U.air
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0.1; relTol 0.1;
} }
U.airFinal U.airFinal
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
} }
kinematicCloud:alpha kinematicCloud:alpha
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
} }

View File

@ -43,8 +43,8 @@ solvers
"(U|k|omega).*" "(U|k|omega).*"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0.1; relTol 0.1;
} }

View File

@ -56,8 +56,8 @@ solvers
"(U|h|R|k|epsilon)" "(U|h|R|k|epsilon)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0.1; relTol 0.1;
} }
@ -71,16 +71,12 @@ solvers
"(Yi|CO2|O2|N2|CH4|H2|H2O|CO)" "(Yi|CO2|O2|N2|CH4|H2|H2O|CO)"
{ {
solver PBiCG; $h;
preconditioner DILU;
tolerance 1e-06;
relTol 0.1;
} }
"(Yi|CO2|O2|N2|CH4|H2|H2O|CO)Final" "(Yi|CO2|O2|N2|CH4|H2|H2O|CO)Final"
{ {
$Yi; $Yi;
preconditioner DILU;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
} }
@ -107,4 +103,5 @@ relaxationFactors
} }
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -34,8 +34,8 @@ solvers
"(U|h)" "(U|h)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 0; tolerance 0;
relTol 0.1; relTol 0.1;
} }
@ -54,10 +54,16 @@ solvers
p_rgh p_rgh
{ {
solver PCG; solver GAMG;
preconditioner DIC;
tolerance 0; tolerance 0;
relTol 0.1; relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
} }
p_rghFinal p_rghFinal
@ -73,6 +79,7 @@ solvers
} }
} }
PIMPLE PIMPLE
{ {
nCorrectors 2; nCorrectors 2;
@ -80,6 +87,7 @@ PIMPLE
momentumPredictor yes; momentumPredictor yes;
} }
relaxationFactors relaxationFactors
{ {
fields fields

View File

@ -19,15 +19,15 @@ solvers
{ {
"(Uf|hf|deltaf\*rhof)" "(Uf|hf|deltaf\*rhof)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-10; tolerance 1e-10;
relTol 0; relTol 0;
} }
deltaf deltaf
{ {
solver PBiCG; // PCG; solver smoothSolver;
preconditioner DILU; // DIC; smoother symGaussSeidel;
tolerance 1e-10; tolerance 1e-10;
relTol 0; relTol 0;
} }

View File

@ -34,8 +34,8 @@ solvers
"(U|h|k|epsilon)" "(U|h|k|epsilon)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 0; tolerance 0;
relTol 0.1; relTol 0.1;
} }

View File

@ -34,8 +34,8 @@ solvers
"(U|h)" "(U|h)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 0; tolerance 0;
relTol 0.1; relTol 0.1;
} }
@ -54,10 +54,16 @@ solvers
p_rgh p_rgh
{ {
solver PCG; solver GAMG;
preconditioner DIC;
tolerance 0; tolerance 0;
relTol 0.1; relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
} }
p_rghFinal p_rghFinal

View File

@ -19,15 +19,15 @@ solvers
{ {
"(Uf|hf|deltaf\*rhof)" "(Uf|hf|deltaf\*rhof)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-10; tolerance 1e-10;
relTol 0; relTol 0;
} }
deltaf deltaf
{ {
solver PBiCG; // PCG; solver smoothSolver;
preconditioner DILU; // DIC; smoother symGaussSeidel;
tolerance 1e-10; tolerance 1e-10;
relTol 0; relTol 0;
} }

View File

@ -34,8 +34,8 @@ solvers
"(U|h)" "(U|h)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 0; tolerance 0;
relTol 0.1; relTol 0.1;
} }
@ -54,10 +54,16 @@ solvers
p_rgh p_rgh
{ {
solver PCG; solver GAMG;
preconditioner DIC;
tolerance 0; tolerance 0;
relTol 0.1; relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
} }
p_rghFinal p_rghFinal

View File

@ -19,15 +19,15 @@ solvers
{ {
"(Uf|hf|deltaf\*rhof)" "(Uf|hf|deltaf\*rhof)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-10; tolerance 1e-10;
relTol 0; relTol 0;
} }
deltaf deltaf
{ {
solver PBiCG; // PCG; solver smoothSolver;
preconditioner DILU; // DIC; smoother symGaussSeidel;
tolerance 1e-10; tolerance 1e-10;
relTol 0; relTol 0;
} }

View File

@ -34,8 +34,8 @@ solvers
"(U|h|k|epsilon)" "(U|h|k|epsilon)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-06; tolerance 1e-06;
relTol 0.1; relTol 0.1;
} }

View File

@ -34,8 +34,8 @@ solvers
"(U|h|k|epsilon)" "(U|h|k|epsilon)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0.1; relTol 0.1;
} }

View File

@ -34,8 +34,8 @@ solvers
"(U|h|k|omega)" "(U|h|k|omega)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-06; tolerance 1e-06;
relTol 0.1; relTol 0.1;
} }

View File

@ -34,18 +34,24 @@ solvers
"(U|h)" "(U|h)"
{ {
solver PBiCG; solver smoothSolver;
preconditioner DILU; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-05;
relTol 0.1; relTol 0.1;
} }
p p
{ {
solver PCG; solver GAMG;
preconditioner DIC; tolerance 0;
tolerance 1e-06;
relTol 0.1; relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
} }
pFinal pFinal