Update broked preconfigured boundary files for mixing plane

This commit is contained in:
Hrvoje Jasak 2014-06-19 19:42:23 +01:00
parent f77b4801a2
commit 27c1259fd9
14 changed files with 4151 additions and 270 deletions

View file

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

View file

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

View file

@ -41,6 +41,7 @@ FoamFile
nFaces 10; nFaces 10;
startFace 410; startFace 410;
shadowPatch mixpRightIn; shadowPatch mixpRightIn;
zone mixpLeftOutZone;
orientation dirZ_spanY; orientation dirZ_spanY;
assembly both; assembly both;
coordinateSystem coordinateSystem
@ -50,6 +51,12 @@ FoamFile
axis (0 0 1); axis (0 0 1);
direction (1 0 0); direction (1 0 0);
} }
ribbonPatch
{
sweepAxis Y;
stackAxis Z;
discretisation bothPatches;
}
} }
mixpRightIn mixpRightIn
{ {
@ -57,6 +64,7 @@ FoamFile
nFaces 10; nFaces 10;
startFace 420; startFace 420;
shadowPatch mixpLeftOut; shadowPatch mixpLeftOut;
zone mixpRightInZone;
orientation dirZ_spanY; orientation dirZ_spanY;
assembly both; assembly both;
coordinateSystem coordinateSystem
@ -66,6 +74,12 @@ FoamFile
axis (0 0 1); axis (0 0 1);
direction (1 0 0); direction (1 0 0);
} }
ribbonPatch
{
discretisation bothPatches;
stackAxis Z;
sweepAxis Y;
}
} }
rightOut 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 boundaryField
{ {
downstreamMixingPlanePatch outflow
{ {
type mixingPlane; type zeroGradient;
}
upstreamMixingPlanePatch
{
type mixingPlane;
}
downstreamWall
{
type symmetryPlane;
}
upstreamWall
{
type symmetryPlane;
}
downstreamPerio1
{
type cyclicGgi;
}
downstreamPerio2
{
type cyclicGgi;
}
upstreamPerio1
{
type cyclicGgi;
}
upstreamPerio2
{
type cyclicGgi;
} }
inflow inflow
{ {
type fixedValue; type fixedValue;
value uniform 0.1; 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 boundaryField
{ {
downstreamPerio1 outflow
{ {
type cyclicGgi; type zeroGradient;
}
downstreamPerio2
{
type cyclicGgi;
}
upstreamPerio1
{
type cyclicGgi;
}
upstreamPerio2
{
type cyclicGgi;
}
downstreamWall
{
type symmetryPlane;
}
upstreamWall
{
type symmetryPlane;
}
downstreamMixingPlanePatch
{
type mixingPlane;
}
upstreamMixingPlanePatch
{
type mixingPlane;
} }
inflow inflow
{ {
type fixedValue; type fixedValue;
value uniform 0.01; 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; format ascii;
class volScalarField; class volScalarField;
location "0"; 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 boundaryField
{ {
downstreamMixingPlanePatch outflow
{ {
type mixingPlane; type calculated;
} value uniform 0;
upstreamMixingPlanePatch
{
type mixingPlane;
}
downstreamWall
{
type symmetryPlane;
}
upstreamWall
{
type symmetryPlane;
}
downstreamPerio1
{
type cyclicGgi;
}
downstreamPerio2
{
type cyclicGgi;
}
upstreamPerio1
{
type cyclicGgi;
}
upstreamPerio2
{
type cyclicGgi;
} }
inflow inflow
{ {
type fixedValue; type calculated;
value uniform 0.1; 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 cleanCase
\rm -rf *.py \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 ----------------------------- //m4 definitions -----------------------------
//Geometry ----------------------------------- //Geometry -----------------------------------
// 2 planes levels // 2 planes levels
// Angle span for inner block // Angle span for inner block
// Angle span for outer block // Angle span for outer block
// Radial dimensions // Radial dimensions
// Mesh parameters // Mesh parameters
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1; convertToMeters 1;
@ -37,29 +56,29 @@ vertices
( (
//Plane A: //Plane A:
//Bottom of curved block //Bottom of curved block
(0.499999999999998 0.86602540378444 0.0) // Vertex A0 = 0 (0.499999999999998 0.86602540378444 0.0) // Vertex A0 = 0
(0.999999999999996 1.73205080756888 0.0) // Vertex A1 = 1 (0.999999999999996 1.73205080756888 0.0) // Vertex A1 = 1
(-0.866025403784436 0.500000000000004 0.0) // Vertex A2 = 2 (-0.866025403784436 0.500000000000004 0.0) // Vertex A2 = 2
(-1.73205080756887 1.00000000000001 0.0) // Vertex A3 = 3 (-1.73205080756887 1.00000000000001 0.0) // Vertex A3 = 3
//Plane B: //Plane B:
//Top of curved block //Top of curved block
(0.499999999999998 0.86602540378444 0.1) // Vertex B0 = 4 (0.499999999999998 0.86602540378444 0.1) // Vertex B0 = 4
(0.999999999999996 1.73205080756888 0.1) // Vertex B1 = 5 (0.999999999999996 1.73205080756888 0.1) // Vertex B1 = 5
(-0.866025403784436 0.500000000000004 0.1) // Vertex B2 = 6 (-0.866025403784436 0.500000000000004 0.1) // Vertex B2 = 6
(-1.73205080756887 1.00000000000001 0.1) // Vertex B3 = 7 (-1.73205080756887 1.00000000000001 0.1) // Vertex B3 = 7
//Plane A: Bottom of straight block //Plane A: Bottom of straight block
(1.99238939618349 0.174311485495316 0.0) // Vertex B4 = 8 (1.99238939618349 0.174311485495316 0.0) // Vertex B4 = 8
(2.98858409427524 0.261467228242975 0.0) // Vertex B5 = 9 (2.98858409427524 0.261467228242975 0.0) // Vertex B5 = 9
(1.50941916044554 1.31211805798101 0.0) // Vertex B6 = 10 (1.50941916044554 1.31211805798101 0.0) // Vertex B6 = 10
(2.26412874066832 1.96817708697152 0.0) // Vertex B7 = 11 (2.26412874066832 1.96817708697152 0.0) // Vertex B7 = 11
//Plane B: Top of straight block //Plane B: Top of straight block
(1.99238939618349 0.174311485495316 0.1) // Vertex C0 = 12 (1.99238939618349 0.174311485495316 0.1) // Vertex C0 = 12
(2.98858409427524 0.261467228242975 0.1) // Vertex C1 = 13 (2.98858409427524 0.261467228242975 0.1) // Vertex C1 = 13
(1.50941916044554 1.31211805798101 0.1) // Vertex C2 = 14 (1.50941916044554 1.31211805798101 0.1) // Vertex C2 = 14
(2.26412874066832 1.96817708697152 0.1) // Vertex C3 = 15 (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);
}
);
// ************************************************************************* //