Collapse short edges and combines edges that are in line. More...
Collapse short edges and combines edges that are in line.
- collapse short edges. Length of edges to collapse provided as argument.
Cannot remove cells. Can remove faces and points but does not check for nonsense resulting topology.
When collapsing an edge with one point on the boundary it will leave the boundary point intact. When both points inside it chooses random. When both points on boundary random again. Note: it should in fact use features where if one point is on a feature it collapses to that one. Alas we don't have features on a polyMesh.
\<edge | length [m]> |
\<merge | angle [degrees]> |
-overwrite | Overwrite existing data. |
-case | <dir> Case directory. |
-help | Display help message. |
-doc | Display Doxygen API documentation page for this application. |
-srcDoc | Display Doxygen source documentation page for this application. |
Definition in file collapseEdges.C.
#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.H"
#include "src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H"
#include "src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.H"
#include "src/OpenFOAM/meshes/polyMesh/polyMesh.H"
#include "src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapPolyMesh.H"
#include "src/OpenFOAM/primitives/mathematicalConstants/mathematicalConstants.H"
#include "src/OpenFOAM/primitives/Lists/PackedBoolList.H"
#include "src/OpenFOAM/containers/Lists/SortableList/SortableList.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/createPolyMesh.H"
Go to the source code of this file.