Tutorial updates

This commit is contained in:
andy
2010-01-05 10:58:40 +00:00
parent dfbd0119dd
commit 6fa46f7bdc
10 changed files with 37 additions and 27 deletions

View File

@ -33,17 +33,18 @@ boundaryField
{ {
type flowRateInletVelocity; type flowRateInletVelocity;
flowRate 0.00379; flowRate 0.00379;
value uniform (-0 10.82857143 -0); value uniform (0 14.68 0);
} }
inletSides inletSides
{ {
type flowRateInletVelocity; type flowRateInletVelocity;
flowRate 0.00832; flowRate 0.00832;
value uniform (-0 11.88571429 -0); value uniform (0 17.79 0);
} }
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform (0 0 0);
} }
walls walls
{ {

View File

@ -17,7 +17,7 @@ FoamFile
dimensions [0 2 -2 0 0 0 0]; dimensions [0 2 -2 0 0 0 0];
internalField uniform 3.75e-11; internalField uniform 3.75e-9;
boundaryField boundaryField
{ {
@ -33,22 +33,23 @@ boundaryField
{ {
type turbulentIntensityKineticEnergyInlet; type turbulentIntensityKineticEnergyInlet;
intensity 0.15; intensity 0.15;
value uniform 3.75e-11; value uniform 3.75e-9;
} }
inletSides inletSides
{ {
type turbulentIntensityKineticEnergyInlet; type turbulentIntensityKineticEnergyInlet;
intensity 0.16; intensity 0.16;
value uniform 3.75e-11; value uniform 3.75e-9;
} }
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 3.75e-9;
} }
walls walls
{ {
type compressible::kqRWallFunction; type compressible::kqRWallFunction;
value uniform 3.75e-11; value uniform 0;
} }
} }

View File

@ -17,7 +17,7 @@ FoamFile
dimensions [0 0 -1 0 0 0 0]; dimensions [0 0 -1 0 0 0 0];
internalField uniform 0.0016; internalField uniform 4.5e-3;
boundaryField boundaryField
{ {
@ -34,18 +34,19 @@ boundaryField
type compressible::turbulentMixingLengthFrequencyInlet; type compressible::turbulentMixingLengthFrequencyInlet;
mixingLength 0.007; mixingLength 0.007;
k k; k k;
value uniform 0.0016; value uniform 4.5e-3;
} }
inletSides inletSides
{ {
type compressible::turbulentMixingLengthFrequencyInlet; type compressible::turbulentMixingLengthFrequencyInlet;
mixingLength 0.007; mixingLength 0.007;
k k; k k;
value uniform 0.0016; value uniform 4.5e-3;
} }
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 4.5e-3;
} }
walls walls
{ {
@ -53,7 +54,7 @@ boundaryField
Cmu 0.09; Cmu 0.09;
kappa 0.41; kappa 0.41;
E 9.8; E 9.8;
value uniform 0.0016; value uniform 0;
} }
} }

View File

@ -43,7 +43,8 @@ boundaryField
} }
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform (0 0 0);
} }
walls walls
{ {

View File

@ -17,7 +17,7 @@ FoamFile
dimensions [0 2 -2 0 0 0 0]; dimensions [0 2 -2 0 0 0 0];
internalField uniform 3.75e-11; internalField uniform 3.75e-9;
boundaryField boundaryField
{ {
@ -33,22 +33,23 @@ boundaryField
{ {
type turbulentIntensityKineticEnergyInlet; type turbulentIntensityKineticEnergyInlet;
intensity 0.15; intensity 0.15;
value uniform 3.75e-11; value uniform 3.75e-9;
} }
inletSides inletSides
{ {
type turbulentIntensityKineticEnergyInlet; type turbulentIntensityKineticEnergyInlet;
intensity 0.16; intensity 0.16;
value uniform 3.75e-11; value uniform 3.75e-9;
} }
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 3.75e-9;
} }
walls walls
{ {
type compressible::kqRWallFunction; type compressible::kqRWallFunction;
value uniform 3.75e-11; value uniform 0;
} }
} }

View File

@ -17,7 +17,7 @@ FoamFile
dimensions [0 0 -1 0 0 0 0]; dimensions [0 0 -1 0 0 0 0];
internalField uniform 0.0016; internalField uniform 4.5e-3;
boundaryField boundaryField
{ {
@ -34,18 +34,19 @@ boundaryField
type compressible::turbulentMixingLengthFrequencyInlet; type compressible::turbulentMixingLengthFrequencyInlet;
mixingLength 0.007; mixingLength 0.007;
k k; k k;
value uniform 0.0016; value uniform 4.5e-3;
} }
inletSides inletSides
{ {
type compressible::turbulentMixingLengthFrequencyInlet; type compressible::turbulentMixingLengthFrequencyInlet;
mixingLength 0.007; mixingLength 0.007;
k k; k k;
value uniform 0.0016; value uniform 4.5-3;
} }
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 4.5e-3;
} }
walls walls
{ {
@ -53,7 +54,7 @@ boundaryField
Cmu 0.09; Cmu 0.09;
kappa 0.41; kappa 0.41;
E 9.8; E 9.8;
value uniform 0.0016; value uniform 0;
} }
} }

View File

@ -5,5 +5,9 @@
# create mesh # create mesh
runApplication blockMesh runApplication blockMesh
# initialise with potentialFoam solution
runApplication potentialFoam
rm -f 0/phi
# run the solver # run the solver
runApplication porousExplicitSourceReactingParcelFoam runApplication porousExplicitSourceReactingParcelFoam

View File

@ -16,7 +16,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -2 0 0 0 0]; dimensions [0 1 -2 0 0 0 0];
value ( 0 0 0 ); value ( 0 -9.81 0 );
// ************************************************************************* // // ************************************************************************* //

View File

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

View File

@ -129,7 +129,7 @@ StandardWallInteractionCoeffs
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
BirdCorrection on; // off; BirdCorrection off;
} }
SinglePhaseMixtureCoeffs SinglePhaseMixtureCoeffs