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,37 +10,30 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Switch turbulence model on or off
turbulence on;
turbulence on;
printCoeffs on;
// Standard k-epsilon model coefficients
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printCoeffs on;
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.375;
alphak 1.0;
alphaEps 0.82142;
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.375;
alphak 1;
alphaEps 0.82142;
}
// Wall function coefficients
// ~~~~~~~~~~~~~~~~~~~~~~~~~~
wallFunctionCoeffs
{
kappa 0.4187;
E 9.0;
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 -9.81 0);
g g [ 0 1 -2 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,17 +10,18 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object filterProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
filter off;
filter off;
// filterNormal has to be in the direction of trapped particles
filterNormal (0 0 1);
filterNormal ( 0 0 1 );
filterPosition filterPosition [0 1 0 0 0] (0 0 0.02);
filterPosition filterPosition [ 0 1 0 0 0 ] ( 0 0 0.02 );
filterThickness filterThickness [ 0 1 0 0 0 ] 1e-06;
filterThickness filterThickness [0 1 0 0 0] 1.0e-6;
// ************************************************************************* //

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,16 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object interfacialProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dragModela GidaspowErgunWenYu;
dragModelb GidaspowErgunWenYu;
dragPhase a;
// ************************************************************************* //

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,41 +10,43 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object kineticTheoryProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
kineticTheory on;
kineticTheory on;
equilibrium on;
equilibrium on;
e e [ 0 0 0 0 0 0 0 ] 0.8 ;
e e [ 0 0 0 0 0 0 0 ] 0.8;
alphaMax alphaMax [ 0 0 0 0 0 0 0 ] 0.62 ;
alphaMax alphaMax [ 0 0 0 0 0 0 0 ] 0.62;
alphaMinFriction alphaMinFriction [ 0 0 0 0 0 0 0 ] 0.65 ;
alphaMinFriction alphaMinFriction [ 0 0 0 0 0 0 0 ] 0.65;
Fr Fr [ 1 -1 -2 0 0 0 0 ] 0.05 ;
Fr Fr [ 1 -1 -2 0 0 0 0 ] 0.05;
eta eta [ 0 0 0 0 0 0 0 ] 2.0 ;
eta eta [ 0 0 0 0 0 0 0 ] 2;
p p [ 0 0 0 0 0 0 0 ] 5.0 ;
p p [ 0 0 0 0 0 0 0 ] 5;
phi phi [ 0 0 0 0 0 0 0 ] 0.0 ;
phi phi [ 0 0 0 0 0 0 0 ] 0;
viscosityModel Gidaspow;
viscosityModel Gidaspow;
conductivityModel Gidaspow;
conductivityModel Gidaspow;
granularPressureModel Lun;
granularPressureModel Lun;
frictionalStressModel JohnsonJackson;
frictionalStressModel JohnsonJackson;
radialModel Gidaspow;
radialModel Gidaspow;
HrenyaSinclairCoeffs
{
L L [ 0 1 0 0 0 0 0 ] 5.0e-4 ;
L L [ 0 1 0 0 0 0 0 ] 0.0005;
}
// ************************************************************************* //

View File

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

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,18 +10,20 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object ppProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
preAlphaExp 500;
preAlphaExp 500;
expMax 1.0e+3;
expMax 1000;
alphaMax 0.62;
alphaMax 0.62;
g0 g0 [ 1 -1 -2 0 0 0 0 ] 0 ;
g0 g0 [ 1 -1 -2 0 0 0 0 ] 0;
packingLimiter no;
packingLimiter no;
// ************************************************************************* //

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,32 +10,32 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// a is the discrete phase and
// b is the continuous phase
// sand
phasea
{
rho rho [1 -3 0 0 0] 2500;
nu nu [0 2 -1 0 0] 1.0e-6;
d d [0 1 0 0 0 0 0] 300.0e-6;
rho rho [ 1 -3 0 0 0 ] 2500;
nu nu [ 0 2 -1 0 0 ] 1e-06;
d d [ 0 1 0 0 0 0 0 ] 0.0003;
}
// air
phaseb
{
rho rho [1 -3 0 0 0] 1.2;
nu nu [0 2 -1 0 0] 1.5e-5;
d d [0 1 0 0 0 0 0] 1.0;
rho rho [ 1 -3 0 0 0 ] 1.2;
nu nu [ 0 2 -1 0 0 ] 1.5e-05;
d d [ 0 1 0 0 0 0 0 ] 1;
}
Cvm Cvm [0 0 0 0 0] 0.0;
Cl Cl [0 0 0 0 0] 0.0;
Ct Ct [0 0 0 0 0] 0.0;
alphaAlpha alphaAlpha [0 0 0 0 0] 0.0;
Cvm Cvm [ 0 0 0 0 0 ] 0;
Cl Cl [ 0 0 0 0 0 ] 0;
Ct Ct [ 0 0 0 0 0 ] 0;
alphaAlpha alphaAlpha [ 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,11 +10,11 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
startFrom latestTime;
startTime 0;
@ -23,7 +23,7 @@ stopAt endTime;
endTime 2;
deltaT 5e-4;
deltaT 0.0005;
writeControl adjustableRunTime;
@ -47,50 +47,9 @@ adjustTimeStep no;
maxCo 0.9;
maxDeltaT 1e-5;
maxDeltaT 1e-05;
functions
(
fieldAverage1
{
// Type of functionObject
type fieldAverage;
// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so");
outputControl outputTime;
// Fields to be averaged - runTime modifiable
fields
(
Ua
{
mean on;
prime2Mean off;
base time;
}
Ub
{
mean on;
prime2Mean off;
base time;
}
alpha
{
mean on;
prime2Mean off;
base time;
}
p
{
mean on;
prime2Mean off;
base time;
}
);
}
);
functions ( fieldAverage1 { type fieldAverage ; functionObjectLibs ( "libfieldFunctionObjects.so" ) ; outputControl outputTime ; fields ( Ua { mean on ; prime2Mean off ; base time ; } Ub { mean on ; prime2Mean off ; base time ; } alpha { mean on ; prime2Mean off ; base time ; } p { mean on ; prime2Mean off ; base time ; } ) ; } );
// ************************************************************************* //

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 "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
default Euler;
}
gradSchemes
@ -29,13 +30,13 @@ divSchemes
default none;
div(phia,Ua) Gauss limitedLinearV 1;
div(phib,Ub) Gauss limitedLinearV 1;
div(phib,k) Gauss limitedLinear 1;
div(phib,k) Gauss limitedLinear 1;
div(phib,epsilon) Gauss limitedLinear 1;
div(phi,alpha) Gauss limitedLinear01 1;
div(phir,alpha) Gauss limitedLinear01 1;
div(phi,Theta) Gauss limitedLinear 1;
div(Rca) Gauss linear;
div(Rcb) Gauss linear;
div(phi,Theta) Gauss limitedLinear 1;
div(Rca) Gauss linear;
div(Rcb) Gauss linear;
}
laplacianSchemes
@ -64,7 +65,8 @@ snGradSchemes
fluxRequired
{
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,69 +10,83 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p GAMG
p
{
tolerance 1e-8;
relTol 0;
smoother DIC;
nPreSweeps 0;
nPostSweeps 2;
nFinestSweeps 2;
solver GAMG;
tolerance 1e-08;
relTol 0;
smoother DIC;
nPreSweeps 0;
nPostSweeps 2;
nFinestSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
};
Ua PBiCG
agglomerator faceAreaPair;
mergeLevels 1;
}
Ua
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
Ub PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
Ub
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
alpha PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
alpha
{
preconditioner DILU;
tolerance 1e-10;
relTol 0;
};
beta PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-10;
relTol 0;
}
beta
{
preconditioner DILU;
tolerance 1e-10;
relTol 0;
};
Theta PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-10;
relTol 0;
}
Theta
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
k PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
k
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
epsilon PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
epsilon
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
}
PISO
@ -96,4 +110,5 @@ relaxationFactors
epsilon 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,26 +10,14 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
defaultFieldValues
(
volScalarFieldValue alpha 0.0
);
defaultFieldValues ( volScalarFieldValue alpha 0 );
regions
(
boxToCell
{
box (0 0 -0.1) (0.15 0.5 0.1);
regions ( boxToCell { box ( 0 0 -0.1 ) ( 0.15 0.5 0.1 ) ; fieldValues ( volScalarFieldValue alpha 0.55 ) ; } );
fieldValues
(
volScalarFieldValue alpha 0.55
);
}
);
// ************************************************************************* //