Commit 03cc5bbb authored by Mark Olesen's avatar Mark Olesen
Browse files

TUT: adjust surfaceFeatureExtractDict to remove optional sub-dictionary

- as of v1706
  extractFromSurfaceCoeffs { ... } is an optional subdictionary
parent 6cf0da0f
......@@ -16,11 +16,9 @@ FoamFile
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 150;
geometricTestOnly no;
}
includedAngle 150;
geometricTestOnly no;
subsetFeatures
{
......
......@@ -18,10 +18,7 @@ CAD.obj
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 150;
}
includedAngle 150;
subsetFeatures
{
......
......@@ -18,10 +18,7 @@ CAD.obj
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 150;
}
includedAngle 150;
subsetFeatures
{
......
......@@ -18,10 +18,7 @@ CAD.obj
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 150;
}
includedAngle 150;
subsetFeatures
{
......
......@@ -16,10 +16,8 @@ FoamFile
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 150; // Identifes a feature when angle
} // between faces < includedAngle
includedAngle 150; // Identifes a feature when angle
// between faces < includedAngle
trimFeatures
{
......
......@@ -19,14 +19,11 @@ walls.stl
// How to obtain raw features (extractFromFile || extractFromSurface)
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
}
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
subsetFeatures
{
......@@ -40,8 +37,8 @@ walls.stl
// Write options
// Write features to obj format for postprocessing
writeObj yes;
// Write features to obj format for postprocessing
writeObj yes;
}
......
......@@ -18,17 +18,15 @@ geom.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
}
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
// Write options
writeFeatureEdgeMesh yes;
// Write features to obj format for postprocessing
writeObj yes;
}
......
// How to obtain raw features (extractFromFile || extractFromSurface)
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
}
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
trimFeatures
{
......
......@@ -18,16 +18,13 @@ boundaryAndFaceZones.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
baffles (porosityFaces);
// Write options
writeObj no; //yes;
writeObj no; //yes;
}
......
......@@ -19,14 +19,11 @@ motorBike.obj
// How to obtain raw features (extractFromFile || extractFromSurface)
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
}
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
subsetFeatures
{
......@@ -40,8 +37,8 @@ motorBike.obj
// Write options
// Write features to obj format for postprocessing
writeObj yes;
// Write features to obj format for postprocessing
writeObj yes;
}
......
......@@ -18,10 +18,7 @@ shaftRotating.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 100;
}
includedAngle 100;
subsetFeatures
{
......@@ -30,19 +27,15 @@ shaftRotating.stl
}
// Write options
writeObj yes;
writeObj yes;
}
vessel.stl
{
extractionMethod extractFromSurface;
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
subsetFeatures
{
......@@ -55,8 +48,7 @@ vessel.stl
}
// Write options
writeObj no;
writeObj no;
}
......@@ -64,14 +56,10 @@ spargerInlet.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
// Write options
writeObj no;
writeObj no;
}
......@@ -79,14 +67,10 @@ stirrer.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
// Write options
writeObj no;
writeObj no;
}
......@@ -94,16 +78,12 @@ stirrer_baffles.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
baffles (stirrer);
// Write options
writeObj no;
writeObj no;
}
......@@ -111,16 +91,12 @@ rotating.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
baffles (MRF);
// Write options
writeObj yes;
writeObj yes;
}
......@@ -128,16 +104,12 @@ baffles.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
baffles (baffles);
// Write options
writeObj no;
writeObj no;
}
......
......@@ -14,18 +14,17 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// includedAngle:
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
opencfd_text.stl
{
extractionMethod extractFromSurface;
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 120;
}
includedAngle 120;
subsetFeatures
{
......@@ -44,23 +43,16 @@ opencfd_text.stl
// Write options
// Write features to obj format for postprocessing
writeObj no;
// Write features to obj format for postprocessing
writeObj no;
}
opencfd_box.stl
{
extractionMethod extractFromSurface;
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 120;
}
includedAngle 120;
subsetFeatures
{
......@@ -79,8 +71,8 @@ opencfd_box.stl
// Write options
// Write features to obj format for postprocessing
writeObj no;
// Write features to obj format for postprocessing
writeObj no;
}
......
......@@ -18,14 +18,11 @@ jaggedBoundary.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 175;
}
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 175;
subsetFeatures
{
......@@ -44,8 +41,8 @@ jaggedBoundary.stl
// Write options
// Write features to obj format for postprocessing
writeObj no;
// Write features to obj format for postprocessing
writeObj no;
}
......
......@@ -18,14 +18,11 @@ unit_cube.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 175;
}
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 175;
subsetFeatures
{
......@@ -44,8 +41,8 @@ unit_cube.stl
// Write options
// Write features to obj format for postprocessing
writeObj yes;
// Write features to obj format for postprocessing
writeObj yes;
}
......
......@@ -19,19 +19,16 @@ flange.stl
// How to obtain raw features (extractFromFile || extractFromSurface)
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
}
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
// Write options
// Write features to obj format for postprocessing
writeObj yes;
// Write features to obj format for postprocessing
writeObj yes;
}
......
......@@ -19,14 +19,11 @@ DTC-scaled.stl
// How to obtain raw features (extractFromFile || extractFromSurface)
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
}
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
subsetFeatures
{
......@@ -40,8 +37,8 @@ DTC-scaled.stl
// Write options
// Write features to obj format for postprocessing
writeObj yes;
// Write features to obj format for postprocessing
writeObj yes;
}
......
......@@ -14,24 +14,23 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// includedAngle:
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
vessel.stl
{
// How to obtain raw features (extractFromFile || extractFromSurface)
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 120;
}
includedAngle 120;
// Write options
// Write features to obj format for postprocessing
writeObj no;
// Write features to obj format for postprocessing
writeObj no;
}
gasInlet.stl
......@@ -39,36 +38,27 @@ gasInlet.stl
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
writeObj no;
writeObj no;
}
stirrer.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
writeObj no;
writeObj no;
}
outlet.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
writeObj no;
writeObj no;
}
/*
......@@ -76,36 +66,27 @@ baffles.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
writeObj no;
writeObj no;
}
rotating.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}