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,22 +21,16 @@ 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));
} }
}
{ {
name c1; name c1;
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set c0; set c0;
} }
}
{ {
name c1; name c1;
@ -51,22 +45,16 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set c1; set c1;
} }
}
{ {
name box; name box;
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);
} }
}
{ {
name box; name box;

View File

@ -21,22 +21,16 @@ 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));
} }
}
{ {
name c1; name c1;
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set c0; set c0;
} }
}
{ {
name c1; name c1;

View File

@ -22,56 +22,41 @@ actions
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);
} }
}
{ {
name blockedCellsSet; name blockedCellsSet;
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);
} }
}
{ {
name blockedCellsSet; name blockedCellsSet;
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);
} }
}
{ {
name blockedFacesSet; name blockedFacesSet;
type faceSet; type faceSet;
action add; action add;
source cellToFace; source cellToFace;
sourceInfo
{
set blockedCellsSet; set blockedCellsSet;
option all; option all;
} }
}
{ {
name coupledFacesSet; name coupledFacesSet;
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,219 +22,159 @@ 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);
} }
}
{ {
name slot_bottom; name slot_bottom;
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);
} }
}
{ {
name slot_top; name slot_top;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet slot_top; faceSet slot_top;
} }
}
{ {
name inletFace; name inletFace;
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo
{
patch inlet; patch inlet;
} }
}
{ {
name compartment_fire; name compartment_fire;
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);
} }
}
{ {
name compartment_fire; name compartment_fire;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo
{
set compartment_fire; set compartment_fire;
} }
}
{ {
name internalWallPanel; name internalWallPanel;
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);
} }
}
{ {
name internalWallPanel; name internalWallPanel;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet internalWallPanel; faceSet internalWallPanel;
} }
}
{ {
name wallFaces_back; name wallFaces_back;
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);
} }
}
{ {
name wallFaces_top; name wallFaces_top;
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);
} }
}
{ {
name wallFaces_side; name wallFaces_side;
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);
} }
}
{ {
name wallPanel; name wallPanel;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet wallFaces_back; faceSet wallFaces_back;
} }
}
{ {
name wallPanel; name wallPanel;
type faceZoneSet; type faceZoneSet;
action add; action add;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet wallFaces_front; faceSet wallFaces_front;
} }
}
{ {
name wallPanel; name wallPanel;
type faceZoneSet; type faceZoneSet;
action add; action add;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet wallFaces_top; faceSet wallFaces_top;
} }
}
{ {
name wallPanel; name wallPanel;
type faceZoneSet; type faceZoneSet;
action add; action add;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet wallFaces_side; faceSet wallFaces_side;
} }
}
{ {
name baseFace; name baseFace;
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);
} }
}
{ {
name wallPanel; name wallPanel;
type faceZoneSet; type faceZoneSet;
action add; action add;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet baseFace; faceSet baseFace;
} }
}
{ {
name wallPanel; name wallPanel;
type faceZoneSet; type faceZoneSet;
action subtract; action subtract;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet inletFace; faceSet inletFace;
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -22,11 +22,8 @@ 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,33 +31,24 @@ 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,11 +22,8 @@ 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,22 +31,16 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo
{
patch coupledWallTmp; patch coupledWallTmp;
} }
}
{ {
name coupledWall; name coupledWall;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet coupledWall; faceSet coupledWall;
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -22,11 +22,8 @@ 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,44 +22,31 @@ 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);
} }
}
{ {
name fRight_zone; name fRight_zone;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet fRight; faceSet fRight;
} }
}
{ {
name fLeft_zone; name fLeft_zone;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet fLeft; faceSet fLeft;
} }
}
); );

View File

@ -22,11 +22,8 @@ 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

@ -22,22 +22,16 @@ actions
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,11 +22,8 @@ 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,11 +22,8 @@ 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,22 +21,16 @@ 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));
} }
}
{ {
name c1; name c1;
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set c0; set c0;
} }
}
{ {
name c1; name c1;
@ -49,23 +43,17 @@ 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)); insidePoints ((0.0116 0.00151 0.001));//((0.0076 0.00151 0.001));
set c1; set c1;
} }
}
{ {
name c1; name c1;
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,30 +62,22 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set c1; set c1;
} }
}
{ {
name box; name box;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo
{
set c2; set c2;
} }
}
{ {
name box; name box;
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.0025 0.0045 -100)(0.0075 0.0055 100)
@ -105,7 +85,6 @@ actions
(0.0125 0.0025 -100)(0.0135 0.0075 100) (0.0125 0.0025 -100)(0.0135 0.0075 100)
); );
} }
}
{ {
name box; name box;

View File

@ -21,22 +21,16 @@ 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));
} }
}
{ {
name c1; name c1;
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set c0; set c0;
} }
}
{ {
name c1; name c1;

View File

@ -23,31 +23,22 @@ 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,21 +46,15 @@ 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,21 +62,15 @@ 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,21 +78,15 @@ 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;
} }
}
// bottomWater is all the other cells // bottomWater is all the other cells
@ -122,41 +95,29 @@ 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;
type cellSet; type cellSet;
@ -167,11 +128,8 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo
{
set bottomWaterCellSet; set bottomWaterCellSet;
} }
}
); );

View File

@ -24,11 +24,8 @@ 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,22 +33,16 @@ 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,21 +56,15 @@ actions
type cellSet; type cellSet;
action subtract; action subtract;
source cellToCell; source cellToCell;
sourceInfo
{
set floor; set floor;
} }
}
{ {
name air; name air;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set solid; // cellSet
{
set solid; // name of cellSet
}
} }
{ {
@ -87,11 +72,8 @@ 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,32 +81,23 @@ 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);
} }
}
{ {
name solid; name solid;
type cellSet; type cellSet;
action subtract; action subtract;
source cellToCell; source cellToCell;
sourceInfo
{
set cavity; set cavity;
} }
}
{ {
name solid; name solid;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo set solid; // cellSet
{
set solid; // name of cellSet
}
} }
); );

View File

@ -23,31 +23,22 @@ 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,21 +46,15 @@ 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,21 +62,15 @@ 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,21 +78,15 @@ 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;
} }
}
// bottomWater is all the other cells // bottomWater is all the other cells
@ -122,41 +95,29 @@ 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;
type cellSet; type cellSet;
@ -167,11 +128,8 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo
{
set bottomWaterCellSet; set bottomWaterCellSet;
} }
}
); );

View File

@ -21,11 +21,8 @@ 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,31 +23,22 @@ 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;
type cellSet; type cellSet;

View File

@ -22,46 +22,34 @@ 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; faceSet f1;
normal (0 1 0); normal (0 1 0);
} }
}
{ {
name c1; name c1;
type cellZoneSet; type cellZoneSet;
action new; action new;
source faceToCell; source faceToCell;
sourceInfo
{
set f1Zone; set f1Zone;
option neighbour; option neighbour;
} }
}
{ {
name c1Zone; name c1Zone;
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo
{
set c1; set c1;
} }
}
); );

View File

@ -23,31 +23,22 @@ 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;
type cellSet; type cellSet;

View File

@ -23,31 +23,22 @@ 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;
type cellSet; type cellSet;

View File

@ -23,31 +23,22 @@ 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,21 +46,15 @@ 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,21 +62,15 @@ 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,21 +78,15 @@ 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;
} }
}
// bottomWater is all the other cells // bottomWater is all the other cells
@ -122,41 +95,29 @@ 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;
type cellSet; type cellSet;
@ -167,11 +128,8 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo
{
set bottomWaterCellSet; set bottomWaterCellSet;
} }
}
); );

View File

@ -23,97 +23,70 @@ 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; set rotorCells;
option all; 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);
} }
}
{ {
name rotorBladesFaceSet; name rotorBladesFaceSet;
type faceSet; type faceSet;
action new; action new;
source faceToFace; source faceToFace;
sourceInfo
{
set rotorFaces; set rotorFaces;
} }
}
{ {
name rotorBladesFaceSet; name rotorBladesFaceSet;
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);
} }
}
{ {
name rotorBlades2; name rotorBlades2;
type faceSet; type faceSet;
action new; action new;
source faceToFace; source faceToFace;
sourceInfo
{
set rotorFaces; set rotorFaces;
} }
}
{ {
name rotorBlades2; name rotorBlades2;
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);
} }
}
{ {
name rotorBladesFaceSet; name rotorBladesFaceSet;
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,31 +23,22 @@ 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,31 +23,22 @@ 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,21 +46,15 @@ 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,21 +62,15 @@ 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,21 +78,15 @@ 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;
} }
}
// bottomAir is all the other cells // bottomAir is all the other cells
@ -122,41 +95,29 @@ 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;
type cellSet; type cellSet;
@ -167,11 +128,8 @@ actions
type cellZoneSet; type cellZoneSet;
action new; action new;
source setToCellZone; source setToCellZone;
sourceInfo
{
set bottomAirCellSet; set bottomAirCellSet;
} }
}
); );

View File

@ -21,22 +21,16 @@ 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));
} }
}
{ {
name c1; name c1;
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set c0; set c0;
} }
}
{ {
name c1; name c1;

View File

@ -21,22 +21,16 @@ 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));
} }
}
{ {
name c1; name c1;
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set c0; set c0;
} }
}
{ {
name c1; name c1;
@ -51,22 +45,16 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set c1; set c1;
} }
}
{ {
name box; name box;
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);
} }
}
{ {
name box; name box;

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,11 +32,8 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set c0; set c0;
} }
}
{ {
name c1; name c1;
@ -49,11 +46,11 @@ actions
type cellSet; type cellSet;
action new; action new;
source regionsToCell; source regionsToCell;
sourceInfo
{
insidePoints ((0.0076 0.00151 0.001));
set c1; set c1;
} insidePoints
(
(0.0076 0.00151 0.001)
);
} }
{ {
@ -61,11 +58,8 @@ 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,30 +68,22 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set c1; set c1;
} }
}
{ {
name box; name box;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo
{
set c2; set c2;
} }
}
{ {
name box; name box;
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.0025 0.0045 -100)(0.0075 0.0055 100)
@ -105,7 +91,6 @@ actions
// (0.0104 0.0025 -100)(0.0115 0.0075 100) // (0.0104 0.0025 -100)(0.0115 0.0075 100)
); );
} }
}
{ {
name box; name box;

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,11 +32,8 @@ actions
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set c0; set c0;
} }
}
{ {
name c1; name c1;

View File

@ -22,67 +22,49 @@ 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);
} }
}
{ {
name cyclicFacesSlaveCells; name cyclicFacesSlaveCells;
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);
} }
}
{ {
name cyclicFaces; name cyclicFaces;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setsToFaceZone; source setsToFaceZone;
sourceInfo
{
faceSet cyclicFacesFaceSet; faceSet cyclicFacesFaceSet;
cellSet cyclicFacesSlaveCells; cellSet cyclicFacesSlaveCells;
} }
}
{ {
name baffleFaceSet; name baffleFaceSet;
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);
} }
}
{ {
name baffleFaceSet; name baffleFaceSet;
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);
} }
}
{ {
name baffleFaces; name baffleFaces;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet baffleFaceSet; faceSet baffleFaceSet;
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -22,11 +22,8 @@ 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,21 +25,15 @@ 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,21 +41,15 @@ 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,21 +57,15 @@ 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,57 +22,42 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo
{
patch outerCylinder; patch outerCylinder;
} }
}
{ {
name outletFaces; name outletFaces;
type faceSet; type faceSet;
action new; action new;
source faceToFace; source faceToFace;
sourceInfo
{
set boundaryFaces; set boundaryFaces;
} }
}
{ {
name inletFaces; name inletFaces;
type faceSet; type faceSet;
action new; action new;
source faceToFace; source faceToFace;
sourceInfo
{
set boundaryFaces; set boundaryFaces;
} }
}
{ {
name outletFaces; name outletFaces;
type faceSet; type faceSet;
action subset; action subset;
source normalToFace; source normalToFace;
sourceInfo normal (0 -1 0);
{
normal (0 -1 0); // Vector
cos 0.3; // Tolerance (max cos of angle) cos 0.3; // Tolerance (max cos of angle)
} }
}
{ {
name inletFaces; name inletFaces;
type faceSet; type faceSet;
action subset; action subset;
source normalToFace; source normalToFace;
sourceInfo normal (0 1 0);
{
normal (0 1 0); // Vector
cos 0.3; // Tolerance (max cos of angle) cos 0.3; // Tolerance (max cos of angle)
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

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

View File

@ -23,21 +23,15 @@ 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,32 +22,23 @@ 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; set f0;
option any; option any;
} }
}
{ {
@ -55,22 +46,16 @@ 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; set walls;
option any; option any;
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -22,21 +22,15 @@ 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,21 +23,15 @@ 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,21 +39,15 @@ 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

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

View File

@ -22,21 +22,15 @@ 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,63 +23,44 @@ 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;
} }
}
// cycLeft // cycLeft
@ -88,34 +69,25 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set filterCellSet; set filterCellSet;
option all; option all;
} }
}
{ {
name cycLeftFaceSet; name cycLeftFaceSet;
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set leftFluidCellSet; set leftFluidCellSet;
option all; option all;
} }
}
// Create faceZone from cycLeft // Create faceZone from cycLeft
{ {
name cycLeft; name cycLeft;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet cycLeftFaceSet; faceSet cycLeftFaceSet;
} }
}
// cycRight // cycRight
{ {
@ -123,34 +95,25 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set filterCellSet; set filterCellSet;
option all; option all;
} }
}
{ {
name cycRightFaceSet; name cycRightFaceSet;
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set rightFluidCellSet; set rightFluidCellSet;
option all; option all;
} }
}
// Create faceZone from cycRight // Create faceZone from cycRight
{ {
name cycRight; name cycRight;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet cycRightFaceSet; faceSet cycRightFaceSet;
} }
}
); );

View File

@ -32,41 +32,29 @@ 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,21 +22,15 @@ 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,21 +22,15 @@ 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,41 +22,29 @@ 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,23 +22,17 @@ 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);
} }
}
{ {
name zf; name zf;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set z; set z;
option all; option all;
} }
}
{ {
name z; name z;
@ -51,12 +45,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set z; set z;
option all; option all;
} }
}
// ~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~ //
@ -65,23 +56,17 @@ 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);
} }
}
{ {
name xf; name xf;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set x; set x;
option all; option all;
} }
}
{ {
name x; name x;
@ -94,12 +79,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set x; set x;
option all; option all;
} }
}
// ~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~ //
@ -108,24 +90,18 @@ actions
type cellSet; type cellSet;
action new; action new;
source sphereToCell; source sphereToCell;
sourceInfo
{
origin (-0.3 -0.3 -0.3); origin (-0.3 -0.3 -0.3);
radius 0.4; radius 0.4;
} }
}
{ {
name spf; name spf;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set sp; set sp;
option all; option all;
} }
}
{ {
name sp; name sp;
@ -138,12 +114,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set sp; set sp;
option all; option all;
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -26,23 +26,17 @@ 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);
} }
}
{ {
name zf; name zf;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set z; set z;
option all; option all;
} }
}
{ {
name z; name z;
@ -55,12 +49,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set z; set z;
option all; option all;
} }
}
// ~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~ //
@ -69,23 +60,17 @@ 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);
} }
}
{ {
name yf; name yf;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set y; set y;
option all; option all;
} }
}
{ {
name y; name y;
@ -98,12 +83,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set y; set y;
option all; option all;
} }
}
// ~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~ //
@ -112,23 +94,17 @@ 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);
} }
}
{ {
name xf; name xf;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set x; set x;
option all; option all;
} }
}
{ {
name x; name x;
@ -141,12 +117,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set x; set x;
option all; option all;
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -22,23 +22,17 @@ 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);
} }
}
{ {
name zf; name zf;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set z; set z;
option all; option all;
} }
}
{ {
name z; name z;
@ -51,12 +45,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set z; set z;
option all; option all;
} }
}
// ~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~ //
@ -65,23 +56,17 @@ 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);
} }
}
{ {
name yf; name yf;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set y; set y;
option all; option all;
} }
}
{ {
name y; name y;
@ -94,12 +79,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set y; set y;
option all; option all;
} }
}
// ~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~ //
@ -108,23 +90,17 @@ 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);
} }
}
{ {
name xf; name xf;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set x; set x;
option all; option all;
} }
}
{ {
name x; name x;
@ -137,12 +113,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set x; set x;
option all; option all;
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,21 +23,15 @@ 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,41 +39,29 @@ 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;
} }
}
// cycLeft // cycLeft
@ -88,34 +70,25 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set filterCells; set filterCells;
option all; option all;
} }
}
{ {
name cycLeftFaces; name cycLeftFaces;
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set leftFluidCells; set leftFluidCells;
option all; option all;
} }
}
// Create faceZone from cycLeft // Create faceZone from cycLeft
{ {
name cycLeft; name cycLeft;
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,34 +96,25 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set filterCells; set filterCells;
option all; option all;
} }
}
{ {
name cycRightFaces; name cycRightFaces;
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set rightFluidCells; set rightFluidCells;
option all; option all;
} }
}
// Create faceZone from cycRight // Create faceZone from cycRight
{ {
name cycRight; name cycRight;
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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -22,12 +22,9 @@ actions
type cellSet; type cellSet;
action new; action new;
source fieldToCell; source fieldToCell;
sourceInfo
{
field radiusFieldXY; field radiusFieldXY;
min 0.0; min 0;
max 7.00; max 7.0;
}
} }
); );

View File

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

View File

@ -23,32 +23,23 @@ 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 faceSet A; // name of faceSet
cellSet leftA; // name of cellSet of slave side cellSet leftA; // name of cellSet of slave side
} }
}
// FaceZone B // FaceZone B
@ -57,32 +48,23 @@ 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 faceSet B; // name of faceSet
cellSet leftB; // name of cellSet of slave side cellSet leftB; // name of cellSet of slave side
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -22,58 +22,43 @@ 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)
); );
} }
}
{ {
name corner; name corner;
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);
} }
}
{ {
name inner; name inner;
type cellSet; type cellSet;
action new; action new;
source cellToCell; source cellToCell;
sourceInfo
{
set corner; set corner;
} }
}
{ {
name inner; name inner;
type cellSet; type cellSet;
action subtract; action subtract;
source cellToCell; source cellToCell;
sourceInfo
{
set outer; set outer;
} }
}
{ {
name outer; name outer;
type cellSet; type cellSet;
action subtract; action subtract;
source cellToCell; source cellToCell;
sourceInfo
{
set corner; set corner;
} }
}
{ {
name corner; name corner;
@ -86,21 +71,15 @@ 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,22 +19,16 @@ newFromPatch
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo
{
patch outer; patch outer;
} }
}
subsetNormal subsetNormal
{ {
type faceSet; type faceSet;
action subset; action subset;
source normalToFace; source normalToFace;
sourceInfo
{
cos 0.1; cos 0.1;
} }
}
actions actions
( (
@ -47,11 +41,8 @@ actions
{ {
name outerx; name outerx;
$subsetNormal; $subsetNormal;
sourceInfo
{
normal (-1 0 0); normal (-1 0 0);
} }
}
// outery // outery
{ {
@ -62,11 +53,8 @@ actions
{ {
name outery; name outery;
$subsetNormal; $subsetNormal;
sourceInfo
{
normal (0 -1 0); normal (0 -1 0);
} }
}
// outerz // outerz
{ {
@ -77,11 +65,8 @@ actions
{ {
name outerz; name outerz;
$subsetNormal; $subsetNormal;
sourceInfo
{
normal (0 0 -1); normal (0 0 -1);
} }
}
); );

View File

@ -22,22 +22,16 @@ 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);
} }
}
{ {
name inletZone; name inletZone;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet inlet; faceSet inlet;
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -22,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +25,8 @@ 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,11 +34,8 @@ 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
{ {
@ -49,11 +43,8 @@ actions
type cellSet; type cellSet;
action new; action new;
source zoneToCell; source zoneToCell;
sourceInfo
{
zone bottomBlock; zone bottomBlock;
} }
}
// 2. Get the faces at the top patch // 2. Get the faces at the top patch
@ -64,11 +55,8 @@ 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,12 +64,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set topBlockCells; set topBlockCells;
option all; option all;
} }
}
// Convert top from faceSet to faceZone // Convert top from faceSet to faceZone
{ {
@ -89,12 +74,9 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setAndNormalToFaceZone; source setAndNormalToFaceZone;
sourceInfo
{
faceSet top; faceSet top;
normal (0 -1 0); normal (0 -1 0);
} }
}
// 3. Get the faces on the border of cellZones topBlock and centralBlock // 3. Get the faces on the border of cellZones topBlock and centralBlock
@ -105,12 +87,9 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set topBlockCells; set topBlockCells;
option all; option all;
} }
}
// Get the faces that border topBlock and centralBlock // Get the faces that border topBlock and centralBlock
{ {
@ -118,12 +97,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set centralBlockCells; set centralBlockCells;
option all; option all;
} }
}
// Convert topBlockFaces from faceSet to faceZone // Convert topBlockFaces from faceSet to faceZone
{ {
@ -131,12 +107,9 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setsToFaceZone; source setsToFaceZone;
sourceInfo
{
faceSet centralTopFaces; faceSet centralTopFaces;
cellSet topBlockCells; cellSet topBlockCells;
} }
}
// 4. Get all the faces on the border of cellZones centralBlock and // 4. Get all the faces on the border of cellZones centralBlock and
@ -148,12 +121,9 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set bottomBlockCells; set bottomBlockCells;
option all; option all;
} }
}
// Get the faces that border centralBlock and bottomBlock // Get the faces that border centralBlock and bottomBlock
{ {
@ -161,12 +131,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set centralBlockCells; set centralBlockCells;
option all; option all;
} }
}
// Convert centralBottomFaces from faceSet to faceZone // Convert centralBottomFaces from faceSet to faceZone
{ {
@ -174,12 +141,9 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setsToFaceZone; source setsToFaceZone;
sourceInfo
{
faceSet centralBottomFaces; faceSet centralBottomFaces;
cellSet centralBlockCells; cellSet centralBlockCells;
} }
}
// 5. Get the faces at bottom patch // 5. Get the faces at bottom patch
@ -190,11 +154,8 @@ 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,12 +163,9 @@ actions
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set bottomBlockCells; set bottomBlockCells;
option all; option all;
} }
}
// Convert bottom from faceSet to faceZone // Convert bottom from faceSet to faceZone
{ {
@ -215,12 +173,9 @@ actions
type faceZoneSet; type faceZoneSet;
action new; action new;
source setAndNormalToFaceZone; source setAndNormalToFaceZone;
sourceInfo
{
faceSet bottom; faceSet bottom;
normal (0 1 0); normal (0 1 0);
} }
}
// AJH New - create additional face zones to enable solid body motion // AJH New - create additional face zones to enable solid body motion
@ -233,31 +188,22 @@ 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,11 +211,8 @@ actions
type cellSet; type cellSet;
action subtract; action subtract;
source cellToCell; source cellToCell;
sourceInfo
{
set LARTopCells; set LARTopCells;
} }
}
{ {
name topBlock; name topBlock;
type cellZoneSet; type cellZoneSet;
@ -280,11 +223,8 @@ 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
{ {
@ -292,34 +232,25 @@ actions
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo
{
set LARTopCells; set LARTopCells;
option all; option all;
} }
}
{ {
name LARTopFaces; name LARTopFaces;
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo
{
set topBlockCells; set topBlockCells;
option all; option all;
} }
}
{ {
name LARTopFaces; name LARTopFaces;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setsToFaceZone; source setsToFaceZone;
sourceInfo
{
faceSet LARTopFaces; faceSet LARTopFaces;
cellSet topBlockCells; cellSet topBlockCells;
} }
}
); );

View File

@ -22,11 +22,8 @@ actions
type cellSet; type cellSet;
action new; action new;
source zoneToCell; source zoneToCell;
sourceInfo
{
zone rotor; zone rotor;
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -22,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,8 @@ 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,11 +22,9 @@ 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,34 +22,26 @@ 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);
} }
}
{ {
name cyclicFacesSlaveCells; name cyclicFacesSlaveCells;
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);
} }
}
{ {
name cyclicZoneFaces; name cyclicZoneFaces;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setsToFaceZone; source setsToFaceZone;
sourceInfo
{
faceSet cyclicFacesFaceSet; faceSet cyclicFacesFaceSet;
cellSet cyclicFacesSlaveCells; cellSet cyclicFacesSlaveCells;
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -22,11 +22,8 @@ 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);
} }
}
{ {
name c0; name c0;

View File

@ -32,11 +32,8 @@ 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,11 +22,8 @@ actions
type cellSet; type cellSet;
action new; action new;
source zoneToCell; source zoneToCell;
sourceInfo
{
zone rotor; zone rotor;
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

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

View File

@ -22,22 +22,16 @@ actions
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
sourceInfo
{
patch sides; patch sides;
} }
}
{ {
name collector; name collector;
type faceZoneSet; type faceZoneSet;
action new; action new;
source setToFaceZone; source setToFaceZone;
sourceInfo
{
faceSet f0; faceSet f0;
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -22,13 +22,11 @@ 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,12 +34,10 @@ 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,13 +21,11 @@ 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,11 +32,8 @@ 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,16 +22,13 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo
{
boxes boxes
( (
(.1 -1e10 0.08) (.9 1e10 0.2) (0.1 -1e10 0.08) (0.9 1e10 0.2)
(.75 -1e10 0.2) (.92 1e10 0.9) (0.75 -1e10 0.2) (0.92 1e10 0.9)
(.1 -1e10 0.2) (.25 1e10 0.7) (0.1 -1e10 0.2) (0.25 1e10 0.7)
); );
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -22,14 +22,11 @@ actions
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
sourceInfo
{
boxes boxes
( (
(.4 -1e10 0.09) (.7 1e10 0.15) (0.4 -1e10 0.09) (0.7 1e10 0.15)
); );
} }
}
); );
// ************************************************************************* // // ************************************************************************* //

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