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,145 +10,91 @@ 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;
// C3
C3 -0.33;
// alphah
alphah 1;
// alphak
alphak 1;
// alphaEps
alphaEps 0.76923;
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.33;
alphah 1;
alphak 1;
alphaEps 0.76923;
}
// RNG k-epsilon model coefficients
RNGkEpsilonCoeffs
{
// Cmu
Cmu 0.0845;
// C1
C1 1.42;
// C2
C2 1.68;
// C3
C3 -0.33;
// alphah
alphah 1;
// 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;
C3 -0.33;
alphah 1;
alphak 1.39;
alphaEps 1.39;
eta0 4.38;
beta 0.012;
}
// Launder-Sharma low Reynolds number k-epsilon model coefficients
LaunderSharmaKECoeffs
{
// Cmu
Cmu 0.09;
// C1
C1 1.44;
// C2
C2 1.92;
// C3
C3 -0.33;
// alphah
alphah 1;
// alphak
alphak 1;
// alphaEps
alphaEps 0.76923;
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.33;
alphah 1;
alphak 1;
alphaEps 0.76923;
}
// 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;
// alphah
alphah 1;
// alphaEps
alphaEps 0.76923;
// alphaR
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;
}
// 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;
// alphah
alphah 1;
// 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;
alphah 1;
alphaEps 0.76923;
alphaR 1.22;
}
// 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,10 +10,12 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object environmentalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
g g [0 1 -2 0 0 0 0] (0 -9.81 0);
g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 );
// ************************************************************************* //

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,108 +10,108 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object kinematicCloud1Properties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Particle sub-models
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel StochasticDispersionRAS;
WallInteractionModel StandardWallInteraction;
InjectionModel ManualInjection;
// Minimum particle mass
minParticleMass minParticleMass [ 1 0 0 0 0] 1.0e-15;
DragModel SphereDrag;
// Parcel thermo properties
rho0 rho0 [ 1 -3 0 0 0] 5000;
DispersionModel StochasticDispersionRAS;
// Coupling between particles and carrier phase via source terms
coupled true;
WallInteractionModel StandardWallInteraction;
// Integer used to identify different parcel types
parcelTypeId 2;
minParticleMass minParticleMass [ 1 0 0 0 0 ] 1e-15;
rho0 rho0 [ 1 -3 0 0 0 ] 5000;
coupled true;
parcelTypeId 2;
interpolationSchemes
{
rho cell;
U cellPointFace;
mu cell;
rho cell;
U cellPointFace;
mu cell;
}
integrationSchemes
{
U Euler;
U Euler;
}
ManualInjectionCoeffs
{
// Parcel basis type
parcelBasisType mass;
// Total mass to inject
massTotal massTotal [ 1 0 0 0 0] 2.0e-4;
SOI 0.0;
positionsFile kinematicCloud1Positions;
U0 (0 0 0);
parcelBasisType mass;
massTotal massTotal [ 1 0 0 0 0 ] 0.0002;
SOI 0;
positionsFile kinematicCloud1Positions;
U0 ( 0 0 0 );
parcelPDF
{
pdfType RosinRammler;
pdfType RosinRammler;
RosinRammlerPDF
{
minValue 50.0e-06;
maxValue 100.0e-06;
d (75.0e-06);
n (0.5);
minValue 5e-05;
maxValue 0.0001;
d ( 7.5e-05 );
n ( 0.5 );
}
}
}
ConeInjectionCoeffs
{
SOI 0.001;
duration 0.005;
position (0.25 0.25 0.05);
direction (0 -1 0);
parcelsPerSecond 10000;
volumeFlowRate Constant;
SOI 0.001;
duration 0.005;
position ( 0.25 0.25 0.05 );
direction ( 0 -1 0 );
parcelsPerSecond 10000;
volumeFlowRate Constant;
volumeFlowRateCoeffs
{
value 0.01;
value 0.01;
}
Umag Constant;
Umag Constant;
UmagCoeffs
{
value 50.0;
value 50;
}
thetaInner Constant;
thetaInner Constant;
thetaInnerCoeffs
{
value 0.0;
value 0;
}
thetaOuter Constant;
thetaOuter Constant;
thetaOuterCoeffs
{
value 30.0;
value 30;
}
parcelPDF
{
pdfType RosinRammler;
pdfType RosinRammler;
RosinRammlerPDF
{
minValue 50.0e-06;
maxValue 100.0e-06;
d (75.0e-06);
n (0.5);
minValue 5e-05;
maxValue 0.0001;
d ( 7.5e-05 );
n ( 0.5 );
}
}
}
StandardWallInteractionCoeffs
{
e e [ 0 0 0 0 0] 1;
mu mu [ 0 0 0 0 0] 0;
e e [ 0 0 0 0 0 ] 1;
mu mu [ 0 0 0 0 0 ] 0;
}
// ************************************************************************* //

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,83 +10,84 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermoCloud1Properties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Particle sub-models
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel StochasticDispersionRAS;
WallInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
InjectionModel ManualInjection;
radiation off;
DragModel SphereDrag;
// Minimum particle mass
minParticleMass minParticleMass [ 1 0 0 0 0] 1.0e-15;
DispersionModel StochasticDispersionRAS;
// Parcel thermo properties
rho0 rho0 [ 1 -3 0 0 0] 2500;
T0 T0 [ 0 0 0 1 0] 300;
cp0 cp0 [ 0 2 -2 -1 0] 900;
epsilon0 epsilon0 [ 0 0 0 0 0] 1;
f0 f0 [ 0 0 0 0 0] 0.5;
WallInteractionModel StandardWallInteraction;
// Coupling between particles and carrier phase via source terms
coupled true;
HeatTransferModel RanzMarshall;
// Integer used to identify different parcel types
parcelTypeId 1;
radiation off;
minParticleMass minParticleMass [ 1 0 0 0 0 ] 1e-15;
rho0 rho0 [ 1 -3 0 0 0 ] 2500;
T0 T0 [ 0 0 0 1 0 ] 300;
cp0 cp0 [ 0 2 -2 -1 0 ] 900;
epsilon0 epsilon0 [ 0 0 0 0 0 ] 1;
f0 f0 [ 0 0 0 0 0 ] 0.5;
coupled true;
parcelTypeId 1;
interpolationSchemes
{
rho cell;
U cellPointFace;
mu cell;
T cell;
Cp cell;
rho cell;
U cellPointFace;
mu cell;
T cell;
Cp cell;
}
integrationSchemes
{
U Euler;
T Analytical;
U Euler;
T Analytical;
}
ManualInjectionCoeffs
{
// Total mass to inject
massTotal massTotal [ 1 0 0 0 0] 1e-4;
// Parcel basis type
parcelBasisType mass;
SOI 0.0;
positionsFile thermoCloud1Positions;
U0 (0 0 0);
massTotal massTotal [ 1 0 0 0 0 ] 0.0001;
parcelBasisType mass;
SOI 0;
positionsFile thermoCloud1Positions;
U0 ( 0 0 0 );
parcelPDF
{
pdfType RosinRammler;
pdfType RosinRammler;
RosinRammlerPDF
{
minValue 5.0e-06;
maxValue 500.0e-06;
d (50.0e-06);
n (0.5);
minValue 5e-06;
maxValue 0.0005;
d ( 5e-05 );
n ( 0.5 );
}
}
}
StandardWallInteractionCoeffs
{
e e [ 0 0 0 0 0] 1;
mu mu [ 0 0 0 0 0] 0;
e e [ 0 0 0 0 0 ] 1;
mu mu [ 0 0 0 0 0 ] 0;
}
RanzMarshallCoeffs
{
Pr Pr [ 0 0 0 0 0] 0.7;
Pr Pr [ 0 0 0 0 0 ] 0.7;
}
// ************************************************************************* //

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,13 +10,14 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Thermophysical model
thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>;
mixture air 1 28.9 1007 0 1.84e-05 0.7;
// ************************************************************************* //

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,61 +10,44 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Foam Application Class
// Start point of run
startFrom latestTime;
// Calculation start time
startTime 0;
// End point of run
stopAt endTime;
// Calculation end time
endTime 0.5;
// Calculation time step
deltaT 1.0e-4;
deltaT 0.0001;
// Type of write output control
writeControl adjustableRunTime;
// Interval with which the results are output
writeInterval 0.01;
// Limits number of time directories before overwriting
purgeWrite 0;
// Write Format
writeFormat ascii;
// Significant figures of written ASCII data
writePrecision 10;
// 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;
// Automatic adjustment of time step?
adjustTimeStep yes;
// maxCo
maxCo 0.2;
// maxDeltaT
maxDeltaT 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,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,26 +21,20 @@ method metis;
simpleCoeffs
{
n (2 2 1);
n ( 2 2 1 );
delta 0.001;
}
hierarchicalCoeffs
{
n (1 1 1);
n ( 1 1 1 );
delta 0.001;
order xyz;
}
metisCoeffs
{
processorWeights
(
1
1
1
1
);
processorWeights ( 1 1 1 1 );
}
manualCoeffs
@ -49,8 +44,7 @@ manualCoeffs
distributed no;
roots
(
);
roots ( );
// ************************************************************************* //

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,29 +10,24 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Time derivative discretisation schemes
ddtSchemes
{
// Default scheme
default Euler;
}
// Gradient discretisation schemes
gradSchemes
{
// Default gradient scheme
default Gauss linear;
grad(p) Gauss linear;
}
// Convection discretisation schemes
divSchemes
{
// Default scheme
default none;
div(phi,U) Gauss upwind;
div(phid,p) Gauss upwind;
@ -42,14 +37,12 @@ divSchemes
div(phi,epsilon) Gauss upwind;
div(U) Gauss linear;
div((muEff*dev2(grad(U).T()))) Gauss linear;
div(phi,Yi_h) Gauss upwind;
div(phi,Yi_h) Gauss upwind;
}
// Laplacian discretisation schemes
laplacianSchemes
{
// Default scheme
default Gauss linear corrected;
default Gauss linear corrected;
laplacian(muEff,U) Gauss linear corrected;
laplacian(mut,U) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
@ -59,26 +52,21 @@ laplacianSchemes
laplacian(alphaEff,h) Gauss linear corrected;
}
// Interpolation schemes
interpolationSchemes
{
// Default scheme
default linear;
}
// Surface normal gradient schemes
snGradSchemes
{
// Default scheme
default corrected;
}
// Calculation of flux
fluxRequired
{
// Create storage for flux for all solved variables?
default no;
p;
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,128 +10,149 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
// Solver for the rho equation
rho PCG
rho
{
preconditioner DIC;
tolerance 1e-05;
relTol 0;
};
// Solver for the U equation
U PBiCG
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
// Solver for the p equation
p PBiCG
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
G PCG
{
preconditioner DIC;
tolerance 1e-05;
relTol 0;
};
Yi PBiCG
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
CO2 PBiCG
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
O2 PBiCG
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
N2 PBiCG
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
CH4 PBiCG
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
H2 PBiCG
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
H2O PBiCG
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
CO PBiCG
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
solver PCG;
preconditioner DIC;
tolerance 1e-05;
relTol 0;
}
// Solver for the h equation
h PBiCG
U
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
// Solver for the R equation
R PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
p
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
// Solver for the k equation
k PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
G
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
// Solver for the epsilon equation
epsilon PBiCG
solver PCG;
preconditioner DIC;
tolerance 1e-05;
relTol 0;
}
Yi
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
CO2
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
O2
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
N2
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
CH4
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
H2
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
H2O
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
CO
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
h
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
R
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
}
PISO
{
// Transonic?
transonic yes;
// Number of PISO correctors
transonic yes;
nCorrectors 2;
// Number of non-orthogonal correctors
nNonOrthogonalCorrectors 0;
// momentumPredictor?
momentumPredictor yes;
}
// ************************************************************************* //