ENH: surfaceFeatureExtract: do simple non-manifold. Fixes #3267

This commit is contained in:
mattijs
2024-11-21 13:36:46 +00:00
parent 19601c0976
commit 96ccae977e
4 changed files with 295 additions and 5 deletions

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2016 OpenFOAM Foundation
Copyright (C) 2015-2022 OpenCFD Ltd.
Copyright (C) 2015-2024 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -476,6 +476,15 @@ int main(int argc, char *argv[])
);
}
if (!subsetDict.getOrDefault("strictNonManifoldEdges", true))
{
Info<< "Removing all non-manifold edges"
<< " (edges with > 2 connected faces)"
<< endl;
features().excludeNonManifold(edgeStat);
}
// Suboption: "openEdges" (false: remove open edges)
if (!subsetDict.getOrDefault("openEdges", true))
{