etc/templates: Updated the handling of pcorr
This commit is contained in:
@ -16,14 +16,28 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
"(p|pcorr)"
|
||||
p
|
||||
{
|
||||
solver GAMG;
|
||||
smoother GaussSeidel;
|
||||
smoother DIC;
|
||||
tolerance 1e-6;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"pcorr.*"
|
||||
{
|
||||
$p;
|
||||
tolerance 1e-2;
|
||||
relTol 0;
|
||||
|
||||
}
|
||||
|
||||
"(U|k|omega|epsilon)"
|
||||
{
|
||||
solver smoothSolver;
|
||||
@ -32,15 +46,10 @@ solvers
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
"(p|pcorr)Final"
|
||||
{
|
||||
$p;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(U|k|omega|epsilon)Final"
|
||||
{
|
||||
$U;
|
||||
|
||||
relTol 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -16,14 +16,28 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
"(p|pcorr)"
|
||||
p
|
||||
{
|
||||
solver GAMG;
|
||||
smoother GaussSeidel;
|
||||
smoother DIC;
|
||||
tolerance 1e-6;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"pcorr.*"
|
||||
{
|
||||
$p;
|
||||
tolerance 1e-2;
|
||||
relTol 0;
|
||||
|
||||
}
|
||||
|
||||
"(U|k|omega|epsilon)"
|
||||
{
|
||||
solver smoothSolver;
|
||||
@ -32,12 +46,6 @@ solvers
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
"(p|pcorr)Final"
|
||||
{
|
||||
$p;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(U|k|omega|epsilon)Final"
|
||||
{
|
||||
$U;
|
||||
|
||||
@ -16,19 +16,13 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
"pcorr.*"
|
||||
p
|
||||
{
|
||||
solver GAMG;
|
||||
tolerance 1e-2;
|
||||
relTol 0;
|
||||
smoother DICGaussSeidel;
|
||||
cacheAgglomeration no;
|
||||
maxIter 50;
|
||||
}
|
||||
|
||||
p
|
||||
{
|
||||
$pcorr;
|
||||
tolerance 1e-5;
|
||||
relTol 0.01;
|
||||
}
|
||||
@ -36,14 +30,25 @@ solvers
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
|
||||
tolerance 1e-6;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"pcorr.*"
|
||||
{
|
||||
$p;
|
||||
|
||||
tolerance 1e-2;
|
||||
relTol 0;
|
||||
|
||||
}
|
||||
|
||||
"(U|k|epsilon)"
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother symGaussSeidel;
|
||||
|
||||
tolerance 1e-6;
|
||||
relTol 0.1;
|
||||
}
|
||||
@ -52,6 +57,7 @@ solvers
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother symGaussSeidel;
|
||||
|
||||
tolerance 1e-6;
|
||||
relTol 0;
|
||||
}
|
||||
@ -59,7 +65,7 @@ solvers
|
||||
|
||||
PIMPLE
|
||||
{
|
||||
correctPhi no;
|
||||
correctPhi yes;
|
||||
nOuterCorrectors 2;
|
||||
nCorrectors 1;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
|
||||
Reference in New Issue
Block a user