mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: lagrangian tutorial updates
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,7 +23,7 @@ startTime 0;
|
|||||||
|
|
||||||
stopAt endTime;
|
stopAt endTime;
|
||||||
|
|
||||||
endTime 10;
|
endTime 5;
|
||||||
|
|
||||||
deltaT 2e-4;
|
deltaT 2e-4;
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user