Tutorial updates -- incomplete.

These changes are pushed to avoid continuous merge conflicts caused by scripted
changes to all the tutorial files.
This commit is contained in:
henry 2010-06-10 13:01:14 +01:00
parent 460faa33ed
commit cf1fa7115f
9 changed files with 29 additions and 30 deletions

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View File

@ -32,8 +32,6 @@ divSchemes
div(phi,T) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,R) Gauss upwind;
div(R) Gauss linear;
div((nuEff*dev(grad(U).T()))) Gauss linear;
}
@ -41,7 +39,7 @@ laplacianSchemes
{
default none;
laplacian(nuEff,U) Gauss linear corrected;
laplacian((1|A(U)),p) Gauss linear corrected;
laplacian((1|A(U)),p_rgh) Gauss linear corrected;
laplacian(kappaEff,T) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
@ -61,7 +59,7 @@ snGradSchemes
fluxRequired
{
default no;
p ;
p_rgh ;
}

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
p
p_rgh
{
solver PCG;
preconditioner DIC;
@ -37,14 +37,15 @@ solvers
SIMPLE
{
nNonOrthogonalCorrectors 0;
pRefCell 0;
p_rghRefCell 0;
p_rghRefValue 0;
pRefValue 0;
}
relaxationFactors
{
rho 1;
p 0.7;
p_rgh 0.7;
U 0.2;
T 0.7;
"(k|epsilon|R)" 0.7;

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View File

@ -23,7 +23,7 @@ startTime 0;
stopAt endTime;
endTime 1000;
endTime 2000;
deltaT 1;

View File

@ -40,12 +40,12 @@ divSchemes
laplacianSchemes
{
default none;
laplacian(nuEff,U) Gauss linear corrected;
laplacian((1|A(U)),p) Gauss linear corrected;
laplacian(kappaEff,T) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(DREff,R) Gauss linear corrected;
laplacian(nuEff,U) Gauss linear limited 0.333;
laplacian((1|A(U)),p_rgh) Gauss linear limited 0.333;
laplacian(kappaEff,T) Gauss linear limited 0.333;
laplacian(DkEff,k) Gauss linear limited 0.333;
laplacian(DepsilonEff,epsilon) Gauss linear limited 0.333;
laplacian(DREff,R) Gauss linear limited 0.333;
}
interpolationSchemes
@ -55,13 +55,13 @@ interpolationSchemes
snGradSchemes
{
default corrected;
default limited 0.333;
}
fluxRequired
{
default no;
p ;
p_rgh ;
}

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
p
p_rgh
{
solver PCG;
preconditioner DIC;
@ -25,7 +25,7 @@ solvers
relTol 0.01;
}
"(U|T|k|epsilon|R)"
"(U|T|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
@ -37,17 +37,17 @@ solvers
SIMPLE
{
nNonOrthogonalCorrectors 0;
pRefCell 0;
p_rghRefCell 0;
p_rghRefValue 0;
pRefValue 0;
}
relaxationFactors
{
rho 1;
p 0.3;
U 0.7;
p_rgh 0.8;
U 0.2;
T 0.7;
"(k|epsilon|R)" 0.7;
"(k|epsilon)" 0.7;
}

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View File

@ -28,10 +28,10 @@ interpolationSchemes
divSchemes
{
default none;
div(phiv,rho) Gauss limitedLinear 0.2;
div(phi,U) Gauss limitedLinearV 0.2;
div(phiv,omega) Gauss limitedLinear 0.2;
div(phiv,k) Gauss limitedLinear 0.2;
div(phiv,rho) Gauss limitedLinear 1;
div(phi,U) Gauss limitedLinearV 1;
div(phiv,omega) Gauss limitedLinear 1;
div(phiv,k) Gauss limitedLinear 1;
}
gradSchemes