Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
OpenFOAM-plus
Commits
03cc5bbb
Commit
03cc5bbb
authored
Jul 07, 2017
by
Mark OLESEN
Browse files
TUT: adjust surfaceFeatureExtractDict to remove optional sub-dictionary
- as of v1706 extractFromSurfaceCoeffs { ... } is an optional subdictionary
parent
6cf0da0f
Changes
22
Hide whitespace changes
Inline
Side-by-side
etc/caseDicts/surface/surfaceFeatureExtractDict.cfg
View file @
03cc5bbb
...
...
@@ -16,11 +16,9 @@ FoamFile
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 150;
geometricTestOnly no;
}
includedAngle 150;
geometricTestOnly no;
subsetFeatures
{
...
...
etc/templates/closedVolume/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -18,10 +18,7 @@ CAD.obj
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 150;
}
includedAngle 150;
subsetFeatures
{
...
...
etc/templates/compressibleInflowOutflow/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -18,10 +18,7 @@ CAD.obj
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 150;
}
includedAngle 150;
subsetFeatures
{
...
...
etc/templates/inflowOutflow/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -18,10 +18,7 @@ CAD.obj
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 150;
}
includedAngle 150;
subsetFeatures
{
...
...
tutorials/compressible/rhoPimpleDyMFoam/annularThermalMixer/system/surfaceFeatureExtractDictDefaults
View file @
03cc5bbb
...
...
@@ -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
{
...
...
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -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;
}
...
...
tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -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;
}
...
...
tutorials/incompressible/pimpleDyMFoam/propeller/system/surfaceFeatureExtractDictDefaults
View file @
03cc5bbb
// 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
{
...
...
tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -18,16 +18,13 @@ boundaryAndFaceZones.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
baffles (porosityFaces);
// Write options
writeObj no; //yes;
writeObj
no; //yes;
}
...
...
tutorials/incompressible/simpleFoam/motorBike/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -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;
}
...
...
tutorials/mesh/foamyHexMesh/mixerVessel/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -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;
}
...
...
tutorials/mesh/foamyQuadMesh/OpenCFD/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -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;
}
...
...
tutorials/mesh/foamyQuadMesh/jaggedBoundary/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -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;
}
...
...
tutorials/mesh/foamyQuadMesh/square/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -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;
}
...
...
tutorials/mesh/snappyHexMesh/flange/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -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;
}
...
...
tutorials/multiphase/interDyMFoam/RAS/DTCHull/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -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;
}
...
...
tutorials/multiphase/interDyMFoam/RAS/mixerVesselAMI/system/surfaceFeatureExtractDict
View file @
03cc5bbb
...
...
@@ -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;
}