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,293 +10,183 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Turbulence model selection
RASModel kEpsilon;
RASModel kEpsilon;
// Do you wish to calculate turbulence?
turbulence on;
turbulence on;
printCoeffs on;
printCoeffs on;
// Laminar model coefficients
laminarCoeffs
{
}
// Standard k-epsilon model coefficients
kEpsilonCoeffs
{
// Cmu
Cmu 0.09;
// C1
C1 1.44;
// C2
C2 1.92;
// alphaEps
alphaEps 0.76923;
Cmu 0.09;
C1 1.44;
C2 1.92;
alphaEps 0.76923;
}
// RNG k-epsilon model coefficients
RNGkEpsilonCoeffs
{
// Cmu
Cmu 0.0845;
// C1
C1 1.42;
// C2
C2 1.68;
// alphak
alphak 1.39;
// alphaEps
alphaEps 1.39;
// eta0
eta0 4.38;
// beta
beta 0.012;
Cmu 0.0845;
C1 1.42;
C2 1.68;
alphak 1.39;
alphaEps 1.39;
eta0 4.38;
beta 0.012;
}
// k-omega-SST model coefficients
kOmegaSSTCoeffs
{
alphaK1 0.85034;
alphaK2 1.0;
alphaOmega1 0.5;
alphaOmega2 0.85616;
gamma1 0.5532;
gamma2 0.4403;
beta1 0.0750;
beta2 0.0828;
betaStar 0.09;
a1 0.31;
c1 10;
Cmu 0.09;
alphaK1 0.85034;
alphaK2 1;
alphaOmega1 0.5;
alphaOmega2 0.85616;
gamma1 0.5532;
gamma2 0.4403;
beta1 0.075;
beta2 0.0828;
betaStar 0.09;
a1 0.31;
c1 10;
Cmu 0.09;
}
// Shih non-Linear k-epsilon model coefficients
NonlinearKEShihCoeffs
{
// Cmu
Cmu 0.09;
// C1
C1 1.44;
// C2
C2 1.92;
// alphak
alphak 1;
// alphaEps
alphaEps 0.76932;
// A1
A1 1.25;
// A2
A2 1000;
// Ctau1
Ctau1 -4;
// Ctau2
Ctau2 13;
// Ctau3
Ctau3 -2;
// alphaKsi
alphaKsi 0.9;
Cmu 0.09;
C1 1.44;
C2 1.92;
alphak 1;
alphaEps 0.76932;
A1 1.25;
A2 1000;
Ctau1 -4;
Ctau2 13;
Ctau3 -2;
alphaKsi 0.9;
}
// Lien non-Linear cubic k-epsilon model coefficients
LienCubicKECoeffs
{
// C1
C1 1.44;
// C2
C2 1.92;
// alphak
alphak 1;
// alphaEps
alphaEps 0.76923;
// A1
A1 1.25;
// A2
A2 1000;
// Ctau1
Ctau1 -4;
// Ctau2
Ctau2 13;
// Ctau3
Ctau3 -2;
// alphaKsi
alphaKsi 0.9;
C1 1.44;
C2 1.92;
alphak 1;
alphaEps 0.76923;
A1 1.25;
A2 1000;
Ctau1 -4;
Ctau2 13;
Ctau3 -2;
alphaKsi 0.9;
}
// Gibson's q-zeta low Reynolds number k-epsilon model coefficients
QZetaCoeffs
{
// Cmu
Cmu 0.09;
// C1
C1 1.44;
// C2
C2 1.92;
// alphaZeta
alphaZeta 0.76923;
// anisotropic?
Cmu 0.09;
C1 1.44;
C2 1.92;
alphaZeta 0.76923;
anisotropic no;
}
// Launder-Sharma low Reynolds number k-epsilon model coefficients
LaunderSharmaKECoeffs
{
// Cmu
Cmu 0.09;
// C1
C1 1.44;
// C2
C2 1.92;
// alphaEps
alphaEps 0.76923;
Cmu 0.09;
C1 1.44;
C2 1.92;
alphaEps 0.76923;
}
// Lam-Bremhorst low Reynolds number k-Epsilon model coefficients
LamBremhorstKECoeffs
{
// Cmu
Cmu 0.09;
// C1
C1 1.44;
// C2
C2 1.92;
// alphaEps
alphaEps 0.76923;
Cmu 0.09;
C1 1.44;
C2 1.92;
alphaEps 0.76923;
}
// Lien-Leschziner low Reynolds number cubic k-epsilon model coefficients
LienCubicKELowReCoeffs
{
// Cmu
Cmu 0.09;
// C1
C1 1.44;
// C2
C2 1.92;
// alphak
alphak 1;
// alphaEps
alphaEps 0.76923;
// A1
A1 1.25;
// A2
A2 1000;
// Ctau1
Ctau1 -4;
// Ctau2
Ctau2 13;
// Ctau3
Ctau3 -2;
// alphaKsi
alphaKsi 0.9;
// Am
Am 0.016;
// Aepsilon
Aepsilon 0.263;
// Amu
Amu 0.00222;
Cmu 0.09;
C1 1.44;
C2 1.92;
alphak 1;
alphaEps 0.76923;
A1 1.25;
A2 1000;
Ctau1 -4;
Ctau2 13;
Ctau3 -2;
alphaKsi 0.9;
Am 0.016;
Aepsilon 0.263;
Amu 0.00222;
}
// Lien-Leschziner low Reynolds number cubic k-epsilon model coefficients
LienLeschzinerLowReCoeffs
{
// Cmu
Cmu 0.09;
// C1
C1 1.44;
// C2
C2 1.92;
// alphak
alphak 1;
// alphaEps
alphaEps 0.76923;
// Am
Am 0.016;
// Aepsilon
Aepsilon 0.263;
// Amu
Amu 0.00222;
Cmu 0.09;
C1 1.44;
C2 1.92;
alphak 1;
alphaEps 0.76923;
Am 0.016;
Aepsilon 0.263;
Amu 0.00222;
}
// Launder-Reece-Rodi RSTM with wall functions model coefficients
LRRCoeffs
{
// Cmu
Cmu 0.09;
// Clrr1
Clrr1 1.8;
// Clrr2
Clrr2 0.6;
// C1
C1 1.44;
// C2
C2 1.92;
// Cs
Cs 0.25;
// Ceps
Ceps 0.15;
// alphaEps
alphaEps 0.76923;
Cmu 0.09;
Clrr1 1.8;
Clrr2 0.6;
C1 1.44;
C2 1.92;
Cs 0.25;
Ceps 0.15;
alphaEps 0.76923;
}
// Launder-Gibson RSTM with wall reflection and wall functions model coefficients
LaunderGibsonRSTMCoeffs
{
// Cmu
Cmu 0.09;
// Clg1
Clg1 1.8;
// Clg2
Clg2 0.6;
// C1
C1 1.44;
// C2
C2 1.92;
// C1Ref
C1Ref 0.5;
// C2Ref
C2Ref 0.3;
// Cs
Cs 0.25;
// Ceps
Ceps 0.15;
// alphaEps
alphaEps 0.76923;
// alphaR
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;
alphaEps 0.76923;
alphaR 1.22;
}
// Standard Spalart-Allmaras model coefficients
SpalartAllmarasCoeffs
{
// alphaNut
alphaNut 1.5;
// Cb1
Cb1 0.1355;
// Cb2
Cb2 0.622;
// Cw2
Cw2 0.3;
// Cw3
Cw3 2;
// Cv1
Cv1 7.1;
Cv2 5.0;
alphaNut 1.5;
Cb1 0.1355;
Cb2 0.622;
Cw2 0.3;
Cw3 2;
Cv1 7.1;
Cv2 5;
}
// Wall function coefficients
wallFunctionCoeffs
{
// kappa
kappa 0.4187;
// E
E 9;
kappa 0.4187;
E 9;
}
// ************************************************************************* //

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,43 +10,32 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Ubar
Ubar Ubar [0 1 -1 0 0 0 0] (10 0 0);
Ubar Ubar [ 0 1 -1 0 0 0 0 ] ( 10 0 0 );
// Laminar incompressible transport model
transportModel Newtonian;
// nu
nu nu [0 2 -1 0 0 0 0] 1e-05;
nu nu [ 0 2 -1 0 0 0 0 ] 1e-05;
// Coefficients for Cross's Power Law
CrossPowerLawCoeffs
{
// nu0
nu0 nu0 [0 2 -1 0 0 0 0] 1e-06;
// nuInf
nuInf nuInf [0 2 -1 0 0 0 0] 1e-06;
// m
m m [0 0 1 0 0 0 0] 1;
// n
n n [0 0 0 0 0 0 0] 1;
nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06;
nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
m m [ 0 0 1 0 0 0 0 ] 1;
n n [ 0 0 0 0 0 0 0 ] 1;
}
// Coefficients for Bird-Carreau Law
BirdCarreauCoeffs
{
// nu0
nu0 nu0 [0 2 -1 0 0 0 0] 1e-06;
// nuInf
nuInf nuInf [0 2 -1 0 0 0 0] 1e-06;
// k
k k [0 0 1 0 0 0 0] 0;
// n
n n [0 0 0 0 0 0 0] 1;
nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06;
nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
k k [ 0 0 1 0 0 0 0 ] 0;
n n [ 0 0 0 0 0 0 0 ] 1;
}
// ************************************************************************* //

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,55 +10,40 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Foam Application Class
// Start point of run
startFrom startTime;
// Calculation start time
startTime 0;
// End point of run
stopAt endTime;
// Calculation end time
endTime 1000;
// Calculation time step
deltaT 1;
// Type of write output control
writeControl timeStep;
// Interval with which the results are output
writeInterval 100;
// Limits number of time directories before overwriting
purgeWrite 0;
// Write Format
writeFormat ascii;
// Significant figures of written ASCII data
writePrecision 6;
// Write Compression
writeCompression uncompressed;
// Time directories name format
timeFormat general;
// Decimal precision of time directory names
timePrecision 6;
// Can parameters be modified during run time?
runTimeModifiable yes;
// Output format for graphs
graphFormat raw;
// ************************************************************************* //

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,28 +10,23 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Time derivative discretisation schemes
ddtSchemes
{
// Default scheme
default steadyState;
}
// Gradient discretisation schemes
gradSchemes
{
// Default gradient scheme
default Gauss linear;
}
// Convection discretisation schemes
divSchemes
{
// Default scheme
default none;
div(phi,k) Gauss linear;
div(phi,epsilon) Gauss linear;
@ -40,10 +35,8 @@ divSchemes
div((nuEff*dev(grad(U).T()))) Gauss linear;
}
// Laplacian discretisation schemes
laplacianSchemes
{
// Default scheme
default none;
laplacian(nuEff,U) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
@ -52,18 +45,15 @@ laplacianSchemes
laplacian(DnuTildaEff,nuTilda) Gauss linear corrected;
}
// Interpolation schemes
interpolationSchemes
{
// Default scheme
default linear;
}
// Surface normal gradient schemes
snGradSchemes
{
// Default scheme
default corrected;
}
// ************************************************************************* //

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,70 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
// Solver for the U equation
U PCG
U
{
preconditioner DIC;
tolerance 1e-06;
relTol 0;
};
// Solver for the k equation
k PBiCG
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
k
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
// Solver for the epsilon equation
epsilon PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
epsilon
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
// Solver for the R equation
R PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
R
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
// Solver for the nuTilda equation
nuTilda PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
nuTilda
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
}
PISO
{
// Number of PISO correctors
nCorrectors 2;
// Number of non-orthogonal correctors
nNonOrthogonalCorrectors 0;
// momentumPredictor?
momentumPredictor yes;
// fluxGradp?
fluxGradp no;
}
relaxationFactors
{
// U
U 0.5;
// k
k 0.7;
// epsilon
epsilon 0.7;
// R
R 0.7;
// nuTilda
nuTilda 0.7;
}
// ************************************************************************* //