mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: adjust surfaceFeatureExtractDict to remove optional sub-dictionary
- as of v1706
extractFromSurfaceCoeffs { ... } is an optional subdictionary
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user