topoSet: the sourceInfo sub-dictionary of the topoSetDict actions is now optional

and only needed if there is a name clash between entries in the source
specification and the set specification, e.g. "name":

    {
        name    rotorCells;
        type    cellSet;
        action  new;
        source  zoneToCell;
        sourceInfo
        {
            name    cylinder;
        }
    }
This commit is contained in:
Henry Weller
2021-07-27 14:07:37 +01:00
parent 6cc34206c3
commit 15a27fee87
78 changed files with 401 additions and 1097 deletions

View File

@ -21,10 +21,7 @@ actions
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-100 -100 -0.2)(100 100 100);
}
box (-100 -100 -0.2)(100 100 100);
}
{
@ -32,11 +29,8 @@ actions
type faceSet;
action new;
source cellToFace;
sourceInfo
{
set z;
option all;
}
set z;
option all;
}
{
@ -50,11 +44,8 @@ actions
type faceSet;
action subset;
source cellToFace;
sourceInfo
{
set z;
option all;
}
set z;
option all;
}
// ~~~~~~~~~~~~~~~~ //
@ -64,10 +55,7 @@ actions
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-0.32 -100 -100)(100 100 100);
}
box (-0.32 -100 -100)(100 100 100);
}
{
@ -75,11 +63,8 @@ actions
type faceSet;
action new;
source cellToFace;
sourceInfo
{
set x;
option all;
}
set x;
option all;
}
{
@ -93,11 +78,8 @@ actions
type faceSet;
action subset;
source cellToFace;
sourceInfo
{
set x;
option all;
}
set x;
option all;
}
// ~~~~~~~~~~~~~~~~ //
@ -107,11 +89,8 @@ actions
type cellSet;
action new;
source sphereToCell;
sourceInfo
{
centre (-0.3 -0.3 -0.3);
radius 0.4;
}
centre (-0.3 -0.3 -0.3);
radius 0.4;
}
{
@ -119,11 +98,8 @@ actions
type faceSet;
action new;
source cellToFace;
sourceInfo
{
set sp;
option all;
}
set sp;
option all;
}
{
@ -137,11 +113,8 @@ actions
type faceSet;
action subset;
source cellToFace;
sourceInfo
{
set sp;
option all;
}
set sp;
option all;
}
);

View File

@ -20,16 +20,13 @@ actions
type cellSet;
action new;
source surfaceToCell;
sourceInfo
{
file "constant/geometry/flange.obj";
outsidePoints ((-0.026 -0.0275 -0.0235));
includeCut true;
includeInside true;
includeOutside false;
nearDistance -1;
curvature -100;
}
file "constant/geometry/flange.obj";
outsidePoints ((-0.026 -0.0275 -0.0235));
includeCut true;
includeInside true;
includeOutside false;
nearDistance -1;
curvature -100;
}
);

View File

@ -25,10 +25,7 @@ actions
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-100 -100 $zSlice)(100 100 100);
}
box (-100 -100 $zSlice)(100 100 100);
}
{
@ -36,11 +33,8 @@ actions
type faceSet;
action new;
source cellToFace;
sourceInfo
{
set z;
option all;
}
set z;
option all;
}
{
@ -54,11 +48,8 @@ actions
type faceSet;
action subset;
source cellToFace;
sourceInfo
{
set z;
option all;
}
set z;
option all;
}
// ~~~~~~~~~~~~~~~~ //
@ -68,10 +59,7 @@ actions
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-100 $ySlice -100)(100 100 100);
}
box (-100 $ySlice -100)(100 100 100);
}
{
@ -79,11 +67,8 @@ actions
type faceSet;
action new;
source cellToFace;
sourceInfo
{
set y;
option all;
}
set y;
option all;
}
{
@ -97,11 +82,8 @@ actions
type faceSet;
action subset;
source cellToFace;
sourceInfo
{
set y;
option all;
}
set y;
option all;
}
// ~~~~~~~~~~~~~~~~ //
@ -111,10 +93,7 @@ actions
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box ($xSlice -100 -100)(100 100 100);
}
box ($xSlice -100 -100)(100 100 100);
}
{
@ -122,11 +101,8 @@ actions
type faceSet;
action new;
source cellToFace;
sourceInfo
{
set x;
option all;
}
set x;
option all;
}
{
@ -140,11 +116,8 @@ actions
type faceSet;
action subset;
source cellToFace;
sourceInfo
{
set x;
option all;
}
set x;
option all;
}
);

View File

@ -21,10 +21,7 @@ actions
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-100 -100 0)(100 100 100);
}
box (-100 -100 0)(100 100 100);
}
{
@ -32,11 +29,8 @@ actions
type faceSet;
action new;
source cellToFace;
sourceInfo
{
set z;
option all;
}
set z;
option all;
}
{
@ -50,11 +44,8 @@ actions
type faceSet;
action subset;
source cellToFace;
sourceInfo
{
set z;
option all;
}
set z;
option all;
}
// ~~~~~~~~~~~~~~~~ //
@ -64,10 +55,7 @@ actions
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-100 0.1 -100)(100 100 100);
}
box (-100 0.1 -100)(100 100 100);
}
{
@ -75,11 +63,8 @@ actions
type faceSet;
action new;
source cellToFace;
sourceInfo
{
set y;
option all;
}
set y;
option all;
}
{
@ -93,11 +78,8 @@ actions
type faceSet;
action subset;
source cellToFace;
sourceInfo
{
set y;
option all;
}
set y;
option all;
}
// ~~~~~~~~~~~~~~~~ //
@ -107,10 +89,7 @@ actions
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (0.3 -100 -100)(100 100 100);
}
box (0.3 -100 -100)(100 100 100);
}
{
@ -118,11 +97,8 @@ actions
type faceSet;
action new;
source cellToFace;
sourceInfo
{
set x;
option all;
}
set x;
option all;
}
{
@ -136,11 +112,8 @@ actions
type faceSet;
action subset;
source cellToFace;
sourceInfo
{
set x;
option all;
}
set x;
option all;
}
);