mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: updated simpleSRFFoam/mixer tutorial
This commit is contained in:
7
TODO
7
TODO
@ -73,8 +73,8 @@ tested on channel395 with 'directSolveCoarsest true;'
|
|||||||
OK - grep for size()/2
|
OK - grep for size()/2
|
||||||
|
|
||||||
- all tutorials with cyclics:
|
- all tutorials with cyclics:
|
||||||
OK - DNS/dnsFoam/boxTurb16
|
OK - incompressible/DNS/dnsFoam/boxTurb16
|
||||||
OK - channelFoam/channel395
|
OK - incompressible/channelFoam/channel395
|
||||||
slight differences due to divergence. combustion/XiFoam/les/pitzDaily3D
|
slight differences due to divergence. combustion/XiFoam/les/pitzDaily3D
|
||||||
OK - no cyclics. combustion/fireFoam/les/smallPoolFire2D
|
OK - no cyclics. combustion/fireFoam/les/smallPoolFire2D
|
||||||
discreteMethods/dsmcFoam/freeSpacePeriodic
|
discreteMethods/dsmcFoam/freeSpacePeriodic
|
||||||
@ -83,9 +83,8 @@ OK - grep for size()/2
|
|||||||
OK - incompressible/boundaryFoam/boundaryLaunderSharma
|
OK - incompressible/boundaryFoam/boundaryLaunderSharma
|
||||||
OK - incompressible/boundaryFoam/boundaryWallFunctions
|
OK - incompressible/boundaryFoam/boundaryWallFunctions
|
||||||
OK - incompressible/boundaryFoam/boundaryWallFunctionsProfile
|
OK - incompressible/boundaryFoam/boundaryWallFunctionsProfile
|
||||||
incompressible/channelFoam/channel395
|
|
||||||
incompressible/pimpleFoam/t-junction-with-fan
|
incompressible/pimpleFoam/t-junction-with-fan
|
||||||
incompressible/simpleSRFFoam/mixer
|
OK - incompressible/simpleSRFFoam/mixer
|
||||||
lagrangian/porousExplicitSourceReactingParcelFoam/filter
|
lagrangian/porousExplicitSourceReactingParcelFoam/filter
|
||||||
lagrangian/reactingParcelFilmFoam/multipleBoxes
|
lagrangian/reactingParcelFilmFoam/multipleBoxes
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- 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: splitCyclic |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,47 +10,49 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volVectorField;
|
class volVectorField;
|
||||||
|
location "0";
|
||||||
object Urel;
|
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
|
boundaryField
|
||||||
{
|
{
|
||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type SRFVelocity;
|
type SRFVelocity;
|
||||||
inletValue uniform (0 0 -10);
|
inletValue uniform ( 0 0 -10 );
|
||||||
relative yes;
|
relative yes;
|
||||||
value uniform (0 0 0);
|
value uniform ( 0 0 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
innerWall
|
innerWall
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform (0 0 0);
|
value uniform ( 0 0 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
outerWall
|
outerWall
|
||||||
{
|
{
|
||||||
type SRFVelocity;
|
type SRFVelocity;
|
||||||
inletValue uniform (0 0 0);
|
inletValue uniform ( 0 0 0 );
|
||||||
relative yes;
|
relative yes;
|
||||||
value uniform (0 0 0);
|
value uniform ( 0 0 0 );
|
||||||
}
|
}
|
||||||
|
cyclic_half0
|
||||||
cyclic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
cyclic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- 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: splitCyclic |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,45 +10,47 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object epsilon;
|
object epsilon;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [0 2 -3 0 0 0 0];
|
dimensions [ 0 2 -3 0 0 0 0 ];
|
||||||
|
|
||||||
internalField uniform 14.855;
|
internalField uniform 14.855;
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 14.855;
|
value uniform 14.855;
|
||||||
}
|
}
|
||||||
|
outlet
|
||||||
outlet
|
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
innerWall
|
||||||
innerWall
|
|
||||||
{
|
{
|
||||||
type epsilonWallFunction;
|
type epsilonWallFunction;
|
||||||
U Urel;
|
U Urel;
|
||||||
value uniform 14.855;
|
value uniform 14.855;
|
||||||
}
|
}
|
||||||
|
outerWall
|
||||||
outerWall
|
|
||||||
{
|
{
|
||||||
type epsilonWallFunction;
|
type epsilonWallFunction;
|
||||||
U Urel;
|
U Urel;
|
||||||
value uniform 14.855;
|
value uniform 14.855;
|
||||||
}
|
}
|
||||||
|
cyclic_half0
|
||||||
cyclic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
cyclic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -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: splitCyclic |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ 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;
|
internalField uniform 0.375;
|
||||||
|
|
||||||
@ -40,7 +40,12 @@ boundaryField
|
|||||||
type kqRWallFunction;
|
type kqRWallFunction;
|
||||||
value uniform 0.375;
|
value uniform 0.375;
|
||||||
}
|
}
|
||||||
cyclic
|
cyclic_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
value uniform 0.375;
|
||||||
|
}
|
||||||
|
cyclic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
value uniform 0.375;
|
value uniform 0.375;
|
||||||
|
|||||||
@ -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: splitCyclic |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ 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;
|
internalField uniform 0;
|
||||||
|
|
||||||
@ -43,7 +43,12 @@ boundaryField
|
|||||||
U Urel;
|
U Urel;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
cyclic
|
cyclic_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
cyclic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
|
|||||||
@ -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: splitCyclic |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ 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;
|
internalField uniform 3.5;
|
||||||
|
|
||||||
@ -42,7 +42,12 @@ boundaryField
|
|||||||
U Urel;
|
U Urel;
|
||||||
value uniform 3.5;
|
value uniform 3.5;
|
||||||
}
|
}
|
||||||
cyclic
|
cyclic_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
value uniform 3.5;
|
||||||
|
}
|
||||||
|
cyclic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
value uniform 3.5;
|
value uniform 3.5;
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*--------------------------------*- 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: splitCyclic |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,11 +10,12 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object p;
|
object p;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [0 2 -2 0 0 0 0];
|
dimensions [ 0 2 -2 0 0 0 0 ];
|
||||||
|
|
||||||
internalField uniform 0;
|
internalField uniform 0;
|
||||||
|
|
||||||
@ -24,27 +25,28 @@ boundaryField
|
|||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
innerWall
|
innerWall
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
outerWall
|
outerWall
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
cyclic_half0
|
||||||
cyclic
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
cyclic_half1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -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: splitCyclic |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
5
|
6
|
||||||
(
|
(
|
||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
@ -41,12 +41,19 @@ FoamFile
|
|||||||
nFaces 880;
|
nFaces 880;
|
||||||
startFace 100840;
|
startFace 100840;
|
||||||
}
|
}
|
||||||
cyclic
|
cyclic_half0
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
nFaces 3200;
|
nFaces 1600;
|
||||||
startFace 101720;
|
startFace 101720;
|
||||||
featureCos 0.9;
|
neighbourPatch cyclic_half1;
|
||||||
|
}
|
||||||
|
cyclic_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
nFaces 1600;
|
||||||
|
startFace 103320;
|
||||||
|
neighbourPatch cyclic_half0;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user