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]; dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0); internalField uniform (-10 0 0);
boundaryField boundaryField
{ {
@ -30,7 +30,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform (0 0 -10);
value uniform (0 0 0);
} }
innerWall innerWall

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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