topoSetDict: Corrected/updated formatting

Patch contributed by Institute of Fluid Dynamics, Helmholtz-Zentrum
Dresden - Rossendorf (HZDR)
This commit is contained in:
Henry Weller
2022-03-14 13:49:07 +00:00
parent dfc28bb580
commit bbaba1a645
33 changed files with 128 additions and 155 deletions

View File

@ -24,7 +24,7 @@ actions
type cellSet;
name c0;
source labelToCell;
value (12 13 56);
value (12 13 56);
}
// Get all faces in cellSet
@ -43,7 +43,7 @@ actions
type cellSet;
name c1;
source cellToCell;
set c0;
set c0;
}
{
name c1;
@ -68,7 +68,7 @@ actions
type cellZoneSet;
name c0;
source boxToCell;
box (0.04 0 0)(0.06 100 100);
box (0.04 0 0)(0.06 100 100);
}
);

View File

@ -20,7 +20,7 @@ actions
type cellSet;
name c0;
source boxToCell;
box (-1 -1 -1) (1 1 1); // Edit box bounds as required
box (-1 -1 -1) (1 1 1); // Edit box bounds as required
}
);

View File

@ -21,10 +21,7 @@ actions
type cellSet;
action new;
source boxToCell;
boxes
(
(0 0.04 0) (0.1 0.05 0.1)
);
box (0 0.04 0) (0.1 0.05 0.1);
}
{
@ -32,7 +29,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
set injection;
set injection;
}
);

View File

@ -21,7 +21,7 @@ actions
type faceSet;
action new;
source boxToFace;
box (1 1 0.99) (2 2 1);
box (1 1 0.99) (2 2 1);
}
{
@ -29,7 +29,7 @@ actions
type cellSet;
action new;
source boxToCell;
box (2.4 2.4 0) (3 3 1);
box (2.4 2.4 0) (3 3 1);
}
{
@ -37,7 +37,7 @@ actions
type cellSet;
action add;
source boxToCell;
box (0 0 0) (0.6 0.6 1);
box (0 0 0) (0.6 0.6 1);
}
{
@ -54,7 +54,7 @@ actions
type faceSet;
action new;
source boxToFace;
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

@ -31,28 +31,28 @@ actions
type cellSet;
action delete;
source boxToCell;
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;
type cellSet;
action delete;
source boxToCell;
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;
type cellSet;
action delete;
source boxToCell;
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;
type cellSet;
action delete;
source boxToCell;
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

@ -21,7 +21,7 @@ actions
type faceSet;
action new;
source boxToFace;
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

@ -21,7 +21,7 @@ actions
type faceSet;
action new;
source boxToFace;
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

@ -22,14 +22,14 @@ actions
type cellSet;
action new;
source boxToCell;
box (1.5 -10 -10) (2 10 10);
box (1.5 -10 -10) (2 10 10);
}
{
name filter;
type cellZoneSet;
action new;
source setToCellZone;
set filterCellSet;
set filterCellSet;
}
@ -38,28 +38,28 @@ actions
type cellSet;
action new;
source boxToCell;
box (-10 -10 -10) (1.5 10 10);
box (-10 -10 -10) (1.5 10 10);
}
{
name leftFluid;
type cellZoneSet;
action new;
source setToCellZone;
set leftFluidCellSet;
set leftFluidCellSet;
}
{
name rightFluidCellSet;
type cellSet;
action new;
source boxToCell;
box (2 -1 -1) (10 10 10);
box (2 -1 -1) (10 10 10);
}
{
name rightFluid;
type cellZoneSet;
action new;
source setToCellZone;
set rightFluidCellSet;
set rightFluidCellSet;
}

View File

@ -17,13 +17,13 @@ FoamFile
actions
(
{
name ignitionCells;
type cellSet;
action new;
name ignitionCells;
type cellSet;
action new;
source sphereToCell;
centre (0.125 0.375 0.05);
radius 0.005;
source sphereToCell;
centre (0.125 0.375 0.05);
radius 0.005;
}
);

View File

@ -20,14 +20,14 @@ actions
type faceSet;
action new;
source boxToFace;
box (-0.001 0.25 1.1)(0.001 0.75 1.3);
box (-0.001 0.25 1.1)(0.001 0.75 1.3);
}
{
name outlet;
type faceSet;
action new;
source boxToFace;
box (1.75 2.999 0.3)(2.25 3.001 0.5);
box (1.75 2.999 0.3)(2.25 3.001 0.5);
}
);

View File

@ -23,17 +23,17 @@ actions
type cellSet;
action new;
source cylinderToCell;
point1 (0 0 -100);
point2 (0 0 100);
centre (0 0 0);
radius $cylinderRadius;
point1 (0 0 -100);
point2 (0 0 100);
centre (0 0 0);
radius $cylinderRadius;
}
{
name solid;
type cellZoneSet;
action new;
source setToCellZone;
set cs;
set cs;
}
);

View File

@ -23,15 +23,15 @@ actions
type cellSet;
action new;
source sphereToCell;
centre (0 0 0);
radius $!geometry/sphere/radius;
centre (0 0 0);
radius $!geometry/sphere/radius;
}
{
name solid;
type cellZoneSet;
action new;
source setToCellZone;
set cs;
set cs;
}
);

View File

@ -20,7 +20,7 @@ actions
type cellSet;
action new;
source boxToCell;
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

@ -21,7 +21,7 @@ actions
type faceSet;
action new;
source boxToFace;
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);
}
{
@ -29,7 +29,7 @@ actions
type cellSet;
action new;
source boxToCell;
box (-10 -10 -10)(0.1 10 10);
box (-10 -10 -10)(0.1 10 10);
}
{
@ -46,7 +46,7 @@ actions
type faceSet;
action new;
source boxToFace;
box (0.099 -10 -10)(0.101 10 10);
box (0.099 -10 -10)(0.101 10 10);
}
{
@ -54,7 +54,7 @@ actions
type faceSet;
action delete;
source boxToFace;
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);
}
{

View File

@ -21,7 +21,7 @@ actions
type faceSet;
action new;
source boxToFace;
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

@ -22,7 +22,7 @@ actions
type cellSet;
action new;
source boxToCell;
box (-0.5 -0.5 -1) (0.5 0.5 1);
box (-0.5 -0.5 -1) (0.5 0.5 1);
}
// Convert porousBlockage cellSet into a cellZone
@ -31,7 +31,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
set porousBlockageCellSet;
set porousBlockageCellSet;
}
);

View File

@ -28,7 +28,7 @@ actions
type faceSet;
action subset;
source boxToFace;
box (0 -100 -100)(100 -0.2 100);
box (0 -100 -100)(100 -0.2 100);
}
{
name c0;

View File

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

View File

@ -21,7 +21,7 @@ actions
type cellSet;
action new;
source boxToCell;
box (-100 -100 -0.2)(100 100 100);
box (-100 -100 -0.2)(100 100 100);
}
{
@ -55,7 +55,7 @@ actions
type cellSet;
action new;
source boxToCell;
box (-0.32 -100 -100)(100 100 100);
box (-0.32 -100 -100)(100 100 100);
}
{
@ -63,8 +63,8 @@ actions
type faceSet;
action new;
source cellToFace;
set x;
option all;
set x;
option all;
}
{
@ -78,8 +78,8 @@ actions
type faceSet;
action subset;
source cellToFace;
set x;
option all;
set x;
option all;
}
// ~~~~~~~~~~~~~~~~ //
@ -89,8 +89,8 @@ actions
type cellSet;
action new;
source sphereToCell;
centre (-0.3 -0.3 -0.3);
radius 0.4;
centre (-0.3 -0.3 -0.3);
radius 0.4;
}
{
@ -98,8 +98,8 @@ actions
type faceSet;
action new;
source cellToFace;
set sp;
option all;
set sp;
option all;
}
{
@ -113,8 +113,8 @@ actions
type faceSet;
action subset;
source cellToFace;
set sp;
option all;
set sp;
option all;
}
);

View File

@ -21,7 +21,7 @@ actions
type cellSet;
action new;
source boxToCell;
box (-100 -100 0)(100 100 100);
box (-100 -100 0)(100 100 100);
}
{
@ -29,8 +29,8 @@ actions
type faceSet;
action new;
source cellToFace;
set z;
option all;
set z;
option all;
}
{
@ -44,8 +44,8 @@ actions
type faceSet;
action subset;
source cellToFace;
set z;
option all;
set z;
option all;
}
// ~~~~~~~~~~~~~~~~ //
@ -55,7 +55,7 @@ actions
type cellSet;
action new;
source boxToCell;
box (-100 0.1 -100)(100 100 100);
box (-100 0.1 -100)(100 100 100);
}
{
@ -78,8 +78,8 @@ actions
type faceSet;
action subset;
source cellToFace;
set y;
option all;
set y;
option all;
}
// ~~~~~~~~~~~~~~~~ //
@ -89,7 +89,7 @@ actions
type cellSet;
action new;
source boxToCell;
box (0.3 -100 -100)(100 100 100);
box (0.3 -100 -100)(100 100 100);
}
{
@ -97,8 +97,8 @@ actions
type faceSet;
action new;
source cellToFace;
set x;
option all;
set x;
option all;
}
{
@ -112,8 +112,8 @@ actions
type faceSet;
action subset;
source cellToFace;
set x;
option all;
set x;
option all;
}
);

View File

@ -21,42 +21,42 @@ actions
type cellSet;
action new;
source boxToCell;
box (-10 -6 -3) (10 0 3);
box (-10 -6 -3) (10 0 3);
}
{
name c2;
type cellSet;
action new;
source boxToCell;
box (-5 -3 -2.5) (9 0 2);
box (-5 -3 -2.5) (9 0 2);
}
{
name c3;
type cellSet;
action new;
source boxToCell;
box (-3 -1.5 -1) (8 0 1.5);
box (-3 -1.5 -1) (8 0 1.5);
}
{
name c4;
type cellSet;
action new;
source boxToCell;
box (-2 -1 -0.6) (7 0 1);
box (-2 -1 -0.6) (7 0 1);
}
{
name c5;
type cellSet;
action new;
source boxToCell;
box (-1 -0.6 -0.3) (6.5 0 0.8);
box (-1 -0.6 -0.3) (6.5 0 0.8);
}
{
name c6;
type cellSet;
action new;
source boxToCell;
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

@ -21,42 +21,42 @@ actions
type cellSet;
action new;
source boxToCell;
box (-10 -6 -3) (10 0 3);
box (-10 -6 -3) (10 0 3);
}
{
name c2;
type cellSet;
action new;
source boxToCell;
box (-5 -3 -2.5) (9 0 2);
box (-5 -3 -2.5) (9 0 2);
}
{
name c3;
type cellSet;
action new;
source boxToCell;
box (-3 -1.5 -1) (8 0 1.5);
box (-3 -1.5 -1) (8 0 1.5);
}
{
name c4;
type cellSet;
action new;
source boxToCell;
box (-2 -1 -0.6) (7 0 1);
box (-2 -1 -0.6) (7 0 1);
}
{
name c5;
type cellSet;
action new;
source boxToCell;
box (-1 -0.6 -0.3) (6.5 0 0.8);
box (-1 -0.6 -0.3) (6.5 0 0.8);
}
{
name c6;
type cellSet;
action new;
source boxToCell;
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

@ -21,42 +21,42 @@ actions
type cellSet;
action new;
source boxToCell;
box (-10 -6 -3) (10 0 3);
box (-10 -6 -3) (10 0 3);
}
{
name c2;
type cellSet;
action new;
source boxToCell;
box (-5 -3 -2.5) (10 0 2);
box (-5 -3 -2.5) (10 0 2);
}
{
name c3;
type cellSet;
action new;
source boxToCell;
box (-3 -1.5 -1) (10 0 1.5);
box (-3 -1.5 -1) (10 0 1.5);
}
{
name c4;
type cellSet;
action new;
source boxToCell;
box (-2 -1 -0.6) (10 0 1);
box (-2 -1 -0.6) (10 0 1);
}
{
name c5;
type cellSet;
action new;
source boxToCell;
box (-1 -0.6 -0.3) (10 0 0.8);
box (-1 -0.6 -0.3) (10 0 0.8);
}
{
name c6;
type cellSet;
action new;
source boxToCell;
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

@ -21,7 +21,7 @@ actions
type faceSet;
action new;
source boxToFace;
box (0.3015 0.0493 -1) (0.3069 0.2077 1);
box (0.3015 0.0493 -1) (0.3069 0.2077 1);
}
{
@ -29,7 +29,7 @@ actions
type cellSet;
action new;
source boxToCell;
box (-1 0 -1) (0.305 0.31 1);
box (-1 0 -1) (0.305 0.31 1);
}
{

View File

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

View File

@ -31,7 +31,7 @@ actions
type cellSet;
action delete;
source boxToCell;
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

@ -20,10 +20,7 @@ actions
type cellSet;
action new;
source boxToCell;
boxes
(
(0 -1 0.0) (0.005 1 0.01)
);
box (0 -1 0.0) (0.005 1 0.01);
}
{
@ -31,7 +28,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
set injection;
set injection;
}
{
@ -39,10 +36,7 @@ actions
type cellSet;
action new;
source boxToCell;
boxes
(
(0 -1 0.89) (0.025 1 0.9)
);
box (0 -1 0.89) (0.025 1 0.9);
}
{
@ -50,7 +44,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
set outlet;
set outlet;
}
);

View File

@ -20,10 +20,7 @@ actions
type cellSet;
action new;
source boxToCell;
boxes
(
(3.48 -0.1 -0.1) (3.5 0.1 0.1)
);
box (3.48 -0.1 -0.1) (3.5 0.1 0.1);
}
{
@ -31,7 +28,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
set x349;
set x349;
}
{
@ -39,10 +36,7 @@ actions
type cellSet;
action new;
source boxToCell;
boxes
(
(3.48 0.0093 -0.1) (3.5 0.1 0.1)
);
box (3.48 0.0093 -0.1) (3.5 0.1 0.1);
}
{
@ -50,7 +44,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
set x349_wall;
set x349_wall;
}
{
@ -58,10 +52,7 @@ actions
type cellSet;
action new;
source boxToCell;
boxes
(
(3.48 0.0 -0.1) (3.5 0.005 0.1)
);
box (3.48 0.0 -0.1) (3.5 0.005 0.1);
}
{
@ -69,7 +60,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
set x349_bulk;
set x349_bulk;
}
);

View File

@ -20,10 +20,7 @@ actions
type cellSet;
action new;
source boxToCell;
boxes
(
(3.48 -0.1 -0.1) (3.5 0.1 0.1)
);
box (3.48 -0.1 -0.1) (3.5 0.1 0.1);
}
{
@ -31,7 +28,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
set x349;
set x349;
}
{
@ -39,10 +36,7 @@ actions
type cellSet;
action new;
source boxToCell;
boxes
(
(3.48 0.0093 -0.1) (3.5 0.1 0.1)
);
box (3.48 0.0093 -0.1) (3.5 0.1 0.1);
}
{
@ -50,7 +44,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
set x349_wall;
set x349_wall;
}
{
@ -58,10 +52,7 @@ actions
type cellSet;
action new;
source boxToCell;
boxes
(
(3.48 0.0 -0.1) (3.5 0.005 0.1)
);
box (3.48 0.0 -0.1) (3.5 0.005 0.1);
}
{
@ -69,7 +60,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
set x349_bulk;
set x349_bulk;
}
);

View File

@ -20,9 +20,9 @@ actions
type cellSet;
action new;
source cylinderToCell;
point1 (0.435 0 0);
point2 (0.44 0 0);
radius 0.015875;
point1 (0.435 0 0);
point2 (0.44 0 0);
radius 0.015875;
}
{
@ -30,7 +30,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
set outlet;
set outlet;
}
);

View File

@ -20,9 +20,9 @@ actions
type cellSet;
action new;
source cylinderToCell;
point1 (0.435 0 0);
point2 (0.44 0 0);
radius 0.015875;
point1 (0.435 0 0);
point2 (0.44 0 0);
radius 0.015875;
}
{
@ -30,7 +30,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
set outlet;
set outlet;
}
);

View File

@ -21,7 +21,7 @@ actions
type cellSet;
action new;
source boxToCell;
box (0.1 0.8 -100) (0.4 100 100);
box (0.1 0.8 -100) (0.4 100 100);
}
{
@ -43,7 +43,7 @@ actions
type faceSet;
action subset;
source boxToFace;
box (-100 0.9 -100) (0.2 100 100);
box (-100 0.9 -100) (0.2 100 100);
}
{
@ -51,7 +51,7 @@ actions
type faceZoneSet;
action new;
source setToFaceZone;
faceSet f0FaceSet;
faceSet f0FaceSet;
}
);

View File

@ -21,7 +21,7 @@ actions
type cellSet;
action new;
source boxToCell;
box (0.1 0.8 -100) (0.4 100 100);
box (0.1 0.8 -100) (0.4 100 100);
}
{
@ -43,7 +43,7 @@ actions
type faceSet;
action subset;
source boxToFace;
box (-100 0.9 -100) (0.2 100 100);
box (-100 0.9 -100) (0.2 100 100);
}
{
@ -51,7 +51,7 @@ actions
type faceZoneSet;
action new;
source setToFaceZone;
faceSet f0FaceSet;
faceSet f0FaceSet;
}
);