ENH: make sourceInfo sub-dictionary optional for topoSet (#1060)

- helps reduce clutter in the topoSetDict files.

  Caveats when using this.

  The older specification styles using "name" will conflict with the
  set name. Eg,

    {
        name    f0
        type    faceSet;
        action  add;
        source  patchToFace;
        sourceInfo
        {
            name   inlet;
        }
    }

    would flattened to the following
    {
        name    f0
        type    faceSet;
        action  add;
        source  patchToFace;
        name   inlet;
    }
    which overwrites the "name" used for the faceSet.

    The solution is to use the updated syntax:

    {
        name    f0
        type    faceSet;
        action  add;
        source  patchToFace;
        patch   inlet;
    }
This commit is contained in:
Mark Olesen
2018-11-07 10:33:36 +01:00
parent 6090faedef
commit 5f556ffb4a
120 changed files with 612 additions and 1851 deletions

View File

@ -251,8 +251,8 @@ int main(int argc, char *argv[])
|| action == topoSetSource::CLEAR || action == topoSetSource::CLEAR
) )
{ {
currentSet = topoSet::New(setType, mesh, setName, 10000); currentSet = topoSet::New(setType, mesh, setName, 16384);
Info<< "Created " << currentSet().type() << " " Info<< "Created " << currentSet().type() << ' '
<< setName << endl; << setName << endl;
} }
else if (action == topoSetSource::REMOVE) else if (action == topoSetSource::REMOVE)
@ -268,7 +268,7 @@ int main(int argc, char *argv[])
setName, setName,
IOobject::MUST_READ IOobject::MUST_READ
); );
Info<< "Read set " << currentSet().type() << " " Info<< "Read set " << currentSet().type() << ' '
<< setName << " with size " << setName << " with size "
<< returnReduce(currentSet().size(), sumOp<label>()) << returnReduce(currentSet().size(), sumOp<label>())
<< endl; << endl;
@ -283,14 +283,14 @@ int main(int argc, char *argv[])
case topoSetSource::ADD: case topoSetSource::ADD:
case topoSetSource::SUBTRACT: case topoSetSource::SUBTRACT:
{ {
const word sourceName(dict.get<word>("source")); const word sourceType(dict.get<word>("source"));
Info<< " Applying source " << sourceName << endl; Info<< " Applying source " << sourceType << endl;
autoPtr<topoSetSource> source = topoSetSource::New autoPtr<topoSetSource> source = topoSetSource::New
( (
sourceName, sourceType,
mesh, mesh,
dict.subDict("sourceInfo") dict.optionalSubDict("sourceInfo")
); );
source().applyToSet(action, currentSet()); source().applyToSet(action, currentSet());
@ -308,14 +308,14 @@ int main(int argc, char *argv[])
case topoSetSource::SUBSET: case topoSetSource::SUBSET:
{ {
const word sourceName(dict.get<word>("source")); const word sourceType(dict.get<word>("source"));
Info<< " Applying source " << sourceName << endl; Info<< " Applying source " << sourceType << endl;
autoPtr<topoSetSource> source = topoSetSource::New autoPtr<topoSetSource> source = topoSetSource::New
( (
sourceName, sourceType,
mesh, mesh,
dict.subDict("sourceInfo") dict.optionalSubDict("sourceInfo")
); );
// Backup current set. // Backup current set.
@ -385,7 +385,7 @@ int main(int argc, char *argv[])
if (currentSet.valid()) if (currentSet.valid())
{ {
Info<< " " Info<< " "
<< currentSet().type() << " " << currentSet().type() << ' '
<< currentSet().name() << " now size " << currentSet().name() << " now size "
<< returnReduce(currentSet().size(), sumOp<label>()) << returnReduce(currentSet().size(), sumOp<label>())
<< endl; << endl;

View File

@ -21,10 +21,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source regionToCell; source regionToCell;
sourceInfo insidePoints ((0.001 0.001 0.001));
{
insidePoints ((0.001 0.001 0.001));
}
} }
{ {
@ -32,10 +29,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set c0;
{
set c0;
}
} }
{ {
@ -51,10 +45,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set c1;
{
set c1;
}
} }
{ {
@ -62,10 +53,7 @@ actions
type cellSet; type cellSet;
action subset; action subset;
source boxToCell; source boxToCell;
sourceInfo box (0.4 0.4 -100)(0.6 0.6 100);
{
box (0.4 0.4 -100)(0.6 0.6 100);
}
} }
{ {

View File

@ -21,10 +21,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source regionToCell; source regionToCell;
sourceInfo insidePoints ((-1.999 0 -1.999));
{
insidePoints ((-1.999 0 -1.999));
}
} }
{ {
@ -32,10 +29,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set c0;
{
set c0;
}
} }
{ {

View File

@ -17,15 +17,12 @@ FoamFile
actions actions
( (
{ {
name blockedFacesSet; name blockedFacesSet;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (1 1 0.99) (2 2 1);
{
box (1 1 0.99) (2 2 1);
}
} }
{ {
@ -33,10 +30,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (2.4 2.4 0) (3 3 1);
{
box (2.4 2.4 0) (3 3 1);
}
} }
{ {
@ -44,10 +38,7 @@ actions
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
sourceInfo box (0 0 0) (0.6 0.6 1);
{
box (0 0 0) (0.6 0.6 1);
}
} }
{ {
@ -55,11 +46,8 @@ actions
type faceSet; type faceSet;
action add; action add;
source cellToFace; source cellToFace;
sourceInfo set blockedCellsSet;
{ option all;
set blockedCellsSet;
option all;
}
} }
{ {
@ -67,10 +55,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (1.0 1.99 0) (2.0 2.09 0.6);
{
box (1.0 1.99 0) (2.0 2.09 0.6);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.201 -0.001 -0.201)(-0.199 0.031 0.201);
{
box (-0.201 -0.001 -0.201)(-0.199 0.031 0.201);
}
} }
{ {
@ -33,20 +30,14 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet slot_bottom;
{
faceSet slot_bottom;
}
} }
{ {
name slot_top; name slot_top;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.201 0.369 -0.201)(-0.199 0.401 0.201);
{
box (-0.201 0.369 -0.201)(-0.199 0.401 0.201);
}
} }
{ {
@ -54,10 +45,7 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet slot_top;
{
faceSet slot_top;
}
} }
{ {
@ -65,10 +53,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch inlet;
{
patch inlet;
}
} }
{ {
@ -76,10 +61,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-0.201 -0.001 -0.201)(0.201 0.401 0.201);
{
box (-0.201 -0.001 -0.201)(0.201 0.401 0.201);
}
} }
{ {
@ -87,10 +69,7 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set compartment_fire;
{
set compartment_fire;
}
} }
{ {
@ -98,10 +77,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.2001 0.0301 -0.2001)(-0.1999 0.3701 0.2001);
{
box (-0.2001 0.0301 -0.2001)(-0.1999 0.3701 0.2001);
}
} }
{ {
@ -109,10 +85,7 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet internalWallPanel;
{
faceSet internalWallPanel;
}
} }
{ {
@ -120,21 +93,15 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.2001 -0.0001 -0.2001)(0.2001 0.4001 -0.1999);
{
box (-0.2001 -0.0001 -0.2001)(0.2001 0.4001 -0.1999);
}
} }
{ {
name wallFaces_front; name wallFaces_front;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.2001 -0.0001 0.1999)(0.2001 0.4001 0.2001);
{
box (-0.2001 -0.0001 0.1999)(0.2001 0.4001 0.2001);
}
} }
{ {
@ -142,10 +109,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.2001 0.3999 -0.2001)(0.2001 0.4001 0.2001);
{
box (-0.2001 0.3999 -0.2001)(0.2001 0.4001 0.2001);
}
} }
{ {
@ -153,10 +117,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (0.1999 -0.0001 -0.2001)(0.2001 0.4001 0.2001);
{
box (0.1999 -0.0001 -0.2001)(0.2001 0.4001 0.2001);
}
} }
{ {
@ -164,10 +125,7 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet wallFaces_back;
{
faceSet wallFaces_back;
}
} }
{ {
@ -175,10 +133,7 @@ actions
type faceZoneSet; type faceZoneSet;
action add; action add;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet wallFaces_front;
{
faceSet wallFaces_front;
}
} }
{ {
@ -186,10 +141,7 @@ actions
type faceZoneSet; type faceZoneSet;
action add; action add;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet wallFaces_top;
{
faceSet wallFaces_top;
}
} }
{ {
@ -197,10 +149,7 @@ actions
type faceZoneSet; type faceZoneSet;
action add; action add;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet wallFaces_side;
{
faceSet wallFaces_side;
}
} }
{ {
@ -208,10 +157,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.2001 -0.001 -0.2001)(0.2001 0.001 0.2001);
{
box (-0.2001 -0.001 -0.2001)(0.2001 0.001 0.2001);
}
} }
{ {
@ -219,10 +165,7 @@ actions
type faceZoneSet; type faceZoneSet;
action add; action add;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet baseFace;
{
faceSet baseFace;
}
} }
{ {
@ -230,10 +173,7 @@ actions
type faceZoneSet; type faceZoneSet;
action subtract; action subtract;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet inletFace;
{
faceSet inletFace;
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-1 -0.00001 -0.00001) (1 1.00001 0.00001);
{
box (-1 -0.00001 -0.00001) (1 1.00001 0.00001);
}
} }
@ -34,32 +31,23 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-1 0.99999 -0.00001) (1 1.00001 2.00001);
{
box (-1 0.99999 -0.00001) (1 1.00001 2.00001);
}
} }
{ {
name f2; name f2;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-1 -0.00001 1.99999) (1 1.00001 2.00001);
{
box (-1 -0.00001 1.99999) (1 1.00001 2.00001);
}
} }
{ {
name f3; name f3;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-1 -0.00001 -0.00001) (1 0.00001 2.00001);
{
box (-1 -0.00001 -0.00001) (1 0.00001 2.00001);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.1 -2.1 -0.1)(0.201 2.51 0.01);
{
box (-0.1 -2.1 -0.1)(0.201 2.51 0.01);
}
} }
@ -34,10 +31,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch coupledWallTmp;
{
patch coupledWallTmp;
}
} }
{ {
@ -45,10 +39,7 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet coupledWall;
{
faceSet coupledWall;
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-0.15 0.0 -0.3)(0.15 2.4 0.3);
{
box (-0.15 0.0 -0.3)(0.15 2.4 0.3);
}
} }
); );

View File

@ -22,20 +22,14 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.151 0 -0.3)(-0.14999 2.4 0.3);
{
box (-0.151 0 -0.3)(-0.14999 2.4 0.3);
}
} }
{ {
name fRight; name fRight;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (0.14999 0 -0.3)(0.151 2.4 0.3);
{
box (0.14999 0 -0.3)(0.151 2.4 0.3);
}
} }
{ {
@ -43,10 +37,7 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet fRight;
{
faceSet fRight;
}
} }
{ {
@ -54,12 +45,8 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet fLeft;
{
faceSet fLeft;
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.15 -0.001 -0.30) (0.15 0.001 0.30);
{
box (-0.15 -0.001 -0.30) (0.15 0.001 0.30);
}
} }
); );

View File

@ -18,25 +18,19 @@ FoamFile
actions actions
( (
{ {
name coupledPatch; name coupledPatch;
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch coupledPatch;
{
patch coupledPatch;
}
} }
{ {
name panel; name panel;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet coupledPatch;
{
faceSet coupledPatch;
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.0529 -0.001 -0.1)(0.0529 0.002 0.1);
{
box (-0.0529 -0.001 -0.1)(0.0529 0.002 0.1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.1 -0.001 -0.1)(0.1 0.005 0.1);
{
box (-0.1 -0.001 -0.1)(0.1 0.005 0.1);
}
} }
); );

View File

@ -21,10 +21,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source regionsToCell; source regionsToCell;
sourceInfo insidePoints ((0.001 0.001 0.001));
{
insidePoints ((0.001 0.001 0.001));
}
} }
{ {
@ -32,10 +29,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set c0;
{
set c0;
}
} }
{ {
@ -49,11 +43,8 @@ actions
type cellSet; type cellSet;
action new; action new;
source regionsToCell; source regionsToCell;
sourceInfo insidePoints ((0.0116 0.00151 0.001));//((0.0076 0.00151 0.001));
{ set c1;
insidePoints ((0.0116 0.00151 0.001));//((0.0076 0.00151 0.001));
set c1;
}
} }
{ {
@ -61,10 +52,7 @@ actions
type cellSet; type cellSet;
action subtract; action subtract;
source cellToCell; source cellToCell;
sourceInfo set c2;
{
set c2;
}
} }
// Select box to remove from region 1 and 2 // Select box to remove from region 1 and 2
@ -74,10 +62,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set c1;
{
set c1;
}
} }
{ {
@ -85,10 +70,7 @@ actions
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set c2;
{
set c2;
}
} }
{ {
@ -96,15 +78,12 @@ actions
type cellSet; type cellSet;
action subset; action subset;
source boxToCell; source boxToCell;
sourceInfo boxes
{ (
boxes (0.0025 0.0045 -100)(0.0075 0.0055 100)
( //(0.0085 0.0025 -100)(0.0095 0.0075 100)
(0.0025 0.0045 -100)(0.0075 0.0055 100) (0.0125 0.0025 -100)(0.0135 0.0075 100)
//(0.0085 0.0025 -100)(0.0095 0.0075 100) );
(0.0125 0.0025 -100)(0.0135 0.0075 100)
);
}
} }
{ {

View File

@ -21,10 +21,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source regionToCell; source regionToCell;
sourceInfo insidePoints ((-1.999 0 -1.999));
{
insidePoints ((-1.999 0 -1.999));
}
} }
{ {
@ -32,10 +29,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set c0;
{
set c0;
}
} }
{ {

View File

@ -23,30 +23,21 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-0.01001 0 -100 )(0.01001 0.00999 100);
{
box (-0.01001 0 -100 )(0.01001 0.00999 100);
}
} }
{ {
name heaterCellSet; name heaterCellSet;
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
sourceInfo box (-0.01001 -100 -0.01001)(0.01001 0.00999 0.01001);
{
box (-0.01001 -100 -0.01001)(0.01001 0.00999 0.01001);
}
} }
{ {
name heater; name heater;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set heaterCellSet;
{
set heaterCellSet;
}
} }
// leftSolid // leftSolid
@ -55,20 +46,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 0 -100 )(-0.01001 0.00999 100);
{
box (-100 0 -100 )(-0.01001 0.00999 100);
}
} }
{ {
name leftSolid; name leftSolid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set leftSolidCellSet;
{
set leftSolidCellSet;
}
} }
// rightSolid // rightSolid
@ -77,20 +62,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.01001 0 -100 )(100 0.00999 100);
{
box (0.01001 0 -100 )(100 0.00999 100);
}
} }
{ {
name rightSolid; name rightSolid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set rightSolidCellSet;
{
set rightSolidCellSet;
}
} }
// topAir // topAir
@ -99,20 +78,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 0.00999 -100 )(100 100 100);
{
box (-100 0.00999 -100 )(100 100 100);
}
} }
{ {
name topAir; name topAir;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set topAirCellSet;
{
set topAirCellSet;
}
} }
@ -122,40 +95,28 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set heaterCellSet;
{
set heaterCellSet;
}
} }
{ {
name bottomWaterCellSet; name bottomWaterCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set leftSolidCellSet;
{
set leftSolidCellSet;
}
} }
{ {
name bottomWaterCellSet; name bottomWaterCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set rightSolidCellSet;
{
set rightSolidCellSet;
}
} }
{ {
name bottomWaterCellSet; name bottomWaterCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set topAirCellSet;
{
set topAirCellSet;
}
} }
{ {
name bottomWaterCellSet; name bottomWaterCellSet;
@ -167,10 +128,7 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set bottomWaterCellSet;
{
set bottomWaterCellSet;
}
} }
); );

View File

@ -24,10 +24,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (15.5 15.5 0)(24.5 24.5 9);
{
box (15.5 15.5 0)(24.5 24.5 9);
}
} }
// floor // floor
@ -36,21 +33,15 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0 0 -2)(41 41 0);
{
box (0 0 -2)(41 41 0);
}
} }
{ {
name floor; name floor;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set floor;
{
set floor;
}
} }
//air //air
@ -65,10 +56,7 @@ actions
type cellSet; type cellSet;
action subtract; action subtract;
source cellToCell; source cellToCell;
sourceInfo set floor;
{
set floor;
}
} }
{ {
@ -76,10 +64,7 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set solid; // cellSet
{
set solid; // name of cellSet
}
} }
{ {
@ -87,10 +72,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (17 17 0)(23 23 7.5);
{
box (17 17 0)(23 23 7.5);
}
} }
//- Define again solid //- Define again solid
@ -99,10 +81,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (15.5 15.5 0)(24.5 24.5 9);
{
box (15.5 15.5 0)(24.5 24.5 9);
}
} }
{ {
@ -110,10 +89,7 @@ actions
type cellSet; type cellSet;
action subtract; action subtract;
source cellToCell; source cellToCell;
sourceInfo set cavity;
{
set cavity;
}
} }
{ {
@ -121,10 +97,7 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set solid; // cellSet
{
set solid; // name of cellSet
}
} }
); );

View File

@ -23,30 +23,21 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-0.01001 0 -100)(0.01001 0.00999 100);
{
box (-0.01001 0 -100 )(0.01001 0.00999 100);
}
} }
{ {
name heaterCellSet; name heaterCellSet;
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
sourceInfo box (-0.01001 -100 -0.01001)(0.01001 0.00999 0.01001);
{
box (-0.01001 -100 -0.01001)(0.01001 0.00999 0.01001);
}
} }
{ {
name heater; name heater;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set heaterCellSet;
{
set heaterCellSet;
}
} }
// leftSolid // leftSolid
@ -55,20 +46,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 0 -100 )(-0.01001 0.00999 100);
{
box (-100 0 -100 )(-0.01001 0.00999 100);
}
} }
{ {
name leftSolid; name leftSolid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set leftSolidCellSet;
{
set leftSolidCellSet;
}
} }
// rightSolid // rightSolid
@ -77,20 +62,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.01001 0 -100 )(100 0.00999 100);
{
box (0.01001 0 -100 )(100 0.00999 100);
}
} }
{ {
name rightSolid; name rightSolid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set rightSolidCellSet;
{
set rightSolidCellSet;
}
} }
// topAir // topAir
@ -99,20 +78,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 0.00999 -100 )(100 100 100);
{
box (-100 0.00999 -100 )(100 100 100);
}
} }
{ {
name topAir; name topAir;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set topAirCellSet;
{
set topAirCellSet;
}
} }
@ -122,40 +95,28 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set heaterCellSet;
{
set heaterCellSet;
}
} }
{ {
name bottomWaterCellSet; name bottomWaterCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set leftSolidCellSet;
{
set leftSolidCellSet;
}
} }
{ {
name bottomWaterCellSet; name bottomWaterCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set rightSolidCellSet;
{
set rightSolidCellSet;
}
} }
{ {
name bottomWaterCellSet; name bottomWaterCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set topAirCellSet;
{
set topAirCellSet;
}
} }
{ {
name bottomWaterCellSet; name bottomWaterCellSet;
@ -167,10 +128,7 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set bottomWaterCellSet;
{
set bottomWaterCellSet;
}
} }
); );

View File

@ -21,10 +21,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; 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);
}
} }
); );

View File

@ -23,30 +23,21 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 -100 -100) (100 0.1 0.25);
{
box (-100 -100 -100) (100 0.1 0.25);
}
} }
{ {
name c0; name c0;
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
sourceInfo box (-100 -100 0.45) (100 0.1 100);
{
box (-100 -100 0.45) (100 0.1 100);
}
} }
{ {
name c0; name c0;
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
sourceInfo box (-100 0.05 0.33) (100 0.1 0.38);
{
box (-100 0.05 0.33) (100 0.1 0.38);
}
} }
{ {
name c0; name c0;

View File

@ -22,22 +22,16 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.126 0.08665 0.2565) (0.02 0.090665 0.446);
{
box (-0.126 0.08665 0.2565) (0.02 0.090665 0.446);
}
} }
{ {
name f1Zone; name f1Zone;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setAndNormalToFaceZone; source setAndNormalToFaceZone;
sourceInfo faceSet f1;
{ normal (0 1 0);
faceSet f1;
normal (0 1 0);
}
} }
{ {
@ -45,11 +39,8 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source faceToCell; source faceToCell;
sourceInfo set f1Zone;
{ option neighbour;
set f1Zone;
option neighbour;
}
} }
{ {
@ -57,10 +48,7 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set c1;
{
set c1;
}
} }
); );

View File

@ -23,30 +23,21 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 -100 -100) (100 0.1 0.25);
{
box (-100 -100 -100) (100 0.1 0.25);
}
} }
{ {
name c0; name c0;
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
sourceInfo box (-100 -100 0.45) (100 0.1 100);
{
box (-100 -100 0.45) (100 0.1 100);
}
} }
{ {
name c0; name c0;
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
sourceInfo box (-100 0.05 0.33) (100 0.1 0.38);
{
box (-100 0.05 0.33) (100 0.1 0.38);
}
} }
{ {
name c0; name c0;

View File

@ -23,30 +23,21 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 -100 -100) (100 0.1 0.25);
{
box (-100 -100 -100) (100 0.1 0.25);
}
} }
{ {
name c0; name c0;
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
sourceInfo box (-100 -100 0.45) (100 0.1 100);
{
box (-100 -100 0.45) (100 0.1 100);
}
} }
{ {
name c0; name c0;
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
sourceInfo box (-100 0.05 0.33) (100 0.1 0.38);
{
box (-100 0.05 0.33) (100 0.1 0.38);
}
} }
{ {
name c0; name c0;

View File

@ -23,30 +23,21 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-0.01001 0 -100 )(0.01001 0.00999 100);
{
box (-0.01001 0 -100 )(0.01001 0.00999 100);
}
} }
{ {
name heaterCellSet; name heaterCellSet;
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
sourceInfo box (-0.01001 -100 -0.01001)(0.01001 0.00999 0.01001);
{
box (-0.01001 -100 -0.01001)(0.01001 0.00999 0.01001);
}
} }
{ {
name heater; name heater;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set heaterCellSet;
{
set heaterCellSet;
}
} }
// leftSolid // leftSolid
@ -55,20 +46,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 0 -100)(-0.01001 0.00999 100);
{
box (-100 0 -100 )(-0.01001 0.00999 100);
}
} }
{ {
name leftSolid; name leftSolid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set leftSolidCellSet;
{
set leftSolidCellSet;
}
} }
// rightSolid // rightSolid
@ -77,20 +62,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.01001 0 -100 )(100 0.00999 100);
{
box (0.01001 0 -100 )(100 0.00999 100);
}
} }
{ {
name rightSolid; name rightSolid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set rightSolidCellSet;
{
set rightSolidCellSet;
}
} }
// topAir // topAir
@ -99,20 +78,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 0.00999 -100 )(100 100 100);
{
box (-100 0.00999 -100 )(100 100 100);
}
} }
{ {
name topAir; name topAir;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set topAirCellSet;
{
set topAirCellSet;
}
} }
@ -122,40 +95,28 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set heaterCellSet;
{
set heaterCellSet;
}
} }
{ {
name bottomWaterCellSet; name bottomWaterCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set leftSolidCellSet;
{
set leftSolidCellSet;
}
} }
{ {
name bottomWaterCellSet; name bottomWaterCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set rightSolidCellSet;
{
set rightSolidCellSet;
}
} }
{ {
name bottomWaterCellSet; name bottomWaterCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set topAirCellSet;
{
set topAirCellSet;
}
} }
{ {
name bottomWaterCellSet; name bottomWaterCellSet;
@ -167,10 +128,7 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set bottomWaterCellSet;
{
set bottomWaterCellSet;
}
} }
); );

View File

@ -23,31 +23,22 @@ actions
type cellSet; type cellSet;
action new; action new;
source zoneToCell; source zoneToCell;
sourceInfo zone cylinder;
{
zone cylinder;
}
} }
{ {
name rotorFaces; name rotorFaces;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set rotorCells;
{ option all;
set rotorCells;
option all;
}
} }
{ {
name rotorFaces; name rotorFaces;
type faceSet; type faceSet;
action subset; action subset;
source boxToFace; source boxToFace;
sourceInfo box (-100 -100 0.1) (100 100 0.15);
{
box (-100 -100 0.1) (100 100 0.15);
}
} }
{ {
@ -55,10 +46,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source faceToFace; source faceToFace;
sourceInfo set rotorFaces;
{
set rotorFaces;
}
} }
{ {
@ -66,10 +54,7 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source boxToFace; source boxToFace;
sourceInfo box (-100 0.249 -100) (100 0.251 100);
{
box (-100 0.249 -100) (100 0.251 100);
}
} }
{ {
@ -77,10 +62,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source faceToFace; source faceToFace;
sourceInfo set rotorFaces;
{
set rotorFaces;
}
} }
{ {
@ -88,10 +70,7 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source boxToFace; source boxToFace;
sourceInfo box (0.249 -100 -100) (0.251 100 100);
{
box (0.249 -100 -100) (0.251 100 100);
}
} }
{ {
@ -99,20 +78,14 @@ actions
type faceSet; type faceSet;
action add; action add;
source faceToFace; source faceToFace;
sourceInfo set rotorBlades2;
{
set rotorBlades2;
}
} }
{ {
name rotorBlades; name rotorBlades;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet rotorBladesFaceSet;
{
faceSet rotorBladesFaceSet;
}
} }
); );

View File

@ -23,30 +23,21 @@ actions
type cellSet; type cellSet;
action new; action new;
source zoneToCell; source zoneToCell;
sourceInfo zones (cylinder innerCylinder);
{
zones (cylinder innerCylinder);
}
} }
{ {
name rotorCells; name rotorCells;
type cellSet; type cellSet;
action subset; action subset;
source boxToCell; source boxToCell;
sourceInfo box (-100 -100 0.1) (100 100 0.15);
{
box (-100 -100 0.1) (100 100 0.15);
}
} }
{ {
name rotor; name rotor;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set rotorCells;
{
set rotorCells;
}
} }
); );

View File

@ -23,30 +23,21 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-0.01001 0 -100 )(0.01001 0.00999 100);
{
box (-0.01001 0 -100 )(0.01001 0.00999 100);
}
} }
{ {
name heaterCellSet; name heaterCellSet;
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
sourceInfo box (-0.01001 -100 -0.01001)(0.01001 0.00999 0.01001);
{
box (-0.01001 -100 -0.01001)(0.01001 0.00999 0.01001);
}
} }
{ {
name heater; name heater;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set heaterCellSet;
{
set heaterCellSet;
}
} }
// leftSolid // leftSolid
@ -55,20 +46,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 0 -100)(-0.01001 0.00999 100);
{
box (-100 0 -100 )(-0.01001 0.00999 100);
}
} }
{ {
name leftSolid; name leftSolid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set leftSolidCellSet;
{
set leftSolidCellSet;
}
} }
// rightSolid // rightSolid
@ -77,20 +62,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.01001 0 -100 )(100 0.00999 100);
{
box (0.01001 0 -100 )(100 0.00999 100);
}
} }
{ {
name rightSolid; name rightSolid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set rightSolidCellSet;
{
set rightSolidCellSet;
}
} }
// topAir // topAir
@ -99,20 +78,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 0.00999 -100 )(100 100 100);
{
box (-100 0.00999 -100 )(100 100 100);
}
} }
{ {
name topAir; name topAir;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set topAirCellSet;
{
set topAirCellSet;
}
} }
@ -122,40 +95,28 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set heaterCellSet;
{
set heaterCellSet;
}
} }
{ {
name bottomAirCellSet; name bottomAirCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set leftSolidCellSet;
{
set leftSolidCellSet;
}
} }
{ {
name bottomAirCellSet; name bottomAirCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set rightSolidCellSet;
{
set rightSolidCellSet;
}
} }
{ {
name bottomAirCellSet; name bottomAirCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set topAirCellSet;
{
set topAirCellSet;
}
} }
{ {
name bottomAirCellSet; name bottomAirCellSet;
@ -167,10 +128,7 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set bottomAirCellSet;
{
set bottomAirCellSet;
}
} }
); );

View File

@ -21,10 +21,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source regionToCell; source regionToCell;
sourceInfo insidePoints ((-4.999 0 -3.999));
{
insidePoints ((-4.999 0 -3.999));
}
} }
{ {
@ -32,10 +29,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set c0;
{
set c0;
}
} }
{ {

View File

@ -21,10 +21,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source regionToCell; source regionToCell;
sourceInfo insidePoints ((0.001 0.001 0.001));
{
insidePoints ((0.001 0.001 0.001));
}
} }
{ {
@ -32,10 +29,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set c0;
{
set c0;
}
} }
{ {
@ -51,10 +45,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set c1;
{
set c1;
}
} }
{ {
@ -62,10 +53,7 @@ actions
type cellSet; type cellSet;
action subset; action subset;
source boxToCell; source boxToCell;
sourceInfo box (0.0025 0.0045 -100)(0.0075 0.0055 100);
{
box (0.0025 0.0045 -100)(0.0075 0.0055 100);
}
} }
{ {

View File

@ -21,10 +21,10 @@ actions
type cellSet; type cellSet;
action new; action new;
source regionsToCell; source regionsToCell;
sourceInfo insidePoints
{ (
insidePoints ((0.001 0.001 0.001)); (0.001 0.001 0.001)
} );
} }
{ {
@ -32,10 +32,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set c0;
{
set c0;
}
} }
{ {
@ -49,11 +46,11 @@ actions
type cellSet; type cellSet;
action new; action new;
source regionsToCell; source regionsToCell;
sourceInfo set c1;
{ insidePoints
insidePoints ((0.0076 0.00151 0.001)); (
set c1; (0.0076 0.00151 0.001)
} );
} }
{ {
@ -61,10 +58,7 @@ actions
type cellSet; type cellSet;
action subtract; action subtract;
source cellToCell; source cellToCell;
sourceInfo set c2;
{
set c2;
}
} }
// Select box to remove from region 1 and 2 // Select box to remove from region 1 and 2
@ -74,10 +68,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set c1;
{
set c1;
}
} }
{ {
@ -85,10 +76,7 @@ actions
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set c2;
{
set c2;
}
} }
{ {
@ -96,15 +84,12 @@ actions
type cellSet; type cellSet;
action subset; action subset;
source boxToCell; source boxToCell;
sourceInfo boxes
{ (
boxes (0.0025 0.0045 -100)(0.0075 0.0055 100)
( (0.0085 0.0025 -100)(0.0095 0.0075 100)
(0.0025 0.0045 -100)(0.0075 0.0055 100) // (0.0104 0.0025 -100)(0.0115 0.0075 100)
(0.0085 0.0025 -100)(0.0095 0.0075 100) );
// (0.0104 0.0025 -100)(0.0115 0.0075 100)
);
}
} }
{ {

View File

@ -21,10 +21,10 @@ actions
type cellSet; type cellSet;
action new; action new;
source regionsToCell; source regionsToCell;
sourceInfo insidePoints
{ (
insidePoints ((0 -1 0.1)); (0 -1 0.1)
} );
} }
{ {
@ -32,10 +32,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set c0;
{
set c0;
}
} }
{ {

View File

@ -22,10 +22,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (0.099 -0.006 0.004)(0.101 0.006 0.016);
{
box (0.099 -0.006 0.004)(0.101 0.006 0.016);
}
} }
{ {
@ -33,10 +30,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-10 -10 -10)(0.1 10 10);
{
box (-10 -10 -10)(0.1 10 10);
}
} }
{ {
@ -44,11 +38,8 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setsToFaceZone; source setsToFaceZone;
sourceInfo faceSet cyclicFacesFaceSet;
{ cellSet cyclicFacesSlaveCells;
faceSet cyclicFacesFaceSet;
cellSet cyclicFacesSlaveCells;
}
} }
{ {
@ -56,10 +47,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (0.099 -10 -10)(0.101 10 10);
{
box (0.099 -10 -10)(0.101 10 10);
}
} }
{ {
@ -67,10 +55,7 @@ actions
type faceSet; type faceSet;
action subtract; action subtract;
source boxToFace; source boxToFace;
sourceInfo box (0.099 -0.006 0.004)(0.101 0.006 0.016);
{
box (0.099 -0.006 0.004)(0.101 0.006 0.016);
}
} }
{ {
@ -78,10 +63,7 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet baffleFaceSet;
{
faceSet baffleFaceSet;
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.84 -0.31 -0.01)(-0.82 0.31 0.06);
{
box (-0.84 -0.31 -0.01)(-0.82 0.31 0.06);
}
} }
); );

View File

@ -25,20 +25,14 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch couple1;
{
patch couple1;
}
} }
{ {
name couple1Faces; name couple1Faces;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet couple1FaceSet;
{
faceSet couple1FaceSet;
}
} }
// Create faceZone for patch couple2 // Create faceZone for patch couple2
@ -47,20 +41,14 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch couple2;
{
patch couple2;
}
} }
{ {
name couple2Faces; name couple2Faces;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet couple2FaceSet;
{
faceSet couple2FaceSet;
}
} }
// Create cellZone for moving cells in inlet channel // Create cellZone for moving cells in inlet channel
@ -69,20 +57,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 -100 -100) (1.0001 100 100);
{
box (-100 -100 -100) (1.0001 100 100);
}
} }
{ {
name inletChannel; name inletChannel;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set inletChannelCellSet;
{
set inletChannelCellSet;
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch outerCylinder;
{
patch outerCylinder;
}
} }
{ {
@ -33,10 +30,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source faceToFace; source faceToFace;
sourceInfo set boundaryFaces;
{
set boundaryFaces;
}
} }
{ {
@ -44,10 +38,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source faceToFace; source faceToFace;
sourceInfo set boundaryFaces;
{
set boundaryFaces;
}
} }
{ {
@ -55,11 +46,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source normalToFace; source normalToFace;
sourceInfo normal (0 -1 0);
{ cos 0.3; // Tolerance (max cos of angle)
normal (0 -1 0); // Vector
cos 0.3; // Tolerance (max cos of angle)
}
} }
{ {
@ -67,11 +55,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source normalToFace; source normalToFace;
sourceInfo normal (0 1 0);
{ cos 0.3; // Tolerance (max cos of angle)
normal (0 1 0); // Vector
cos 0.3; // Tolerance (max cos of angle)
}
} }
); );

View File

@ -25,10 +25,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch "AMI.*";
{
patch "AMI.*";
}
} }
); );

View File

@ -23,20 +23,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-0.5 -0.5 -1) (0.5 0.5 1);
{
box (-0.5 -0.5 -1) (0.5 0.5 1);
}
} }
{ {
name porousBlockage; name porousBlockage;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set porousBlockageCellSet;
{
set porousBlockageCellSet;
}
} }
); );

View File

@ -22,31 +22,22 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch side1;
{
patch side1;
}
} }
{ {
name f0; name f0;
type faceSet; type faceSet;
action subset; action subset;
source boxToFace; source boxToFace;
sourceInfo box (0 -100 -100)(100 -0.2 100);
{
box (0 -100 -100)(100 -0.2 100);
}
} }
{ {
name c0; name c0;
type cellSet; type cellSet;
action new; action new;
source faceToCell; source faceToCell;
sourceInfo set f0;
{ option any;
set f0;
option any;
}
} }
@ -55,21 +46,15 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch walls;
{
patch walls;
}
} }
{ {
name c0; name c0;
type cellSet; type cellSet;
action subtract; action subtract;
source faceToCell; source faceToCell;
sourceInfo set walls;
{ option any;
set walls;
option any;
}
} }
); );

View File

@ -22,20 +22,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (2.05 0.4 -1) (2.1 0.85 1);
{
box (2.05 0.4 -1) (2.1 0.85 1);
}
} }
{ {
name porousZone; name porousZone;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set porousCells;
{
set porousCells;
}
} }
); );

View File

@ -23,20 +23,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (581850.5 4785805 1061) (581850.8 4785815 1071);
{
box (581850.5 4785805 1061) (581850.8 4785815 1071);
}
} }
{ {
name actuationDisk1; name actuationDisk1;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set actuationDisk1CellSet;
{
set actuationDisk1CellSet;
}
} }
// actuationDisk2 // actuationDisk2
@ -45,20 +39,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (581754 4785658 1065) (581754.4 4785668 1075);
{
box (581754 4785658 1065) (581754.4 4785668 1075);
}
} }
{ {
name actuationDisk2; name actuationDisk2;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set actuationDisk2CellSet;
{
set actuationDisk2CellSet;
}
} }
); );

View File

@ -22,12 +22,9 @@ actions
type cellSet; type cellSet;
action new; action new;
source sphereToCell; source sphereToCell;
sourceInfo origin (0.125 0.375 0.05);
{ radius 0.005;
origin (0.125 0.375 0.05);
radius 0.005;
}
} }
); );

View File

@ -22,20 +22,14 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch filmWalls;
{
patch filmWalls;
}
} }
{ {
name wallFilmFaces; name wallFilmFaces;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet wallFilmFaceSet;
{
faceSet wallFilmFaceSet;
}
} }
); );

View File

@ -23,62 +23,43 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (1.5 -10 -10) (2 10 10);
{
box (1.5 -10 -10) (2 10 10);
}
} }
{ {
name filter; name filter;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set filterCellSet;
{
set filterCellSet;
}
} }
{ {
name leftFluidCellSet; name leftFluidCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-10 -10 -10) (1.5 10 10);
{
box (-10 -10 -10) (1.5 10 10);
}
} }
{ {
name leftFluid; name leftFluid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set leftFluidCellSet;
{
set leftFluidCellSet;
}
} }
{ {
name rightFluidCellSet; name rightFluidCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (2 -1 -1) (10 10 10);
{
box (2 -1 -1) (10 10 10);
}
} }
{ {
name rightFluid; name rightFluid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set rightFluidCellSet;
{
set rightFluidCellSet;
}
} }
@ -88,22 +69,16 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set filterCellSet;
{ option all;
set filterCellSet;
option all;
}
} }
{ {
name cycLeftFaceSet; name cycLeftFaceSet;
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set leftFluidCellSet;
{ option all;
set leftFluidCellSet;
option all;
}
} }
// Create faceZone from cycLeft // Create faceZone from cycLeft
{ {
@ -111,10 +86,7 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet cycLeftFaceSet;
{
faceSet cycLeftFaceSet;
}
} }
// cycRight // cycRight
@ -123,22 +95,16 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set filterCellSet;
{ option all;
set filterCellSet;
option all;
}
} }
{ {
name cycRightFaceSet; name cycRightFaceSet;
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set rightFluidCellSet;
{ option all;
set rightFluidCellSet;
option all;
}
} }
// Create faceZone from cycRight // Create faceZone from cycRight
{ {
@ -146,10 +112,7 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet cycRightFaceSet;
{
faceSet cycRightFaceSet;
}
} }
); );

View File

@ -32,40 +32,28 @@ actions
type cellSet; type cellSet;
action subtract; action subtract;
source boxToCell; source boxToCell;
sourceInfo box (0.4 0.1 0.1) (0.6 0.3 0.3);
{
box (0.4 0.1 0.1) (0.6 0.3 0.3);
}
} }
{ {
name c0; name c0;
type cellSet; type cellSet;
action subtract; action subtract;
source boxToCell; source boxToCell;
sourceInfo box (0.4 0.1 0.4) (0.6 0.3 0.6);
{
box (0.4 0.1 0.4) (0.6 0.3 0.6);
}
} }
{ {
name c0; name c0;
type cellSet; type cellSet;
action subtract; action subtract;
source boxToCell; source boxToCell;
sourceInfo box (0.4 0.4 0.1) (0.6 0.6 0.3);
{
box (0.4 0.4 0.1) (0.6 0.6 0.3);
}
} }
{ {
name c0; name c0;
type cellSet; type cellSet;
action subtract; action subtract;
source boxToCell; source boxToCell;
sourceInfo box (0.4 0.4 0.4) (0.6 0.6 0.6);
{
box (0.4 0.4 0.4) (0.6 0.6 0.6);
}
} }
); );

View File

@ -22,20 +22,14 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch filmWalls;
{
patch filmWalls;
}
} }
{ {
name wallFilmFaces; name wallFilmFaces;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet wallFilmFaceSet;
{
faceSet wallFilmFaceSet;
}
} }
); );

View File

@ -22,20 +22,14 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch filmWalls;
{
patch filmWalls;
}
} }
{ {
name wallFilmFaces; name wallFilmFaces;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet wallFilmFaceSet;
{
faceSet wallFilmFaceSet;
}
} }
); );

View File

@ -22,40 +22,28 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.00001 -0.00001 -1) (0.10001 0.00001 1);
{
box (-0.00001 -0.00001 -1) (0.10001 0.00001 1);
}
} }
{ {
name sideFaces2; name sideFaces2;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (0.09999 -0.00001 -1) (0.10001 0.05001 1);
{
box ( 0.09999 -0.00001 -1) (0.10001 0.05001 1);
}
} }
{ {
name sideFaces3; name sideFaces3;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.00001 0.04999 -1) (1.00001 0.05001 1);
{
box (-0.00001 0.04999 -1) (1.00001 0.05001 1);
}
} }
{ {
name sideFaces4; name sideFaces4;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.00001 -0.00001 -1) (0.00001 0.05001 1);
{
box (-0.00001 -0.00001 -1) (0.00001 0.05001 1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 -100 -0.2)(100 100 100);
{
box (-100 -100 -0.2)(100 100 100);
}
} }
{ {
@ -33,11 +30,8 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set z;
{ option all;
set z;
option all;
}
} }
{ {
@ -51,11 +45,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set z;
{ option all;
set z;
option all;
}
} }
// ~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~ //
@ -65,10 +56,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-0.32 -100 -100)(100 100 100);
{
box (-0.32 -100 -100)(100 100 100);
}
} }
{ {
@ -76,11 +64,8 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set x;
{ option all;
set x;
option all;
}
} }
{ {
@ -94,11 +79,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set x;
{ option all;
set x;
option all;
}
} }
// ~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~ //
@ -108,11 +90,8 @@ actions
type cellSet; type cellSet;
action new; action new;
source sphereToCell; source sphereToCell;
sourceInfo origin (-0.3 -0.3 -0.3);
{ radius 0.4;
origin (-0.3 -0.3 -0.3);
radius 0.4;
}
} }
{ {
@ -120,11 +99,8 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set sp;
{ option all;
set sp;
option all;
}
} }
{ {
@ -138,11 +114,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set sp;
{ option all;
set sp;
option all;
}
} }
); );

View File

@ -139,8 +139,8 @@ FoamFile
// source fieldToCell; // source fieldToCell;
// { // {
// field U; // Note: uses mag(U) since volVectorField // field U; // Note: uses mag(U) since volVectorField
// min 0.1; // min 0.1;
// max 0.5; // max 0.5;
// } // }
// //
// // Mesh region (non-face connected part of (subset of)mesh) // // Mesh region (non-face connected part of (subset of)mesh)
@ -204,7 +204,7 @@ FoamFile
// // Faces with normal to within certain angle aligned with vector. // // Faces with normal to within certain angle aligned with vector.
// source normalToFace; // source normalToFace;
// { // {
// normal (0 0 1); // Vector // normal (0 0 1); // Vector
// cos 0.01; // Tolerance (max cos of angle) // cos 0.01; // Tolerance (max cos of angle)
// } // }
// //
@ -222,15 +222,15 @@ FoamFile
// // Select based on cellSet // // Select based on cellSet
// source cellToPoint; // source cellToPoint;
// { // {
// set c0; // set c0;
// option all; // all points of cell // option all; // all points of cell
// } // }
// //
// // Select based on faceSet // // Select based on faceSet
// source faceToPoint; // source faceToPoint;
// { // {
// set f0; // name of faceSet // set f0; // name of faceSet
// option all; // all points of face // option all; // all points of face
// } // }
// //
// // Select by explicitly providing point labels // // Select by explicitly providing point labels
@ -304,7 +304,7 @@ actions
name background; name background;
type cellSet; type cellSet;
action new; action new;
source surfaceToCell; source surfaceToCell;
sourceInfo sourceInfo
{ {
file "constant/triSurface/flange.obj"; file "constant/triSurface/flange.obj";

View File

@ -26,10 +26,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 -100 $zSlice)(100 100 100);
{
box (-100 -100 $zSlice)(100 100 100);
}
} }
{ {
@ -37,11 +34,8 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set z;
{ option all;
set z;
option all;
}
} }
{ {
@ -55,11 +49,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set z;
{ option all;
set z;
option all;
}
} }
// ~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~ //
@ -69,10 +60,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 $ySlice -100)(100 100 100);
{
box (-100 $ySlice -100)(100 100 100);
}
} }
{ {
@ -80,11 +68,8 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set y;
{ option all;
set y;
option all;
}
} }
{ {
@ -98,11 +83,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set y;
{ option all;
set y;
option all;
}
} }
// ~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~ //
@ -112,10 +94,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box ($xSlice -100 -100)(100 100 100);
{
box ($xSlice -100 -100)(100 100 100);
}
} }
{ {
@ -123,11 +102,8 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set x;
{ option all;
set x;
option all;
}
} }
{ {
@ -141,11 +117,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set x;
{ option all;
set x;
option all;
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 -100 0)(100 100 100);
{
box (-100 -100 0)(100 100 100);
}
} }
{ {
@ -33,11 +30,8 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set z;
{ option all;
set z;
option all;
}
} }
{ {
@ -51,11 +45,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set z;
{ option all;
set z;
option all;
}
} }
// ~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~ //
@ -65,10 +56,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100 0.1 -100)(100 100 100);
{
box (-100 0.1 -100)(100 100 100);
}
} }
{ {
@ -76,11 +64,8 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set y;
{ option all;
set y;
option all;
}
} }
{ {
@ -94,11 +79,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set y;
{ option all;
set y;
option all;
}
} }
// ~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~ //
@ -108,10 +90,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.3 -100 -100)(100 100 100);
{
box (0.3 -100 -100)(100 100 100);
}
} }
{ {
@ -119,11 +98,8 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set x;
{ option all;
set x;
option all;
}
} }
{ {
@ -137,11 +113,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set x;
{ option all;
set x;
option all;
}
} }
); );

View File

@ -23,20 +23,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (1.5 -10 -10) (2 10 10);
{
box (1.5 -10 -10) (2 10 10);
}
} }
{ {
name filter; name filter;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set filterCells;
{
set filterCells;
}
} }
@ -45,40 +39,28 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-10 -10 -10) (1.5 10 10);
{
box (-10 -10 -10) (1.5 10 10);
}
} }
{ {
name leftFluid; name leftFluid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set leftFluidCells;
{
set leftFluidCells;
}
} }
{ {
name rightFluidCells; name rightFluidCells;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (2 -1 -1) (10 10 10);
{
box (2 -1 -1) (10 10 10);
}
} }
{ {
name rightFluid; name rightFluid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set rightFluidCells;
{
set rightFluidCells;
}
} }
@ -88,22 +70,16 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set filterCells;
{ option all;
set filterCells;
option all;
}
} }
{ {
name cycLeftFaces; name cycLeftFaces;
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set leftFluidCells;
{ option all;
set leftFluidCells;
option all;
}
} }
// Create faceZone from cycLeft // Create faceZone from cycLeft
{ {
@ -111,10 +87,7 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet cycLeftFaces; // name of faceSet
{
faceSet cycLeftFaces; // name of faceSet
}
} }
// cycRight // cycRight
@ -123,22 +96,16 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set filterCells;
{ option all;
set filterCells;
option all;
}
} }
{ {
name cycRightFaces; name cycRightFaces;
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set rightFluidCells;
{ option all;
set rightFluidCells;
option all;
}
} }
// Create faceZone from cycRight // Create faceZone from cycRight
{ {
@ -146,10 +113,7 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet cycRightFaces; // name of faceSet
{
faceSet cycRightFaces; // name of faceSet
}
} }
); );

View File

@ -21,13 +21,10 @@ actions
name range1; name range1;
type cellSet; type cellSet;
action new; action new;
source fieldToCell; source fieldToCell;
sourceInfo field radiusFieldXY;
{ min 13.36;
field radiusFieldXY; max 18.47;
min 13.36;
max 18.47;
}
} }
); );

View File

@ -21,13 +21,10 @@ actions
name range1; name range1;
type cellSet; type cellSet;
action new; action new;
source fieldToCell; source fieldToCell;
sourceInfo field radiusFieldXY;
{ min 7.0;
field radiusFieldXY; max 18.47;
min 7.00;
max 18.47;
}
} }
); );

View File

@ -21,13 +21,10 @@ actions
name range1; name range1;
type cellSet; type cellSet;
action new; action new;
source fieldToCell; source fieldToCell;
sourceInfo field radiusFieldXY;
{ min 3.67;
field radiusFieldXY; max 18.47;
min 3.67;
max 18.47;
}
} }
); );

View File

@ -21,13 +21,10 @@ actions
name tier1; name tier1;
type cellSet; type cellSet;
action new; action new;
source fieldToCell; source fieldToCell;
sourceInfo field radiusFieldXY;
{ min 0;
field radiusFieldXY; max 0.64;
min 0.0;
max 0.64;
}
} }
); );

View File

@ -21,13 +21,10 @@ actions
name tier2; name tier2;
type cellSet; type cellSet;
action new; action new;
source fieldToCell; source fieldToCell;
sourceInfo field radiusFieldXY;
{ min 0;
field radiusFieldXY; max 1.03;
min 0.0;
max 1.03;
}
} }
); );

View File

@ -21,13 +21,10 @@ actions
name tier3; name tier3;
type cellSet; type cellSet;
action new; action new;
source fieldToCell; source fieldToCell;
sourceInfo field radiusFieldXY;
{ min 0;
field radiusFieldXY; max 1.94;
min 0.0;
max 1.94;
}
} }
); );

View File

@ -21,13 +21,10 @@ actions
name tier4; name tier4;
type cellSet; type cellSet;
action new; action new;
source fieldToCell; source fieldToCell;
sourceInfo field radiusFieldXY;
{ min 0;
field radiusFieldXY; max 3.67;
min 0.0;
max 3.67;
}
} }
); );

View File

@ -21,13 +21,10 @@ actions
name tier5; name tier5;
type cellSet; type cellSet;
action new; action new;
source fieldToCell; source fieldToCell;
sourceInfo field radiusFieldXY;
{ min 0;
field radiusFieldXY; max 7.0;
min 0.0;
max 7.00;
}
} }
); );

View File

@ -21,13 +21,10 @@ actions
name tier6; name tier6;
type cellSet; type cellSet;
action new; action new;
source fieldToCell; source fieldToCell;
sourceInfo field radiusFieldXY;
{ min 0;
field radiusFieldXY; max 13.36;
min 0.0;
max 13.36;
}
} }
); );

View File

@ -23,31 +23,22 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100e-3 -100e-3 -100e-3) (2e-3 100e-3 100e-3);
{
box (-100e-3 -100e-3 -100e-3) (2e-3 100e-3 100e-3);
}
} }
{ {
name A; name A;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (1.999e-3 -100e-3 -100e-3) (2.001e-3 100e-3 100e-3);
{
box (1.999e-3 -100e-3 -100e-3) (2.001e-3 100e-3 100e-3);
}
} }
{ {
name A; name A;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setsToFaceZone; source setsToFaceZone;
sourceInfo faceSet A; // name of faceSet
{ cellSet leftA; // name of cellSet of slave side
faceSet A; // name of faceSet
cellSet leftA; // name of cellSet of slave side
}
} }
@ -57,31 +48,22 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-100e-3 -100e-3 -100e-3) (8e-3 100e-3 100e-3);
{
box (-100e-3 -100e-3 -100e-3) (8e-3 100e-3 100e-3);
}
} }
{ {
name B; name B;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (7.999e-3 -100e-3 -100e-3) (8.001e-3 100e-3 100e-3);
{
box (7.999e-3 -100e-3 -100e-3) (8.001e-3 100e-3 100e-3);
}
} }
{ {
name B; name B;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setsToFaceZone; source setsToFaceZone;
sourceInfo faceSet B; // name of faceSet
{ cellSet leftB; // name of cellSet of slave side
faceSet B; // name of faceSet
cellSet leftB; // name of cellSet of slave side
}
} }
); );

View File

@ -22,13 +22,10 @@ actions
type cellSet; type cellSet;
action new; action new;
source regionToCell; source regionToCell;
sourceInfo insidePoints
{ (
insidePoints (0.99 0.99 0.99)
( );
(0.99 0.99 0.99)
);
}
} }
{ {
@ -36,10 +33,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-1 -1 -1)(0.5 0.5 0.5);
{
box (-1 -1 -1)(0.5 0.5 0.5);
}
} }
{ {
@ -47,10 +41,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set corner;
{
set corner;
}
} }
{ {
@ -58,10 +49,7 @@ actions
type cellSet; type cellSet;
action subtract; action subtract;
source cellToCell; source cellToCell;
sourceInfo set outer;
{
set outer;
}
} }
{ {
@ -69,10 +57,7 @@ actions
type cellSet; type cellSet;
action subtract; action subtract;
source cellToCell; source cellToCell;
sourceInfo set corner;
{
set corner;
}
} }
{ {
@ -86,20 +71,14 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set outer;
{
set outer;
}
} }
{ {
name final; name final;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo set inner;
{
set inner;
}
} }
); );

View File

@ -19,10 +19,7 @@ newFromPatch
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch outer;
{
patch outer;
}
} }
subsetNormal subsetNormal
@ -30,10 +27,7 @@ subsetNormal
type faceSet; type faceSet;
action subset; action subset;
source normalToFace; source normalToFace;
sourceInfo cos 0.1;
{
cos 0.1;
}
} }
actions actions
@ -47,10 +41,7 @@ actions
{ {
name outerx; name outerx;
$subsetNormal; $subsetNormal;
sourceInfo normal (-1 0 0);
{
normal (-1 0 0);
}
} }
// outery // outery
@ -62,10 +53,7 @@ actions
{ {
name outery; name outery;
$subsetNormal; $subsetNormal;
sourceInfo normal (0 -1 0);
{
normal (0 -1 0);
}
} }
// outerz // outerz
@ -77,10 +65,7 @@ actions
{ {
name outerz; name outerz;
$subsetNormal; $subsetNormal;
sourceInfo normal (0 0 -1);
{
normal (0 0 -1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (-0.01 -0.01 -0.03)(0.01 0.01 0.001);
{
box (-0.01 -0.01 -0.03)(0.01 0.01 0.001);
}
} }
{ {
@ -33,10 +30,7 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet inlet;
{
faceSet inlet;
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.004 -0.001 -1) (0.012 0.001 1);
{
box (0.004 -0.001 -1) (0.012 0.001 1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.0045 -0.00075 -1) (0.0095 0.00075 1);
{
box (0.0045 -0.00075 -1) (0.0095 0.00075 1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.00475 -0.000375 -1) (0.009 0.000375 1);
{
box (0.00475 -0.000375 -1) (0.009 0.000375 1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.004 -0.001 -1) (0.012 0.001 1);
{
box (0.004 -0.001 -1) (0.012 0.001 1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.0045 -0.00075 -1) (0.0095 0.00075 1);
{
box (0.0045 -0.00075 -1) (0.0095 0.00075 1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.00475 -0.000375 -1) (0.009 0.000375 1);
{
box (0.00475 -0.000375 -1) (0.009 0.000375 1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.004 -0.001 -1) (0.012 0.001 1);
{
box (0.004 -0.001 -1) (0.012 0.001 1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.0045 -0.00075 -1) (0.0095 0.00075 1);
{
box (0.0045 -0.00075 -1) (0.0095 0.00075 1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.00475 -0.000375 -1) (0.009 0.000375 1);
{
box (0.00475 -0.000375 -1) (0.009 0.000375 1);
}
} }
); );

View File

@ -25,10 +25,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source zoneToCell; source zoneToCell;
sourceInfo zone topBlock;
{
zone topBlock;
}
} }
// Create cellSet centralBlock from cellZone centralBlock created by blockMesh // Create cellSet centralBlock from cellZone centralBlock created by blockMesh
@ -37,22 +34,16 @@ actions
type cellSet; type cellSet;
action new; action new;
source zoneToCell; source zoneToCell;
sourceInfo zone centralBlock;
{
zone centralBlock;
}
} }
// Create cellSet bottomBlock from cellZone bottomBlock created by blockMesh // Create cellSet bottomBlock from cellZone bottomBlock created by blockMesh
{ {
name bottomBlockCells; name bottomBlockCells;
type cellSet; type cellSet;
action new; action new;
source zoneToCell; source zoneToCell;
sourceInfo zone bottomBlock;
{
zone bottomBlock;
}
} }
@ -64,10 +55,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch top;
{
patch top;
}
} }
// Only keep those that border the top block topBlock // Only keep those that border the top block topBlock
@ -76,11 +64,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set topBlockCells;
{ option all;
set topBlockCells;
option all;
}
} }
// Convert top from faceSet to faceZone // Convert top from faceSet to faceZone
@ -89,11 +74,8 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setAndNormalToFaceZone; source setAndNormalToFaceZone;
sourceInfo faceSet top;
{ normal (0 -1 0);
faceSet top;
normal (0 -1 0);
}
} }
@ -101,15 +83,12 @@ actions
// Get all faces in topBlock // Get all faces in topBlock
{ {
name centralTopFaces; name centralTopFaces;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set topBlockCells;
{ option all;
set topBlockCells;
option all;
}
} }
// Get the faces that border topBlock and centralBlock // Get the faces that border topBlock and centralBlock
@ -118,11 +97,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set centralBlockCells;
{ option all;
set centralBlockCells;
option all;
}
} }
// Convert topBlockFaces from faceSet to faceZone // Convert topBlockFaces from faceSet to faceZone
@ -131,11 +107,8 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setsToFaceZone; source setsToFaceZone;
sourceInfo faceSet centralTopFaces;
{ cellSet topBlockCells;
faceSet centralTopFaces;
cellSet topBlockCells;
}
} }
@ -144,15 +117,12 @@ actions
// Get all faces in bottomBlock // Get all faces in bottomBlock
{ {
name centralBottomFaces; name centralBottomFaces;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set bottomBlockCells;
{ option all;
set bottomBlockCells;
option all;
}
} }
// Get the faces that border centralBlock and bottomBlock // Get the faces that border centralBlock and bottomBlock
@ -161,11 +131,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set centralBlockCells;
{ option all;
set centralBlockCells;
option all;
}
} }
// Convert centralBottomFaces from faceSet to faceZone // Convert centralBottomFaces from faceSet to faceZone
@ -174,11 +141,8 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setsToFaceZone; source setsToFaceZone;
sourceInfo faceSet centralBottomFaces;
{ cellSet centralBlockCells;
faceSet centralBottomFaces;
cellSet centralBlockCells;
}
} }
@ -190,10 +154,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch bottom;
{
patch bottom;
}
} }
// Only keep those that border the bottom block bottomBlockCells // Only keep those that border the bottom block bottomBlockCells
@ -202,11 +163,8 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set bottomBlockCells;
{ option all;
set bottomBlockCells;
option all;
}
} }
// Convert bottom from faceSet to faceZone // Convert bottom from faceSet to faceZone
@ -215,11 +173,8 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setAndNormalToFaceZone; source setAndNormalToFaceZone;
sourceInfo faceSet bottom;
{ normal (0 1 0);
faceSet bottom;
normal (0 1 0);
}
} }
@ -233,30 +188,21 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo set topBlockCells;
{
set topBlockCells;
}
} }
{ {
name LARTopCells; name LARTopCells;
type cellSet; type cellSet;
action subset; action subset;
source boxToCell; source boxToCell;
sourceInfo box (-100 0.95 -100)(100 100 100);
{
box (-100 0.95 -100)(100 100 100);
}
} }
{ {
name LARTopCells; name LARTopCells;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set LARTopCells;
{
set LARTopCells;
}
} }
// upate old topBlock cellZone // upate old topBlock cellZone
@ -265,10 +211,7 @@ actions
type cellSet; type cellSet;
action subtract; action subtract;
source cellToCell; source cellToCell;
sourceInfo set LARTopCells;
{
set LARTopCells;
}
} }
{ {
name topBlock; name topBlock;
@ -280,45 +223,33 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set topBlockCells;
{
set topBlockCells;
}
} }
// generate face zone between LARTopCells and topBlockCells cellSets // generate face zone between LARTopCells and topBlockCells cellSets
{ {
name LARTopFaces; name LARTopFaces;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo set LARTopCells;
{ option all;
set LARTopCells;
option all;
}
} }
{ {
name LARTopFaces; name LARTopFaces;
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo set topBlockCells;
{ option all;
set topBlockCells;
option all;
}
} }
{ {
name LARTopFaces; name LARTopFaces;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setsToFaceZone; source setsToFaceZone;
sourceInfo faceSet LARTopFaces;
{ cellSet topBlockCells;
faceSet LARTopFaces;
cellSet topBlockCells;
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source zoneToCell; source zoneToCell;
sourceInfo zone rotor;
{
zone rotor;
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0 0 -2e-05) (0.0036 0.0008 4e-05);
{
box (0 0 -2e-05) (0.0036 0.0008 4e-05);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0 0 -2e-05) (0.0036 0.0003 2e-05);
{
box (0 0 -2e-05) (0.0036 0.0003 2e-05);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-10 -6 -3) (10 0 3);
{
box (-10 -6 -3) (10 0 3);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-5 -3 -2.5) (9 0 2);
{
box (-5 -3 -2.5) (9 0 2);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-3 -1.5 -1) (8 0 1.5);
{
box (-3 -1.5 -1) (8 0 1.5);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-2 -1 -0.6) (7 0 1);
{
box (-2 -1 -0.6) (7 0 1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-1 -0.6 -0.3) (6.5 0 0.8);
{
box (-1 -0.6 -0.3) (6.5 0 0.8);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-0.5 -0.55 -0.15) (6.25 0 0.65);
{
box (-0.5 -0.55 -0.15) (6.25 0 0.65);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-10 -6 -3) (10 0 3);
{
box (-10 -6 -3) (10 0 3);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-5 -3 -2.5) (9 0 2);
{
box (-5 -3 -2.5) (9 0 2);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-3 -1.5 -1) (8 0 1.5);
{
box (-3 -1.5 -1) (8 0 1.5);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-2 -1 -0.6) (7 0 1);
{
box (-2 -1 -0.6) (7 0 1);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-1 -0.6 -0.3) (6.5 0 0.8);
{
box (-1 -0.6 -0.3) (6.5 0 0.8);
}
} }
); );

View File

@ -22,10 +22,8 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo
{ box (-0.5 -0.55 -0.15) (6.25 0 0.65);
box (-0.5 -0.55 -0.15) (6.25 0 0.65);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo box (0.3015 0.0493 -1) (0.3069 0.2077 1);
{
box (0.3015 0.0493 -1) (0.3069 0.2077 1);
}
} }
{ {
@ -33,10 +30,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (-1 0 -1) (0.305 0.31 1);
{
box (-1 0 -1) (0.305 0.31 1);
}
} }
{ {
@ -44,11 +38,9 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setsToFaceZone; source setsToFaceZone;
sourceInfo
{ faceSet cyclicFacesFaceSet;
faceSet cyclicFacesFaceSet; cellSet cyclicFacesSlaveCells;
cellSet cyclicFacesSlaveCells;
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo box (0.35 0.35 0.1) (0.65 0.55 0.6);
{
box (0.35 0.35 0.1) (0.65 0.55 0.6);
}
} }
{ {

View File

@ -32,10 +32,7 @@ actions
type cellSet; type cellSet;
action subtract; action subtract;
source boxToCell; source boxToCell;
sourceInfo box (0.375 0.375 0) (0.625 0.625 0.25);
{
box (0.375 0.375 0) (0.625 0.625 0.25);
}
} }
); );

View File

@ -22,10 +22,7 @@ actions
type cellSet; type cellSet;
action new; action new;
source zoneToCell; source zoneToCell;
sourceInfo zone rotor;
{
zone rotor;
}
} }
); );

View File

@ -21,15 +21,13 @@ actions
name blockage; name blockage;
type cellSet; type cellSet;
action new; action new;
// source boxToCell; // source boxToCell;
// box (0.015 0.010 0.015) (0.035 0.015 0.035);
source cylinderToCell; source cylinderToCell;
sourceInfo p1 (0.025 0.02 0.025);
{ p2 (0.025 0.022 0.025);
// box (0.015 0.010 0.015) (0.035 0.015 0.035); radius 0.01;
p1 (0.025 0.02 0.025);
p2 (0.025 0.022 0.025);
radius 0.01;
}
} }
{ {
name blockage; name blockage;

View File

@ -22,10 +22,7 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo patch sides;
{
patch sides;
}
} }
{ {
@ -33,10 +30,7 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo faceSet f0;
{
faceSet f0;
}
} }
); );

View File

@ -22,12 +22,10 @@ actions
type cellSet; type cellSet;
action new; action new;
source cylinderToCell; source cylinderToCell;
sourceInfo
{ p1 (0.025 1 0.025);
p1 (0.025 1 0.025); p2 (0.025 0.049 0.025);
p2 (0.025 0.049 0.025); radius 0.0015;
radius 0.0015;
}
} }
// Get all faces in cellSet and assign to injectorFaces // Get all faces in cellSet and assign to injectorFaces
@ -36,11 +34,9 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{ set c0;
set c0; option all;
option all;
}
} }
// Keep in injectorFaces all faces in boundary faces // Keep in injectorFaces all faces in boundary faces
@ -49,9 +45,6 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source boundaryToFace; source boundaryToFace;
sourceInfo
{
}
} }
); );

View File

@ -21,12 +21,10 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source fieldToCell; source fieldToCell;
sourceInfo
{ field MangrovesIndex;
field MangrovesIndex; min 0.5;
min 0.5; max 1.5;
max 1.5;
}
} }
); );

View File

@ -32,10 +32,7 @@ actions
type cellSet; type cellSet;
action subtract; action subtract;
source boxToCell; source boxToCell;
sourceInfo box (0.375 0.375 0) (0.625 0.625 0.25);
{
box (0.375 0.375 0) (0.625 0.625 0.25);
}
} }
); );

View File

@ -22,15 +22,12 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo boxes
{ (
boxes (0.1 -1e10 0.08) (0.9 1e10 0.2)
( (0.75 -1e10 0.2) (0.92 1e10 0.9)
(.1 -1e10 0.08) (.9 1e10 0.2) (0.1 -1e10 0.2) (0.25 1e10 0.7)
(.75 -1e10 0.2) (.92 1e10 0.9) );
(.1 -1e10 0.2) (.25 1e10 0.7)
);
}
} }
); );

Some files were not shown because too many files have changed in this diff Show More