Merge remote-tracking branch 'origin/bugfix/updatePreconfiguredBoundaryTuts'

This commit is contained in:
Dominik Christ 2014-07-31 15:54:38 +01:00
commit 126263ad3e
14 changed files with 4151 additions and 270 deletions

View file

@ -41,6 +41,7 @@ FoamFile
nFaces 10;
startFace 277;
shadowPatch mixpRightIn;
zone mixpLeftOutZone;
orientation dirY_spanZ;
assembly both;
coordinateSystem
@ -50,6 +51,12 @@ FoamFile
axis (0 0 1);
direction (1 0 0);
}
ribbonPatch
{
discretisation bothPatches;
stackAxis Y;
sweepAxis Z;
}
}
mixpRightIn
{
@ -57,6 +64,7 @@ FoamFile
nFaces 3;
startFace 287;
shadowPatch mixpLeftOut;
zone mixpRightInZone;
orientation dirY_spanZ;
assembly both;
coordinateSystem
@ -66,7 +74,12 @@ FoamFile
axis (0 0 1);
direction (1 0 0);
}
}
ribbonPatch
{
discretisation bothPatches;
stackAxis Y;
sweepAxis Z;
} }
rightOut
{
type patch;

View file

@ -41,6 +41,7 @@ FoamFile
nFaces 10;
startFace 410;
shadowPatch mixpRightIn;
zone mixpLeftOutZone;
orientation dirY_spanZ;
assembly both;
coordinateSystem
@ -50,6 +51,12 @@ FoamFile
axis (0 0 1);
direction (1 0 0);
}
ribbonPatch
{
sweepAxis Z;
stackAxis Y;
discretisation bothPatches;
}
}
mixpRightIn
{
@ -57,6 +64,7 @@ FoamFile
nFaces 10;
startFace 420;
shadowPatch mixpLeftOut;
zone mixpRightInZone;
orientation dirY_spanZ;
assembly both;
coordinateSystem
@ -66,6 +74,12 @@ FoamFile
axis (0 0 1);
direction (1 0 0);
}
ribbonPatch
{
discretisation bothPatches;
stackAxis Y;
sweepAxis Z;
}
}
rightOut
{

View file

@ -41,6 +41,7 @@ FoamFile
nFaces 10;
startFace 410;
shadowPatch mixpRightIn;
zone mixpLeftOutZone;
orientation dirZ_spanY;
assembly both;
coordinateSystem
@ -50,6 +51,12 @@ FoamFile
axis (0 0 1);
direction (1 0 0);
}
ribbonPatch
{
sweepAxis Y;
stackAxis Z;
discretisation bothPatches;
}
}
mixpRightIn
{
@ -57,6 +64,7 @@ FoamFile
nFaces 10;
startFace 420;
shadowPatch mixpLeftOut;
zone mixpRightInZone;
orientation dirZ_spanY;
assembly both;
coordinateSystem
@ -66,6 +74,12 @@ FoamFile
axis (0 0 1);
direction (1 0 0);
}
ribbonPatch
{
discretisation bothPatches;
stackAxis Z;
sweepAxis Y;
}
}
rightOut
{

File diff suppressed because it is too large Load diff

View file

@ -15,54 +15,59 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -3 0 0 0 0 ];
dimensions [0 2 -3 0 0 0 0];
internalField uniform 0.1;
internalField uniform 0.1;
boundaryField
{
downstreamMixingPlanePatch
outflow
{
type mixingPlane;
}
upstreamMixingPlanePatch
{
type mixingPlane;
}
downstreamWall
{
type symmetryPlane;
}
upstreamWall
{
type symmetryPlane;
}
downstreamPerio1
{
type cyclicGgi;
}
downstreamPerio2
{
type cyclicGgi;
}
upstreamPerio1
{
type cyclicGgi;
}
upstreamPerio2
{
type cyclicGgi;
type zeroGradient;
}
inflow
{
type fixedValue;
value uniform 0.1;
type fixedValue;
value uniform 0.1;
}
outflow
upstreamPerio1
{
type zeroGradient;
type cyclicGgi;
value uniform 0.1;
}
upstreamPerio2
{
type cyclicGgi;
value uniform 0.1;
}
upstreamMixingPlanePatch
{
type mixingPlane;
value uniform 0.1;
}
downstreamMixingPlanePatch
{
type mixingPlane;
value uniform 0.1;
}
downstreamWall
{
type symmetryPlane;
}
upstreamWall
{
type symmetryPlane;
}
downstreamPerio1
{
type cyclicGgi;
value uniform 0.1;
}
downstreamPerio2
{
type cyclicGgi;
value uniform 0.1;
}
}
// ************************************************************************* //

View file

@ -15,55 +15,59 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -2 0 0 0 0 ];
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0.01;
internalField uniform 0.1;
boundaryField
{
downstreamPerio1
outflow
{
type cyclicGgi;
}
downstreamPerio2
{
type cyclicGgi;
}
upstreamPerio1
{
type cyclicGgi;
}
upstreamPerio2
{
type cyclicGgi;
}
downstreamWall
{
type symmetryPlane;
}
upstreamWall
{
type symmetryPlane;
}
downstreamMixingPlanePatch
{
type mixingPlane;
}
upstreamMixingPlanePatch
{
type mixingPlane;
type zeroGradient;
}
inflow
{
type fixedValue;
value uniform 0.01;
type fixedValue;
value uniform 0.01;
}
outflow
upstreamPerio1
{
type zeroGradient;
type cyclicGgi;
value uniform 0.1;
}
upstreamPerio2
{
type cyclicGgi;
value uniform 0.1;
}
upstreamMixingPlanePatch
{
type mixingPlane;
value uniform 0.1;
}
downstreamMixingPlanePatch
{
type mixingPlane;
value uniform 0.1;
}
downstreamWall
{
type symmetryPlane;
}
upstreamWall
{
type symmetryPlane;
}
downstreamPerio1
{
type cyclicGgi;
value uniform 0.1;
}
downstreamPerio2
{
type cyclicGgi;
value uniform 0.1;
}
}
// ************************************************************************* //

View file

@ -11,58 +11,64 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object epsilon;
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -3 0 0 0 0 ];
dimensions [0 2 -1 0 0 0 0];
internalField uniform 0.1;
internalField uniform 0;
boundaryField
{
downstreamMixingPlanePatch
outflow
{
type mixingPlane;
}
upstreamMixingPlanePatch
{
type mixingPlane;
}
downstreamWall
{
type symmetryPlane;
}
upstreamWall
{
type symmetryPlane;
}
downstreamPerio1
{
type cyclicGgi;
}
downstreamPerio2
{
type cyclicGgi;
}
upstreamPerio1
{
type cyclicGgi;
}
upstreamPerio2
{
type cyclicGgi;
type calculated;
value uniform 0;
}
inflow
{
type fixedValue;
value uniform 0.1;
type calculated;
value uniform 0;
}
outflow
upstreamPerio1
{
type zeroGradient;
type cyclicGgi;
value uniform 0;
}
upstreamPerio2
{
type cyclicGgi;
value uniform 0;
}
upstreamMixingPlanePatch
{
type mixingPlane;
value uniform 0;
}
downstreamMixingPlanePatch
{
type mixingPlane;
value uniform 0;
}
downstreamWall
{
type symmetryPlane;
}
upstreamWall
{
type symmetryPlane;
}
downstreamPerio1
{
type cyclicGgi;
value uniform 0;
}
downstreamPerio2
{
type cyclicGgi;
value uniform 0;
}
}
// ************************************************************************* //

File diff suppressed because it is too large Load diff

View file

@ -1,69 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.1 |
| \\ / A nd | Web: http://www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform 0.1;
boundaryField
{
downstreamPerio1
{
type cyclicGgi;
}
downstreamPerio2
{
type cyclicGgi;
}
upstreamPerio1
{
type cyclicGgi;
}
upstreamPerio2
{
type cyclicGgi;
}
downstreamWall
{
type symmetryPlane;
}
upstreamWall
{
type symmetryPlane;
}
downstreamMixingPlanePatch
{
type mixingPlane;
}
upstreamMixingPlanePatch
{
type mixingPlane;
}
inflow
{
type fixedValue;
value uniform 0.01;
}
outflow
{
type zeroGradient;
}
}
// ************************************************************************* //

View file

@ -1,71 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.1 |
| \\ / A nd | Web: http://www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
upstreamMixingPlanePatch
{
type mixingPlane;
}
downstreamMixingPlanePatch
{
type mixingPlane;
}
upstreamPerio1
{
type cyclicGgi;
}
upstreamPerio2
{
type cyclicGgi;
}
downstreamPerio1
{
type cyclicGgi;
}
downstreamPerio2
{
type cyclicGgi;
}
downstreamWall
{
type symmetryPlane;
}
upstreamWall
{
type symmetryPlane;
}
inflow
{
type surfaceNormalFixedValue;
refValue uniform -10;
value uniform (0 0 0);
}
outflow
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}
}
// ************************************************************************* //

View file

@ -5,3 +5,6 @@
cleanCase
\rm -rf *.py
\rm -f constant/polyMesh/boundary
\rm -rf 0
\cp -r 0.orig 0

View file

@ -18,17 +18,36 @@ FoamFile
//m4 definitions -----------------------------
//Geometry -----------------------------------
// 2 planes levels
// Angle span for inner block
// Angle span for outer block
// Radial dimensions
// Mesh parameters
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1;
@ -37,29 +56,29 @@ vertices
(
//Plane A:
//Bottom of curved block
(0.499999999999998 0.86602540378444 0.0) // Vertex A0 = 0
(0.999999999999996 1.73205080756888 0.0) // Vertex A1 = 1
(-0.866025403784436 0.500000000000004 0.0) // Vertex A2 = 2
(-1.73205080756887 1.00000000000001 0.0) // Vertex A3 = 3
(0.499999999999998 0.86602540378444 0.0) // Vertex A0 = 0
(0.999999999999996 1.73205080756888 0.0) // Vertex A1 = 1
(-0.866025403784436 0.500000000000004 0.0) // Vertex A2 = 2
(-1.73205080756887 1.00000000000001 0.0) // Vertex A3 = 3
//Plane B:
//Top of curved block
(0.499999999999998 0.86602540378444 0.1) // Vertex B0 = 4
(0.999999999999996 1.73205080756888 0.1) // Vertex B1 = 5
(-0.866025403784436 0.500000000000004 0.1) // Vertex B2 = 6
(-1.73205080756887 1.00000000000001 0.1) // Vertex B3 = 7
(0.499999999999998 0.86602540378444 0.1) // Vertex B0 = 4
(0.999999999999996 1.73205080756888 0.1) // Vertex B1 = 5
(-0.866025403784436 0.500000000000004 0.1) // Vertex B2 = 6
(-1.73205080756887 1.00000000000001 0.1) // Vertex B3 = 7
//Plane A: Bottom of straight block
(1.99238939618349 0.174311485495316 0.0) // Vertex B4 = 8
(2.98858409427524 0.261467228242975 0.0) // Vertex B5 = 9
(1.50941916044554 1.31211805798101 0.0) // Vertex B6 = 10
(2.26412874066832 1.96817708697152 0.0) // Vertex B7 = 11
(1.99238939618349 0.174311485495316 0.0) // Vertex B4 = 8
(2.98858409427524 0.261467228242975 0.0) // Vertex B5 = 9
(1.50941916044554 1.31211805798101 0.0) // Vertex B6 = 10
(2.26412874066832 1.96817708697152 0.0) // Vertex B7 = 11
//Plane B: Top of straight block
(1.99238939618349 0.174311485495316 0.1) // Vertex C0 = 12
(2.98858409427524 0.261467228242975 0.1) // Vertex C1 = 13
(1.50941916044554 1.31211805798101 0.1) // Vertex C2 = 14
(2.26412874066832 1.96817708697152 0.1) // Vertex C3 = 15
(1.99238939618349 0.174311485495316 0.1) // Vertex C0 = 12
(2.98858409427524 0.261467228242975 0.1) // Vertex C1 = 13
(1.50941916044554 1.31211805798101 0.1) // Vertex C2 = 14
(2.26412874066832 1.96817708697152 0.1) // Vertex C3 = 15
);

View file

@ -0,0 +1,139 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.1 |
| \\ / A nd | Web: http://www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
10
(
outflow
{
type patch;
nFaces 27;
startFace 2106;
}
inflow
{
type patch;
nFaces 17;
startFace 2133;
}
upstreamPerio1
{
type cyclicGgi;
nFaces 25;
startFace 2150;
shadowPatch upstreamPerio2;
zone upstreamPerio1Zone;
bridgeOverlap no;
rotationAxis (0 0 1);
rotationAngle 36;
separationOffset (0 0 0);
}
upstreamPerio2
{
type cyclicGgi;
nFaces 25;
startFace 2175;
shadowPatch upstreamPerio1;
zone upstreamPerio2Zone;
bridgeOverlap no;
rotationAxis (0 0 1);
rotationAngle -36;
separationOffset (0 0 0);
}
upstreamMixingPlanePatch
{
type mixingPlane;
nFaces 27;
startFace 2200;
shadowPatch downstreamMixingPlanePatch;
zone upstreamMixingPlaneZone;
coordinateSystem
{
type cylindrical;
name mixingCS;
origin (0 0 0);
e1 (1 0 0);
e3 (0 0 1);
}
ribbonPatch
{
sweepAxis Theta;
stackAxis Z;
discretisation bothPatches;
}
}
downstreamMixingPlanePatch
{
type mixingPlane;
nFaces 17;
startFace 2227;
shadowPatch upstreamMixingPlanePatch;
zone downstreamMixingPlaneZone;
coordinateSystem
{
e1 (1 0 0);
e3 (0 0 1);
name mixingCS;
origin (0 0 0);
type cylindrical;
}
ribbonPatch
{
discretisation bothPatches;
stackAxis Z;
sweepAxis Theta;
}
}
downstreamWall
{
type symmetryPlane;
nFaces 850;
startFace 2244;
}
upstreamWall
{
type symmetryPlane;
nFaces 1350;
startFace 3094;
}
downstreamPerio1
{
type cyclicGgi;
nFaces 25;
startFace 4444;
shadowPatch downstreamPerio2;
zone downstreamPerio1Zone;
bridgeOverlap no;
rotationAxis (0 0 1);
rotationAngle 90;
separationOffset (0 0 0);
}
downstreamPerio2
{
type cyclicGgi;
nFaces 25;
startFace 4469;
shadowPatch downstreamPerio1;
zone downstreamPerio2Zone;
bridgeOverlap no;
rotationAxis (0 0 1);
rotationAngle -90;
separationOffset (0 0 0);
}
);
// ************************************************************************* //