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:
@ -20,20 +20,14 @@ actions
|
||||
type faceSet;
|
||||
action new;
|
||||
source boxToFace;
|
||||
sourceInfo
|
||||
{
|
||||
box (-0.001 0.25 1.1)(0.001 0.75 1.3);
|
||||
}
|
||||
box (-0.001 0.25 1.1)(0.001 0.75 1.3);
|
||||
}
|
||||
{
|
||||
name outlet;
|
||||
type faceSet;
|
||||
action new;
|
||||
source boxToFace;
|
||||
sourceInfo
|
||||
{
|
||||
box (1.75 2.999 0.3)(2.25 3.001 0.5);
|
||||
}
|
||||
box (1.75 2.999 0.3)(2.25 3.001 0.5);
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@ -23,22 +23,18 @@ actions
|
||||
type cellSet;
|
||||
action new;
|
||||
source cylinderToCell;
|
||||
sourceInfo
|
||||
{
|
||||
point1 (0 0 -100);
|
||||
point2 (0 0 100);
|
||||
centre (0 0 0);
|
||||
radius $cylinderRadius;
|
||||
}
|
||||
point1 (0 0 -100);
|
||||
point2 (0 0 100);
|
||||
centre (0 0 0);
|
||||
radius $cylinderRadius;
|
||||
}
|
||||
{
|
||||
name solid;
|
||||
type cellZoneSet;
|
||||
action new;
|
||||
source setToCellZone;
|
||||
sourceInfo { set cs; }
|
||||
set cs;
|
||||
}
|
||||
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -23,18 +23,15 @@ actions
|
||||
type cellSet;
|
||||
action new;
|
||||
source sphereToCell;
|
||||
sourceInfo
|
||||
{
|
||||
centre (0 0 0);
|
||||
radius $!geometry/sphere/radius;
|
||||
}
|
||||
centre (0 0 0);
|
||||
radius $!geometry/sphere/radius;
|
||||
}
|
||||
{
|
||||
name solid;
|
||||
type cellZoneSet;
|
||||
action new;
|
||||
source setToCellZone;
|
||||
sourceInfo { set cs; }
|
||||
set cs;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@ -32,21 +32,15 @@ actions
|
||||
type faceSet;
|
||||
action new;
|
||||
source cellToFace;
|
||||
sourceInfo
|
||||
{
|
||||
set rotorCells;
|
||||
option all;
|
||||
}
|
||||
set rotorCells;
|
||||
option all;
|
||||
}
|
||||
{
|
||||
name rotorFaces;
|
||||
type faceSet;
|
||||
action subset;
|
||||
source boxToFace;
|
||||
sourceInfo
|
||||
{
|
||||
box (-100 -100 0.1) (100 100 0.15);
|
||||
}
|
||||
box (-100 -100 0.1) (100 100 0.15);
|
||||
}
|
||||
|
||||
{
|
||||
@ -54,10 +48,7 @@ actions
|
||||
type faceSet;
|
||||
action new;
|
||||
source faceToFace;
|
||||
sourceInfo
|
||||
{
|
||||
set rotorFaces;
|
||||
}
|
||||
set rotorFaces;
|
||||
}
|
||||
|
||||
{
|
||||
@ -65,10 +56,7 @@ actions
|
||||
type faceSet;
|
||||
action subset;
|
||||
source boxToFace;
|
||||
sourceInfo
|
||||
{
|
||||
box (-100 0.249 -100) (100 0.251 100);
|
||||
}
|
||||
box (-100 0.249 -100) (100 0.251 100);
|
||||
}
|
||||
|
||||
{
|
||||
@ -76,10 +64,7 @@ actions
|
||||
type faceSet;
|
||||
action new;
|
||||
source faceToFace;
|
||||
sourceInfo
|
||||
{
|
||||
set rotorFaces;
|
||||
}
|
||||
set rotorFaces;
|
||||
}
|
||||
|
||||
{
|
||||
@ -87,10 +72,7 @@ actions
|
||||
type faceSet;
|
||||
action subset;
|
||||
source boxToFace;
|
||||
sourceInfo
|
||||
{
|
||||
box (0.249 -100 -100) (0.251 100 100);
|
||||
}
|
||||
box (0.249 -100 -100) (0.251 100 100);
|
||||
}
|
||||
|
||||
{
|
||||
@ -98,20 +80,14 @@ actions
|
||||
type faceSet;
|
||||
action add;
|
||||
source faceToFace;
|
||||
sourceInfo
|
||||
{
|
||||
set rotorBlades2;
|
||||
}
|
||||
set rotorBlades2;
|
||||
}
|
||||
{
|
||||
name rotorBlades;
|
||||
type faceZoneSet;
|
||||
action new;
|
||||
source setToFaceZone;
|
||||
sourceInfo
|
||||
{
|
||||
faceSet rotorBladesFaceSet;
|
||||
}
|
||||
faceSet rotorBladesFaceSet;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@ -42,20 +42,14 @@ actions
|
||||
type cellSet;
|
||||
action subset;
|
||||
source boxToCell;
|
||||
sourceInfo
|
||||
{
|
||||
box (-100 -100 0.1) (100 100 0.15);
|
||||
}
|
||||
box (-100 -100 0.1) (100 100 0.15);
|
||||
}
|
||||
{
|
||||
name rotor;
|
||||
type cellZoneSet;
|
||||
action new;
|
||||
source setToCellZone;
|
||||
sourceInfo
|
||||
{
|
||||
set rotorCells;
|
||||
}
|
||||
set rotorCells;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@ -20,10 +20,7 @@ actions
|
||||
type cellSet;
|
||||
action new;
|
||||
source boxToCell;
|
||||
sourceInfo
|
||||
{
|
||||
box (0.01 0.1 -0.01) (0.02 0.11 0.01);
|
||||
}
|
||||
box (0.01 0.1 -0.01) (0.02 0.11 0.01);
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user