driftFluxFoam: Separated control of solution of diffusion from bounded advection

This commit is contained in:
Henry
2014-02-24 11:18:30 +00:00
parent 01703a904d
commit e0987483a2
7 changed files with 59 additions and 25 deletions

View File

@ -47,7 +47,7 @@ runTimeModifiable yes;
adjustTimeStep on;
maxCo 1;
maxCo 5;
maxDeltaT 1;

View File

@ -19,8 +19,12 @@ solvers
{
"alpha1.*"
{
nAlphaCorr 1;
nAlphaSubCycles 4;
nAlphaCorr 3;
nAlphaSubCycles 1;
MULESCorr yes;
nLimiterIter 5;
alphaApplyPrevCorr yes;
solver smoothSolver;
smoother symGaussSeidel;
@ -29,6 +33,15 @@ solvers
minIter 1;
}
alpha1Diffusion
{
solver PCG;
preconditioner DIC;
tolerance 1e-6;
relTol 0;
minIter 1;
}
p_rgh
{
solver GAMG;
@ -49,7 +62,8 @@ solvers
"(U|k|epsilon)"
{
solver smoothSolver;
solver PBiCG;
preconditioner DILU;
smoother symGaussSeidel;
tolerance 1e-7;
relTol 0.1;
@ -65,20 +79,16 @@ solvers
PIMPLE
{
nCorrectors 2;
momentumPredictor no;
nCorrectors 3;
nNonOrthogonalCorrectors 0;
}
relaxationFactors
{
fields
{
}
equations
{
"U.*" 1;
"k.*" 1;
"epsilon.*" 1;
".*" 1;
}
}

View File

@ -47,8 +47,7 @@ runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.5;
maxAlphaCo 0.5;
maxCo 1;
maxDeltaT 0.05;

View File

@ -19,13 +19,27 @@ solvers
{
"alpha1.*"
{
nAlphaCorr 1;
nAlphaSubCycles 3;
nAlphaCorr 2;
nAlphaSubCycles 1;
MULESCorr yes;
nLimiterIter 5;
alphaApplyPrevCorr yes;
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-6;
relTol 0;
minIter 1;
}
alpha1Diffusion
{
solver PCG;
preconditioner DIC;
tolerance 1e-6;
relTol 0;
minIter 1;
}
"rho.*"
@ -71,7 +85,7 @@ solvers
PIMPLE
{
momentumPredictor yes;
momentumPredictor no;
nCorrectors 3;
nNonOrthogonalCorrectors 0;

View File

@ -33,11 +33,11 @@ writeInterval 50;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression compressed;
writeCompression uncompressed;
timeFormat general;

View File

@ -19,8 +19,12 @@ solvers
{
"alpha1.*"
{
nAlphaCorr 1;
nAlphaSubCycles 4;
nAlphaCorr 5;
nAlphaSubCycles 1;
MULESCorr no; //yes;
nLimiterIter 5;
alphaApplyPrevCorr yes;
solver smoothSolver;
smoother symGaussSeidel;
@ -29,6 +33,15 @@ solvers
minIter 1;
}
alpha1Diffusion
{
solver PCG;
preconditioner DIC;
tolerance 1e-6;
relTol 0;
minIter 1;
}
p_rgh
{
solver GAMG;
@ -65,15 +78,13 @@ solvers
PIMPLE
{
nCorrectors 2;
momentumPredictor no;
nCorrectors 3;
nNonOrthogonalCorrectors 0;
}
relaxationFactors
{
fields
{
}
equations
{
".*" 1;