Merge branch 'nextRelease' of ssh://git.code.sf.net/p/openfoam-extend/foam-extend-3.1 into nextRelease
This commit is contained in:
commit
6a18db4aa3
23 changed files with 13072 additions and 8023 deletions
|
@ -29,13 +29,9 @@ boundaryField
|
|||
{
|
||||
type ggi;
|
||||
}
|
||||
GVCYCLIC1
|
||||
GVCYCLIC
|
||||
{
|
||||
type cyclicGgi;
|
||||
}
|
||||
GVCYCLIC2
|
||||
{
|
||||
type cyclicGgi;
|
||||
type cyclic;
|
||||
}
|
||||
GVBLADE
|
||||
{
|
||||
|
@ -44,10 +40,7 @@ boundaryField
|
|||
}
|
||||
GVHUB
|
||||
{
|
||||
type rotatingWallVelocity;
|
||||
origin (0 0 0);
|
||||
axis (0 0 1);
|
||||
omega -10;
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
GVSHROUD
|
||||
|
|
|
@ -31,14 +31,9 @@ boundaryField
|
|||
type ggi;
|
||||
value uniform 14.855;
|
||||
}
|
||||
GVCYCLIC1
|
||||
GVCYCLIC
|
||||
{
|
||||
type cyclicGgi;
|
||||
value uniform 14.855;
|
||||
}
|
||||
GVCYCLIC2
|
||||
{
|
||||
type cyclicGgi;
|
||||
type cyclic;
|
||||
value uniform 14.855;
|
||||
}
|
||||
GVBLADE
|
||||
|
|
|
@ -31,14 +31,9 @@ boundaryField
|
|||
type ggi;
|
||||
value uniform 0.375;
|
||||
}
|
||||
GVCYCLIC1
|
||||
GVCYCLIC
|
||||
{
|
||||
type cyclicGgi;
|
||||
value uniform 0.375;
|
||||
}
|
||||
GVCYCLIC2
|
||||
{
|
||||
type cyclicGgi;
|
||||
type cyclic;
|
||||
value uniform 0.375;
|
||||
}
|
||||
GVBLADE
|
||||
|
|
|
@ -31,14 +31,9 @@ boundaryField
|
|||
type ggi;
|
||||
value uniform 0;
|
||||
}
|
||||
GVCYCLIC1
|
||||
GVCYCLIC
|
||||
{
|
||||
type cyclicGgi;
|
||||
value uniform 0;
|
||||
}
|
||||
GVCYCLIC2
|
||||
{
|
||||
type cyclicGgi;
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
GVBLADE
|
||||
|
|
|
@ -28,13 +28,9 @@ boundaryField
|
|||
{
|
||||
type ggi;
|
||||
}
|
||||
GVCYCLIC1
|
||||
GVCYCLIC
|
||||
{
|
||||
type cyclicGgi;
|
||||
}
|
||||
GVCYCLIC2
|
||||
{
|
||||
type cyclicGgi;
|
||||
type cyclic;
|
||||
}
|
||||
GVBLADE
|
||||
{
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -290,50 +290,31 @@ boundary
|
|||
);
|
||||
}
|
||||
|
||||
GVCYCLIC1
|
||||
GVCYCLIC
|
||||
{
|
||||
type cyclicGgi;
|
||||
shadowPatch GVCYCLIC2;
|
||||
zone GVCYCLIC1Zone;
|
||||
bridgeOverlap false;
|
||||
rotationAxis (0 0 1);
|
||||
rotationAngle 72;
|
||||
separationOffset (0 0 0);
|
||||
type cyclic;
|
||||
featureCos 0.9;
|
||||
//MUST specify transformation since cyclic is not flat.
|
||||
//Set global debugSwitch cyclic to 1 to check that it is correct!
|
||||
transform rotational;
|
||||
rotationAxis (0 0 1);
|
||||
rotationCentre (0 0 0);
|
||||
rotationAngle -72; //Degrees from second half to first half
|
||||
//Face numbering must be same on both halfs/sides. The numbering
|
||||
//is determined by the block definition, not by the faces list
|
||||
//below. Just make sure that each face definition is according
|
||||
//to the rule "clockwise when looking from inside the block".
|
||||
faces
|
||||
(
|
||||
//First half, left side:
|
||||
quad2D(GV1l, GV0l)
|
||||
quad2D(GV3l, GV2l)
|
||||
);
|
||||
}
|
||||
|
||||
GVCYCLIC2
|
||||
{
|
||||
type cyclicGgi;
|
||||
shadowPatch GVCYCLIC1;
|
||||
zone GVCYCLIC2Zone;
|
||||
bridgeOverlap false;
|
||||
rotationAxis (0 0 1);
|
||||
rotationAngle -72;
|
||||
separationOffset (0 0 0);
|
||||
faces
|
||||
(
|
||||
//Second half, right side:
|
||||
quad2D(GV0r, GV1r)
|
||||
quad2D(GV2r, GV3r)
|
||||
);
|
||||
}
|
||||
|
||||
//GVCYCLIC
|
||||
//{
|
||||
// type cyclic;
|
||||
// faces
|
||||
// (
|
||||
// quad2D(GV1l, GV0l)
|
||||
// quad2D(GV3l, GV2l)
|
||||
// quad2D(GV0r, GV1r)
|
||||
// quad2D(GV2r, GV3r)
|
||||
// );
|
||||
//}
|
||||
|
||||
GVBLADE
|
||||
{
|
||||
type wall;
|
||||
|
@ -422,18 +403,6 @@ boundary
|
|||
);
|
||||
}
|
||||
|
||||
//RUCYCLIC
|
||||
//{
|
||||
// type cyclic;
|
||||
// faces
|
||||
// (
|
||||
// quad2D(RU1l, RU0l)
|
||||
// quad2D(RU3l, RU2l)
|
||||
// quad2D(RU0r, RU1r)
|
||||
// quad2D(RU2r, RU3r)
|
||||
// );
|
||||
//}
|
||||
|
||||
RUBLADE
|
||||
{
|
||||
type wall;
|
||||
|
@ -517,16 +486,6 @@ boundary
|
|||
);
|
||||
}
|
||||
|
||||
//DTCYCLIC
|
||||
//{
|
||||
// type cyclic;
|
||||
// faces
|
||||
// (
|
||||
// quad2D(DT1l, DT0l)
|
||||
// quad2D(DT0r, DT1r)
|
||||
// );
|
||||
//}
|
||||
|
||||
DTHUB
|
||||
{
|
||||
type wall;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
faceSet GVCYCLIC1Zone new patchToFace GVCYCLIC1
|
||||
faceSet GVCYCLIC2Zone new patchToFace GVCYCLIC2
|
||||
faceSet RUCYCLIC1Zone new patchToFace RUCYCLIC1
|
||||
faceSet RUCYCLIC2Zone new patchToFace RUCYCLIC2
|
||||
faceSet DTCYCLIC1Zone new patchToFace DTCYCLIC1
|
||||
|
|
|
@ -21,14 +21,12 @@ method patchConstrained;
|
|||
|
||||
globalFaceZones
|
||||
(
|
||||
GVCYCLIC2Zone
|
||||
RUCYCLIC1Zone
|
||||
RUINLETZone
|
||||
RUCYCLIC2Zone
|
||||
RUOUTLETZone
|
||||
GVOUTLETZone
|
||||
DTINLETZone
|
||||
GVCYCLIC1Zone
|
||||
DTCYCLIC1Zone
|
||||
DTCYCLIC2Zone
|
||||
);
|
||||
|
|
|
@ -30,13 +30,9 @@ boundaryField
|
|||
{
|
||||
type mixingPlane;
|
||||
}
|
||||
GVCYCLIC1
|
||||
GVCYCLIC
|
||||
{
|
||||
type cyclicGgi;
|
||||
}
|
||||
GVCYCLIC2
|
||||
{
|
||||
type cyclicGgi;
|
||||
type cyclic;
|
||||
}
|
||||
GVBLADE
|
||||
{
|
||||
|
@ -45,10 +41,7 @@ boundaryField
|
|||
}
|
||||
GVHUB
|
||||
{
|
||||
type rotatingWallVelocity;
|
||||
origin ( 0 0 0 );
|
||||
axis ( 0 0 1 );
|
||||
omega -10;
|
||||
type fixedValue;
|
||||
value uniform ( 0 0 0 );
|
||||
}
|
||||
GVSHROUD
|
||||
|
|
|
@ -31,14 +31,9 @@ boundaryField
|
|||
type mixingPlane;
|
||||
value uniform 14.855;
|
||||
}
|
||||
GVCYCLIC1
|
||||
GVCYCLIC
|
||||
{
|
||||
type cyclicGgi;
|
||||
value uniform 14.855;
|
||||
}
|
||||
GVCYCLIC2
|
||||
{
|
||||
type cyclicGgi;
|
||||
type cyclic;
|
||||
value uniform 14.855;
|
||||
}
|
||||
GVBLADE
|
||||
|
|
|
@ -31,14 +31,9 @@ boundaryField
|
|||
type mixingPlane;
|
||||
value uniform 0.375;
|
||||
}
|
||||
GVCYCLIC1
|
||||
GVCYCLIC
|
||||
{
|
||||
type cyclicGgi;
|
||||
value uniform 0.375;
|
||||
}
|
||||
GVCYCLIC2
|
||||
{
|
||||
type cyclicGgi;
|
||||
type cyclic;
|
||||
value uniform 0.375;
|
||||
}
|
||||
GVBLADE
|
||||
|
|
|
@ -31,14 +31,9 @@ boundaryField
|
|||
type mixingPlane;
|
||||
value uniform 0;
|
||||
}
|
||||
GVCYCLIC1
|
||||
GVCYCLIC
|
||||
{
|
||||
type cyclicGgi;
|
||||
value uniform 0;
|
||||
}
|
||||
GVCYCLIC2
|
||||
{
|
||||
type cyclicGgi;
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
GVBLADE
|
||||
|
|
|
@ -29,13 +29,9 @@ boundaryField
|
|||
{
|
||||
type mixingPlane;
|
||||
}
|
||||
GVCYCLIC1
|
||||
GVCYCLIC
|
||||
{
|
||||
type cyclicGgi;
|
||||
}
|
||||
GVCYCLIC2
|
||||
{
|
||||
type cyclicGgi;
|
||||
type cyclic;
|
||||
}
|
||||
GVBLADE
|
||||
{
|
||||
|
|
|
@ -8,9 +8,8 @@ application=`getApplication`
|
|||
#Create the mesh:
|
||||
m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||
runApplication blockMesh
|
||||
runApplication transformPoints -scale "(1 20 1)"
|
||||
\rm -f log.transformPoints
|
||||
runApplication transformPoints -cylToCart "((0 0 0) (0 0 1) (1 0 0))"
|
||||
transformPoints -scale "(1 20 1)"
|
||||
transformPoints -cylToCart "((0 0 0) (0 0 1) (1 0 0))"
|
||||
|
||||
# Set 0-directory and create GGI set:
|
||||
cp -r 0_orig 0
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -20,7 +20,7 @@ define(calc, [esyscmd(perl -e 'printf ($1)')])
|
|||
//define(calc, [esyscmd(echo $1 | bc | tr -d \\n)])
|
||||
define(VCOUNT, 0)
|
||||
define(vlabel, [[// ]Vertex $1 = VCOUNT define($1, VCOUNT)define([VCOUNT], incr(VCOUNT))])
|
||||
define(pi, 3.14159265)
|
||||
define(pi, calc(3.14159265/20))
|
||||
|
||||
define(hex2D, hex ($1b $2b $3b $4b $1t $2t $3t $4t))
|
||||
define(quad2D, ($1b $2b $2t $1t))
|
||||
|
@ -285,13 +285,15 @@ boundary
|
|||
zone GVOUTLETZone;
|
||||
coordinateSystem
|
||||
{
|
||||
//type cylindrical;
|
||||
//name mixingCS;
|
||||
type cylindrical;
|
||||
name mixingCS;
|
||||
origin (0 0 0);
|
||||
axis (0 0 1);
|
||||
direction (1 0 0);
|
||||
//e1 (1 0 0);
|
||||
degrees false; //Use radians
|
||||
//Equivalent axis/direction definition:
|
||||
//e3 (0 0 1);
|
||||
//e1 (1 0 0);
|
||||
}
|
||||
ribbonPatch
|
||||
{
|
||||
|
@ -305,50 +307,31 @@ boundary
|
|||
);
|
||||
}
|
||||
|
||||
GVCYCLIC1
|
||||
GVCYCLIC
|
||||
{
|
||||
type cyclicGgi;
|
||||
shadowPatch GVCYCLIC2;
|
||||
zone GVCYCLIC1Zone;
|
||||
bridgeOverlap false;
|
||||
rotationAxis (0 0 1);
|
||||
rotationAngle 72;
|
||||
separationOffset (0 0 0);
|
||||
type cyclic;
|
||||
featureCos 0.9;
|
||||
//MUST specify transformation since cyclic is not flat.
|
||||
//Set global debugSwitch cyclic to 1 to check that it is correct!
|
||||
transform rotational;
|
||||
rotationAxis (0 0 1);
|
||||
rotationCentre (0 0 0);
|
||||
rotationAngle -72; //Degrees from second half to first half
|
||||
//Face numbering must be same on both halfs/sides. The numbering
|
||||
//is determined by the block definition, not by the faces list
|
||||
//below. Just make sure that each face definition is according
|
||||
//to the rule "clockwise when looking from inside the block".
|
||||
faces
|
||||
(
|
||||
//First half, left side:
|
||||
quad2D(GV1l, GV0l)
|
||||
quad2D(GV3l, GV2l)
|
||||
);
|
||||
}
|
||||
|
||||
GVCYCLIC2
|
||||
{
|
||||
type cyclicGgi;
|
||||
shadowPatch GVCYCLIC1;
|
||||
zone GVCYCLIC2Zone;
|
||||
bridgeOverlap false;
|
||||
rotationAxis (0 0 1);
|
||||
rotationAngle -72;
|
||||
separationOffset (0 0 0);
|
||||
faces
|
||||
(
|
||||
//Second half, right side:
|
||||
quad2D(GV0r, GV1r)
|
||||
quad2D(GV2r, GV3r)
|
||||
);
|
||||
}
|
||||
|
||||
//GVCYCLIC
|
||||
//{
|
||||
// type cyclic;
|
||||
// faces
|
||||
// (
|
||||
// quad2D(GV1l, GV0l)
|
||||
// quad2D(GV3l, GV2l)
|
||||
// quad2D(GV0r, GV1r)
|
||||
// quad2D(GV2r, GV3r)
|
||||
// );
|
||||
//}
|
||||
|
||||
GVBLADE
|
||||
{
|
||||
type wall;
|
||||
|
@ -388,13 +371,15 @@ boundary
|
|||
zone RUINLETZone;
|
||||
coordinateSystem
|
||||
{
|
||||
//type cylindrical;
|
||||
//name mixingCS;
|
||||
type cylindrical;
|
||||
name mixingCS;
|
||||
origin (0 0 0);
|
||||
axis (0 0 1);
|
||||
direction (1 0 0);
|
||||
//e1 (1 0 0);
|
||||
degrees false; //Use radians
|
||||
//Equivalent axis/direction definition:
|
||||
//e3 (0 0 1);
|
||||
//e1 (1 0 0);
|
||||
}
|
||||
ribbonPatch
|
||||
{
|
||||
|
@ -415,13 +400,15 @@ boundary
|
|||
zone RUOUTLETZone;
|
||||
coordinateSystem
|
||||
{
|
||||
//type cylindrical;
|
||||
//name mixingCS;
|
||||
type cylindrical;
|
||||
name mixingCS;
|
||||
origin (0 0 0);
|
||||
axis (0 0 1);
|
||||
direction (1 0 0);
|
||||
//e1 (1 0 0);
|
||||
degrees false; //Use radians
|
||||
//Equivalent axis/direction definition:
|
||||
//e3 (0 0 1);
|
||||
//e1 (1 0 0);
|
||||
}
|
||||
ribbonPatch
|
||||
{
|
||||
|
@ -467,18 +454,6 @@ boundary
|
|||
);
|
||||
}
|
||||
|
||||
//RUCYCLIC
|
||||
//{
|
||||
// type cyclic;
|
||||
// faces
|
||||
// (
|
||||
// quad2D(RU1l, RU0l)
|
||||
// quad2D(RU3l, RU2l)
|
||||
// quad2D(RU0r, RU1r)
|
||||
// quad2D(RU2r, RU3r)
|
||||
// );
|
||||
//}
|
||||
|
||||
RUBLADE
|
||||
{
|
||||
type wall;
|
||||
|
@ -518,13 +493,15 @@ boundary
|
|||
zone DTINLETZone;
|
||||
coordinateSystem
|
||||
{
|
||||
//type cylindrical;
|
||||
//name mixingCS;
|
||||
type cylindrical;
|
||||
name mixingCS;
|
||||
origin (0 0 0);
|
||||
axis (0 0 1);
|
||||
direction (1 0 0);
|
||||
//e1 (1 0 0);
|
||||
degrees false; //Use radians
|
||||
//Equivalent axis/direction definition:
|
||||
//e3 (0 0 1);
|
||||
//e1 (1 0 0);
|
||||
}
|
||||
ribbonPatch
|
||||
{
|
||||
|
@ -577,16 +554,6 @@ boundary
|
|||
);
|
||||
}
|
||||
|
||||
//DTCYCLIC
|
||||
//{
|
||||
// type cyclic;
|
||||
// faces
|
||||
// (
|
||||
// quad2D(DT1l, DT0l)
|
||||
// quad2D(DT0r, DT1r)
|
||||
// );
|
||||
//}
|
||||
|
||||
DTHUB
|
||||
{
|
||||
type wall;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
faceSet GVCYCLIC1Zone new patchToFace GVCYCLIC1
|
||||
faceSet GVCYCLIC2Zone new patchToFace GVCYCLIC2
|
||||
faceSet RUCYCLIC1Zone new patchToFace RUCYCLIC1
|
||||
faceSet RUCYCLIC2Zone new patchToFace RUCYCLIC2
|
||||
faceSet DTCYCLIC1Zone new patchToFace DTCYCLIC1
|
||||
|
|
|
@ -21,14 +21,12 @@ method patchConstrained;
|
|||
|
||||
globalFaceZones
|
||||
(
|
||||
GVCYCLIC2Zone
|
||||
RUCYCLIC1Zone
|
||||
RUINLETZone
|
||||
RUCYCLIC2Zone
|
||||
RUOUTLETZone
|
||||
GVOUTLETZone
|
||||
DTINLETZone
|
||||
GVCYCLIC1Zone
|
||||
DTCYCLIC1Zone
|
||||
DTCYCLIC2Zone
|
||||
);
|
||||
|
|
|
@ -63,9 +63,14 @@ fluxRequired
|
|||
|
||||
mixingPlane
|
||||
{
|
||||
default areaAveraging;
|
||||
//U fluxAveragingAdjustMassFlow;
|
||||
//p zeroGradientAreaAveragingMix;
|
||||
default areaAveraging;
|
||||
U areaAveraging;
|
||||
p areaAveraging;
|
||||
k fluxAveraging; //Transported variable
|
||||
epsilon fluxAveraging; //Transported variable
|
||||
//NOTE: Ideally, tangential velocity components should also be
|
||||
//fluxAveraged, while keeping areaAveraging for normal velocity
|
||||
//component (to preserve perfect mass conservation)
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
|
|
@ -55,6 +55,7 @@ FoamFile
|
|||
origin (0 0 0);
|
||||
e1 (1 0 0);
|
||||
e3 (0 0 1);
|
||||
degrees false; //Use radians
|
||||
}
|
||||
ribbonPatch
|
||||
{
|
||||
|
|
|
@ -55,6 +55,7 @@ FoamFile
|
|||
origin (0 0 0);
|
||||
e1 (1 0 0);
|
||||
e3 (0 0 1);
|
||||
degrees false; //Use radians
|
||||
}
|
||||
ribbonPatch
|
||||
{
|
||||
|
@ -62,6 +63,7 @@ FoamFile
|
|||
stackAxis Z;
|
||||
discretisation bothPatches;
|
||||
}
|
||||
|
||||
}
|
||||
inletDomB
|
||||
{
|
||||
|
|
|
@ -196,18 +196,6 @@ boundary
|
|||
);
|
||||
}
|
||||
|
||||
//RUCYCLIC
|
||||
//{
|
||||
// type cyclic;
|
||||
// faces
|
||||
// (
|
||||
// quad2D(RU1l, RU0l)
|
||||
// quad2D(RU3l, RU2l)
|
||||
// quad2D(RU0r, RU1r)
|
||||
// quad2D(RU2r, RU3r)
|
||||
// );
|
||||
//}
|
||||
|
||||
RUBLADE
|
||||
{
|
||||
type wall;
|
||||
|
|
Reference in a new issue