further tutorial updates

This commit is contained in:
andy
2009-02-13 14:17:08 +00:00
parent d21869b580
commit a3b50aff9f
632 changed files with 9963 additions and 10602 deletions

View File

@ -2,7 +2,7 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,11 +10,11 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
startFrom startTime;
startTime 0;
@ -45,4 +45,5 @@ graphFormat raw;
runTimeModifiable yes;
// ************************************************************************* //

View File

@ -2,7 +2,7 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,80 +10,60 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default steadyState;
default steadyState;
}
gradSchemes
{
default Gauss linear;
// UEqn
grad(U) Gauss linear;
grad(p) Gauss linear;
default Gauss linear;
grad(U) Gauss linear;
grad(p) Gauss linear;
}
divSchemes
{
//- default Gauss upwind;
// UEqn
div(phi,U) Gauss upwind;
div((muEff*dev2(grad(U).T()))) Gauss linear;
// hEqn
div(phi,h) Gauss upwind;
// epsilonEqn
div(phi,epsilon) Gauss upwind;
// kEqn
div(phi,k) Gauss upwind;
// experimental
div(phid,p) Gauss linear;
div(phi,U) Gauss upwind;
div((muEff*dev2(grad(U).T()))) Gauss linear;
div(phi,h) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,k) Gauss upwind;
div(phid,p) Gauss linear;
}
laplacianSchemes
{
//- default Gauss linear corrected;
// UEqn
laplacian(muEff,U) Gauss linear corrected;
// hEqn
laplacian(alphaEff,h) Gauss linear corrected;
// pCorrect
laplacian(muEff,U) Gauss linear corrected;
laplacian(alphaEff,h) Gauss linear corrected;
laplacian((rho|A(U)),p) Gauss linear corrected;
laplacian((rho*rAU),p) Gauss linear corrected;
// epsilonEqn
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
// kEqn
laplacian(DkEff,k) Gauss linear corrected;
// potential
laplacian(1,p) Gauss linear corrected;
laplacian((rho*rAU),p) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(1,p) Gauss linear corrected;
}
interpolationSchemes
{
default linear;
// default upwind phi;
div(U,p) upwind phi;
default linear;
div(U,p) upwind phi;
}
snGradSchemes
{
default corrected;
default corrected;
}
fluxRequired
{
default no;
p;
default no;
p ;
}
// ************************************************************************* //

View File

@ -2,7 +2,7 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,73 +10,76 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p GAMG
p
{
tolerance 1e-8;
relTol 0.05;
smoother GaussSeidel;
solver GAMG;
tolerance 1e-08;
relTol 0.05;
smoother GaussSeidel;
cacheAgglomeration off;
nCellsInCoarsestLevel 20;
agglomerator faceAreaPair;
mergeLevels 1;
};
agglomerator faceAreaPair;
mergeLevels 1;
}
U smoothSolver
U
{
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-6;
relTol 0.1;
};
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-06;
relTol 0.1;
}
h PBiCG
h
{
preconditioner DILU;
tolerance 1e-6;
relTol 0.1;
};
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0.1;
}
k smoothSolver
k
{
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-7;
relTol 0.1;
};
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-07;
relTol 0.1;
}
epsilon smoothSolver
epsilon
{
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-7;
relTol 0.1;
};
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-07;
relTol 0.1;
}
}
SIMPLE
{
// nUCorrectors 0;
nNonOrthogonalCorrectors 0;
pMin pMin [1 -1 -2 0 0 0 0] 100;
nNonOrthogonalCorrectors 0;
pMin pMin [ 1 -1 -2 0 0 0 0 ] 100;
}
relaxationFactors
{
p 0.3;
rho 0.05;
U 0.7;
k 0.7;
epsilon 0.7;
h 0.5;
p 0.3;
rho 0.05;
U 0.7;
k 0.7;
epsilon 0.7;
h 0.5;
}
// ************************************************************************* //

View File

@ -2,23 +2,24 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
format binary;
class dictionary;
location "constant";
object RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASModel kEpsilon;
RASModel kEpsilon;
turbulence on;
turbulence on;
printCoeffs on;
printCoeffs on;
laminarCoeffs
{
@ -26,73 +27,74 @@ laminarCoeffs
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.33;
alphah 1;
alphak 1;
alphaEps 0.76923;
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.33;
alphah 1;
alphak 1;
alphaEps 0.76923;
}
RNGkEpsilonCoeffs
{
Cmu 0.0845;
C1 1.42;
C2 1.68;
C3 -0.33;
alphah 1;
alphak 1.39;
alphaEps 1.39;
eta0 4.38;
beta 0.012;
Cmu 0.0845;
C1 1.42;
C2 1.68;
C3 -0.33;
alphah 1;
alphak 1.39;
alphaEps 1.39;
eta0 4.38;
beta 0.012;
}
LaunderSharmaKECoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.33;
alphah 1;
alphak 1;
alphaEps 0.76923;
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.33;
alphah 1;
alphak 1;
alphaEps 0.76923;
}
LRRCoeffs
{
Cmu 0.09;
Clrr1 1.8;
Clrr2 0.6;
C1 1.44;
C2 1.92;
Cs 0.25;
Ceps 0.15;
alphah 1;
alphaEps 0.76923;
alphaR 1.22;
Cmu 0.09;
Clrr1 1.8;
Clrr2 0.6;
C1 1.44;
C2 1.92;
Cs 0.25;
Ceps 0.15;
alphah 1;
alphaEps 0.76923;
alphaR 1.22;
}
LaunderGibsonRSTMCoeffs
{
Cmu 0.09;
Clg1 1.8;
Clg2 0.6;
C1 1.44;
C2 1.92;
C1Ref 0.5;
C2Ref 0.3;
Cs 0.25;
Ceps 0.15;
alphah 1;
alphaEps 0.76923;
alphaR 1.22;
Cmu 0.09;
Clg1 1.8;
Clg2 0.6;
C1 1.44;
C2 1.92;
C1Ref 0.5;
C2Ref 0.3;
Cs 0.25;
Ceps 0.15;
alphah 1;
alphaEps 0.76923;
alphaR 1.22;
}
wallFunctionCoeffs
{
kappa 0.4187;
E 9;
kappa 0.4187;
E 9;
}
// ************************************************************************* //

View File

@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object porousZones;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -2,27 +2,22 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
format binary;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>>;
mixture
air 1 28.9 // specieThermo
1007 0 // hConstThermo
// 1.84766e-05 0.7 // constTransport - 300K
// 2.68477e-05 0.7 // constTransport - 500K
// 3.93094e-05 0.7 // constTransport - 900K
1.4792e-06 116 // sutherlandTransport (Star-CD)
// 1.4584e-06 110.33 // sutherlandTransport (European Space Agency)
;
mixture air 1 28.9 1007 0 1.4792e-06 116;
// ************************************************************************* //

View File

@ -2,19 +2,19 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
format binary;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
startFrom startTime;
startTime 0;
@ -45,4 +45,5 @@ graphFormat raw;
runTimeModifiable yes;
// ************************************************************************* //

View File

@ -2,86 +2,67 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
format binary;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default steadyState;
default steadyState;
}
gradSchemes
{
default Gauss linear;
// UEqn
grad(U) Gauss linear;
grad(p) Gauss linear;
default Gauss linear;
grad(U) Gauss linear;
grad(p) Gauss linear;
}
divSchemes
{
//- default Gauss upwind;
// UEqn
div(phi,U) Gauss upwind;
div((muEff*dev2(grad(U).T()))) Gauss linear;
// hEqn
div(phi,h) Gauss upwind;
// epsilonEqn
div(phi,epsilon) Gauss upwind;
// kEqn
div(phi,k) Gauss upwind;
// experimental
div(phid,p) Gauss linear;
div(phi,U) Gauss upwind;
div((muEff*dev2(grad(U).T()))) Gauss linear;
div(phi,h) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,k) Gauss upwind;
div(phid,p) Gauss linear;
}
laplacianSchemes
{
//- default Gauss linear corrected;
// UEqn
laplacian(muEff,U) Gauss linear corrected;
// hEqn
laplacian(alphaEff,h) Gauss linear corrected;
// pCorrect
laplacian(muEff,U) Gauss linear corrected;
laplacian(alphaEff,h) Gauss linear corrected;
laplacian((rho*rAU),p) Gauss linear corrected;
// epsilonEqn
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
// kEqn
laplacian(DkEff,k) Gauss linear corrected;
// potential
laplacian(1,p) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(1,p) Gauss linear corrected;
}
interpolationSchemes
{
default linear;
// default upwind phi;
div(U,p) upwind phi;
default linear;
div(U,p) upwind phi;
}
snGradSchemes
{
default corrected;
default corrected;
}
fluxRequired
{
default no;
p;
default no;
p ;
}
// ************************************************************************* //

View File

@ -2,73 +2,76 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
format binary;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p GAMG
p
{
tolerance 1e-8;
relTol 0.05;
smoother GaussSeidel;
solver GAMG;
tolerance 1e-08;
relTol 0.05;
smoother GaussSeidel;
cacheAgglomeration off;
nCellsInCoarsestLevel 20;
agglomerator faceAreaPair;
mergeLevels 1;
};
agglomerator faceAreaPair;
mergeLevels 1;
}
h PBiCG
h
{
preconditioner DILU;
tolerance 1e-6;
relTol 0.1;
};
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0.1;
}
k smoothSolver
k
{
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-7;
relTol 0.1;
};
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-07;
relTol 0.1;
}
epsilon smoothSolver
epsilon
{
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-7;
relTol 0.1;
};
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-07;
relTol 0.1;
}
}
SIMPLE
{
nUCorrectors 2;
nNonOrthogonalCorrectors 0;
pMin pMin [1 -1 -2 0 0 0 0] 100;
nUCorrectors 2;
nNonOrthogonalCorrectors 0;
pMin pMin [ 1 -1 -2 0 0 0 0 ] 100;
}
relaxationFactors
{
p 0.3;
rho 1;
U 0.7;
k 0.9;
epsilon 0.9;
h 0.9;
p 0.3;
rho 1;
U 0.7;
k 0.9;
epsilon 0.9;
h 0.9;
}
// ************************************************************************* //