tutorials/incompressible/SRFSimpleFoam/mixer: Improved case setup and schemes

This commit is contained in:
Henry Weller
2015-07-24 17:01:27 +01:00
parent 609f43ec69
commit 40310a5ac8
7 changed files with 14 additions and 12 deletions

View File

@ -17,7 +17,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 (0 0 -10);
boundaryField boundaryField
{ {
@ -30,7 +30,8 @@ boundaryField
} }
outlet outlet
{ {
type zeroGradient; type pressureInletOutletVelocity;
value $internalField;
} }
innerWall innerWall
{ {

View File

@ -28,7 +28,8 @@ boundaryField
} }
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 14.855;
} }
innerWall innerWall
{ {

View File

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

View File

@ -28,18 +28,17 @@ boundaryField
} }
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 3.5;
} }
innerWall innerWall
{ {
type omegaWallFunction; type omegaWallFunction;
U Urel;
value uniform 3.5; value uniform 3.5;
} }
outerWall outerWall
{ {
type omegaWallFunction; type omegaWallFunction;
U Urel;
value uniform 3.5; value uniform 3.5;
} }
cyclic_half0 cyclic_half0

View File

@ -22,7 +22,7 @@ axis (0 0 1);
rpmCoeffs rpmCoeffs
{ {
rpm 5000; rpm 1000;
} }

View File

@ -23,12 +23,13 @@ ddtSchemes
gradSchemes gradSchemes
{ {
default Gauss linear; default Gauss linear;
limited cellLimited Gauss linear 1;
} }
divSchemes divSchemes
{ {
default none; default none;
div(phi,Urel) bounded Gauss upwind; div(phi,Urel) bounded Gauss linearUpwind limited;
div(phi,k) bounded Gauss upwind; div(phi,k) bounded Gauss upwind;
div(phi,epsilon) bounded Gauss upwind; div(phi,epsilon) bounded Gauss upwind;
div(phi,omega) bounded Gauss upwind; div(phi,omega) bounded Gauss upwind;
@ -40,13 +41,12 @@ divSchemes
laplacianSchemes laplacianSchemes
{ {
default Gauss linear corrected; default Gauss linear corrected;
} }
interpolationSchemes interpolationSchemes
{ {
default linear; default linear;
interpolate(Urel) linear;
} }
snGradSchemes snGradSchemes

View File

@ -29,7 +29,7 @@ solvers
{ {
solver smoothSolver; solver smoothSolver;
smoother symGaussSeidel; smoother symGaussSeidel;
tolerance 1e-05; tolerance 1e-6;
relTol 0.1; relTol 0.1;
} }
} }