mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated twoPhaseEulerFoam solver and tutorials
This commit is contained in:
@ -21,7 +21,7 @@ solvers
|
||||
{
|
||||
solver GAMG;
|
||||
tolerance 1e-08;
|
||||
relTol 0;
|
||||
relTol 0.1;
|
||||
smoother DIC;
|
||||
nPreSweeps 0;
|
||||
nPostSweeps 2;
|
||||
@ -32,7 +32,22 @@ solvers
|
||||
mergeLevels 1;
|
||||
}
|
||||
|
||||
"(Ua|Ub|Theta|k|epsilon)"
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
tolerance 1e-08;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(k|epsilon)"
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-05;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
"(k|epsilon)Final"
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
@ -40,7 +55,15 @@ solvers
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(alpha|beta)"
|
||||
alpha
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-10;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
alphaFinal
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
@ -49,7 +72,7 @@ solvers
|
||||
}
|
||||
}
|
||||
|
||||
PISO
|
||||
PIMPLE
|
||||
{
|
||||
nCorrectors 2;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
|
||||
@ -21,7 +21,7 @@ solvers
|
||||
{
|
||||
solver GAMG;
|
||||
tolerance 1e-08;
|
||||
relTol 0;
|
||||
relTol 0.1;
|
||||
smoother DIC;
|
||||
nPreSweeps 0;
|
||||
nPostSweeps 2;
|
||||
@ -32,7 +32,22 @@ solvers
|
||||
mergeLevels 1;
|
||||
}
|
||||
|
||||
"(Ua|Ub|Theta|k|epsilon)"
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
tolerance 1e-08;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(k|epsilon)"
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-05;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
"(k|epsilon)Final"
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
@ -40,7 +55,15 @@ solvers
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(alpha|beta)"
|
||||
alpha
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-10;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
alphaFinal
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
@ -49,7 +72,7 @@ solvers
|
||||
}
|
||||
}
|
||||
|
||||
PISO
|
||||
PIMPLE
|
||||
{
|
||||
nCorrectors 2;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
@ -59,15 +82,5 @@ PISO
|
||||
pRefValue 0;
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
Ua 1;
|
||||
Ub 1;
|
||||
alpha 1;
|
||||
beta 1;
|
||||
Theta 1;
|
||||
"(k|epsilon)" 1;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -21,7 +21,7 @@ solvers
|
||||
{
|
||||
solver GAMG;
|
||||
tolerance 1e-08;
|
||||
relTol 0;
|
||||
relTol 0.1;
|
||||
smoother DIC;
|
||||
nPreSweeps 0;
|
||||
nPostSweeps 2;
|
||||
@ -32,7 +32,22 @@ solvers
|
||||
mergeLevels 1;
|
||||
}
|
||||
|
||||
"(Ua|Ub|Theta|k|epsilon)"
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
tolerance 1e-08;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(k|epsilon)"
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-05;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
"(k|epsilon)Final"
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
@ -40,7 +55,15 @@ solvers
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(alpha|beta)"
|
||||
alpha
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-10;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
alphaFinal
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
@ -49,12 +72,12 @@ solvers
|
||||
}
|
||||
}
|
||||
|
||||
PISO
|
||||
PIMPLE
|
||||
{
|
||||
nCorrectors 2;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
nAlphaCorr 2;
|
||||
correctAlpha no;
|
||||
correctAlpha yes;
|
||||
pRefCell 0;
|
||||
pRefValue 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user