Tutorial settings update: simpleSRFFoam mixer

This commit is contained in:
Hrvoje Jasak 2019-09-24 15:50:10 +01:00
parent 7d3ffd2f51
commit db6f0c944e
7 changed files with 21 additions and 42 deletions

View file

@ -16,7 +16,7 @@ FoamFile
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
internalField uniform (-10 0 0);
boundaryField
{
@ -30,7 +30,9 @@ boundaryField
outlet
{
type zeroGradient;
type inletOutlet;
inletValue uniform (0 0 -10);
value uniform (0 0 0);
}
innerWall

View file

@ -25,22 +25,20 @@ boundaryField
type fixedValue;
value uniform 14.855;
}
outlet
{
type zeroGradient;
type inletOutlet;
inletValue uniform 14.855;
value uniform 14.855;
}
innerWall
{
type zeroGradient;
}
outerWall
{
type zeroGradient;
}
cyclic
{
type cyclic;

View file

@ -28,7 +28,9 @@ boundaryField
}
outlet
{
type zeroGradient;
type inletOutlet;
inletValue uniform 0.375;
value uniform 0.375;
}
innerWall
{

View file

@ -23,13 +23,11 @@ boundaryField
{
inlet
{
type calculated;
value uniform 0;
type zeroGradient;
}
outlet
{
type calculated;
value uniform 0;
type zeroGradient;
}
innerWall
{

View file

@ -28,7 +28,9 @@ boundaryField
}
outlet
{
type zeroGradient;
type inletOutlet;
inletValue uniform 3.5;
value uniform 3.5;
}
innerWall
{

View file

@ -22,8 +22,6 @@ ddtSchemes
gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
grad(Urel) Gauss linear;
}
divSchemes
@ -33,16 +31,12 @@ divSchemes
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,omega) Gauss upwind;
div(phi,R) Gauss upwind;
div(R) Gauss linear;
div(phi,nuTilda) Gauss upwind;
div((nuEff*dev(T(grad(Urel))))) Gauss linear;
}
laplacianSchemes
{
default none;
laplacian(nuEff,Urel) Gauss linear corrected;
default Gauss linear corrected;
laplacian(rAU,p) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
@ -54,7 +48,6 @@ laplacianSchemes
interpolationSchemes
{
default linear;
interpolate(Urel) linear;
}
snGradSchemes

View file

@ -21,12 +21,12 @@ solvers
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.01;
relTol 0.0;
}
Urel
{
solver smoothSolver;
smoother GaussSeidel;
solver BiCGStab;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
@ -51,20 +51,6 @@ solvers
tolerance 1e-05;
relTol 0.1;
}
R
{
solver BiCGStab;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
nuTilda
{
solver BiCGStab;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
}
SIMPLE
@ -74,13 +60,11 @@ SIMPLE
relaxationFactors
{
p 0.1;
Urel 0.5;
p 0.3;
Urel 0.7;
k 0.7;
epsilon 0.7;
omega 0.7;
R 0.7;
nuTilda 0.7;
}