add pMinFactor to fvSolution of compressible cases

for OF>4 we are using pressure control instead of density control in
cfdemSolverRhoPimple and cfdemSolverRhoPimpleChem which require
pMin/pMax or pMinFactor/pMaxFactor instead of rhoMin/rhoMax;

also corrected rhoMin in single particle chemistry tutorials for
expected rho
This commit is contained in:
danielque
2024-01-17 11:42:07 +01:00
parent 7445d4486f
commit 8cd5301c63
8 changed files with 35 additions and 21 deletions

View File

@ -69,10 +69,10 @@ PIMPLE
nCorrectors 1;
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.5;
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0;
pMinFactor 0.5;
pMaxFactor 2.0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.5; // OF4
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0; // OF4
pMinFactor 0.5; // OF5, OF6
pMaxFactor 2.0; // OF5, OF6
}
relaxationFactors

View File

@ -95,8 +95,10 @@ PIMPLE
nOuterCorrectors 5;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.4;
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.4; // OF4
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0; // OF4
pMinFactor 0.5; // OF5, OF6
pMaxFactor 2.0; // OF5, OF6
}
relaxationFactors

View File

@ -94,8 +94,10 @@ PIMPLE
nOuterCorrectors 5;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.4;
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.4; // OF4
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0; // OF4
pMinFactor 0.5; // OF5, OF6
pMaxFactor 2.0; // OF5, OF6
}
relaxationFactors

View File

@ -95,8 +95,10 @@ PIMPLE
nOuterCorrectors 5;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.4;
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.4; // OF4
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0; // OF4
pMinFactor 0.5; // OF5, OF6
pMaxFactor 2.0; // OF5, OF6
}
relaxationFactors

View File

@ -109,8 +109,10 @@ PIMPLE
nOuterCorrectors 5;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.4;
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.1; // OF4
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0; // OF4
pMinFactor 0.5; // OF5, OF6
pMaxFactor 2.0; // OF5, OF6
}
relaxationFactors

View File

@ -22,7 +22,7 @@ solvers
preconditioner DIC;
tolerance 1e-6;
relTol 0.01;
/*solver GAMG;
/*solver GAMG;
tolerance 1e-06;
relTol 0.01;
smoother GaussSeidel;
@ -109,8 +109,10 @@ PIMPLE
nOuterCorrectors 5;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.4;
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.1; // OF4
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0; // OF4
pMinFactor 0.5; // OF5, OF6
pMaxFactor 2.0; // OF5, OF6
}
relaxationFactors

View File

@ -41,7 +41,7 @@ solvers
tolerance 1e-06;
relTol 0;
}
"(rho|G)"
{
solver PCG;
@ -109,8 +109,10 @@ PIMPLE
nOuterCorrectors 5;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.4;
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.1; // OF4
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0; // OF4
pMinFactor 0.5; // OF5, OF6
pMaxFactor 2.0; // OF5, OF6
}
relaxationFactors

View File

@ -41,7 +41,7 @@ solvers
tolerance 1e-06;
relTol 0;
}
"(rho|G)"
{
solver PCG;
@ -109,8 +109,10 @@ PIMPLE
nOuterCorrectors 5;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.4;
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.1; // OF4
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0; // OF4
pMinFactor 0.5; // OF5, OF6
pMaxFactor 2.0; // OF5, OF6
}
relaxationFactors