ENH: updated simpleSRFFoam/mixer tutorial

This commit is contained in:
mattijs
2010-05-04 17:33:44 +01:00
parent 4380e0fbea
commit 51c2adc21f
8 changed files with 79 additions and 52 deletions

7
TODO
View File

@ -73,8 +73,8 @@ tested on channel395 with 'directSolveCoarsest true;'
OK - grep for size()/2
- all tutorials with cyclics:
OK - DNS/dnsFoam/boxTurb16
OK - channelFoam/channel395
OK - incompressible/DNS/dnsFoam/boxTurb16
OK - incompressible/channelFoam/channel395
slight differences due to divergence. combustion/XiFoam/les/pitzDaily3D
OK - no cyclics. combustion/fireFoam/les/smallPoolFire2D
discreteMethods/dsmcFoam/freeSpacePeriodic
@ -83,9 +83,8 @@ OK - grep for size()/2
OK - incompressible/boundaryFoam/boundaryLaunderSharma
OK - incompressible/boundaryFoam/boundaryWallFunctions
OK - incompressible/boundaryFoam/boundaryWallFunctionsProfile
incompressible/channelFoam/channel395
incompressible/pimpleFoam/t-junction-with-fan
incompressible/simpleSRFFoam/mixer
OK - incompressible/simpleSRFFoam/mixer
lagrangian/porousExplicitSourceReactingParcelFoam/filter
lagrangian/reactingParcelFilmFoam/multipleBoxes

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,47 +10,49 @@ FoamFile
version 2.0;
format ascii;
class volVectorField;
location "0";
object Urel;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
dimensions [ 0 1 -1 0 0 0 0 ];
internalField uniform (0 0 0);
internalField uniform ( 0 0 0 );
boundaryField
{
inlet
{
type SRFVelocity;
inletValue uniform (0 0 -10);
inletValue uniform ( 0 0 -10 );
relative yes;
value uniform (0 0 0);
value uniform ( 0 0 0 );
}
outlet
{
type zeroGradient;
}
innerWall
{
type fixedValue;
value uniform (0 0 0);
value uniform ( 0 0 0 );
}
outerWall
{
type SRFVelocity;
inletValue uniform (0 0 0);
inletValue uniform ( 0 0 0 );
relative yes;
value uniform (0 0 0);
value uniform ( 0 0 0 );
}
cyclic
cyclic_half0
{
type cyclic;
}
cyclic_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,45 +10,47 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
dimensions [ 0 2 -3 0 0 0 0 ];
internalField uniform 14.855;
boundaryField
{
inlet
inlet
{
type fixedValue;
value uniform 14.855;
}
outlet
outlet
{
type zeroGradient;
}
innerWall
innerWall
{
type epsilonWallFunction;
U Urel;
value uniform 14.855;
}
outerWall
outerWall
{
type epsilonWallFunction;
U Urel;
value uniform 14.855;
}
cyclic
cyclic_half0
{
type cyclic;
}
cyclic_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform 0.375;
@ -40,7 +40,12 @@ boundaryField
type kqRWallFunction;
value uniform 0.375;
}
cyclic
cyclic_half0
{
type cyclic;
value uniform 0.375;
}
cyclic_half1
{
type cyclic;
value uniform 0.375;

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
dimensions [ 0 2 -1 0 0 0 0 ];
internalField uniform 0;
@ -43,7 +43,12 @@ boundaryField
U Urel;
value uniform 0;
}
cyclic
cyclic_half0
{
type cyclic;
value uniform 0;
}
cyclic_half1
{
type cyclic;
value uniform 0;

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 -1 0 0 0 0];
dimensions [ 0 0 -1 0 0 0 0 ];
internalField uniform 3.5;
@ -42,7 +42,12 @@ boundaryField
U Urel;
value uniform 3.5;
}
cyclic
cyclic_half0
{
type cyclic;
value uniform 3.5;
}
cyclic_half1
{
type cyclic;
value uniform 3.5;

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,11 +10,12 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform 0;
@ -24,27 +25,28 @@ boundaryField
{
type zeroGradient;
}
outlet
{
type fixedValue;
value uniform 0;
}
innerWall
{
type zeroGradient;
}
outerWall
{
type zeroGradient;
}
cyclic
cyclic_half0
{
type cyclic;
}
cyclic_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
5
6
(
inlet
{
@ -41,12 +41,19 @@ FoamFile
nFaces 880;
startFace 100840;
}
cyclic
cyclic_half0
{
type cyclic;
nFaces 3200;
nFaces 1600;
startFace 101720;
featureCos 0.9;
neighbourPatch cyclic_half1;
}
cyclic_half1
{
type cyclic;
nFaces 1600;
startFace 103320;
neighbourPatch cyclic_half0;
}
)