Commit a3b50aff authored by Andrew Heather's avatar Andrew Heather
Browse files

further tutorial updates

parent d21869b5
......@@ -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 "constant";
object boxTurbDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......@@ -18,4 +19,5 @@ Ea 10;
k0 5;
// ************************************************************************* //
......@@ -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 transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
nu nu [0 2 -1 0 0 0 0] 0.025;
nu nu [ 0 2 -1 0 0 0 0 ] 0.025;
// ************************************************************************* //
......@@ -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,16 +10,18 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
UOsigma 0.090295049;
UOsigma 0.090295;
UOalpha 0.81532036;
UOalpha 0.81532;
UOKupper 10;
UOKlower 7;
// ************************************************************************* //
......@@ -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 @@ runTimeModifiable yes;
graphFormat raw;
// ************************************************************************* //
......@@ -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 "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
default Euler;
}
gradSchemes
......@@ -53,7 +54,8 @@ snGradSchemes
fluxRequired
{
default no;
p;
p ;
}
// ************************************************************************* //
......@@ -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,24 +10,28 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p PCG
p
{
preconditioner DIC;
tolerance 1e-06;
relTol 0;
};
U PBiCG
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
U
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
}
PISO
......@@ -36,4 +40,5 @@ PISO
nNonOrthogonalCorrectors 0;
}
// ************************************************************************* //
......@@ -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;
}
// ************************************************************************* //
......@@ -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 );
// ************************************************************************* //
......@@ -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;
}
// ************************************************************************* //
......@@ -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;
}