blockMesh: added experimental fast-merge algorithm
The standard merge-algorithm is N^2 over the face-points and uses a geometric proximity test for the merge. These are both choices for implementation simplicity and are rather inefficient for large meshes. I have now implemented an experimental linear topological merge algorithm which is VERY fast and effective for meshes of any size. Currently it will merge internal faces on meshes of arbitrary complexity but does not yet handle edge or face collapse needed for wedges and other degenerate blocks. The new fast-merge algorithm may be selected using the optional "fastMerge" entry: fastMerge yes; and if not present the standard N^2 algorithm will be used. Henry G. Weller CFD Direct
Showing
- src/mesh/blockMesh/Make/files 1 addition, 0 deletionssrc/mesh/blockMesh/Make/files
- src/mesh/blockMesh/block/block.C 1 addition, 1 deletionsrc/mesh/blockMesh/block/block.C
- src/mesh/blockMesh/block/block.H 7 additions, 6 deletionssrc/mesh/blockMesh/block/block.H
- src/mesh/blockMesh/block/blockCreate.C 1 addition, 12 deletionssrc/mesh/blockMesh/block/blockCreate.C
- src/mesh/blockMesh/block/blockI.H 47 additions, 0 deletionssrc/mesh/blockMesh/block/blockI.H
- src/mesh/blockMesh/blockDescriptor/blockDescriptor.H 6 additions, 0 deletionssrc/mesh/blockMesh/blockDescriptor/blockDescriptor.H
- src/mesh/blockMesh/blockDescriptor/blockDescriptorEdges.C 1 addition, 1 deletionsrc/mesh/blockMesh/blockDescriptor/blockDescriptorEdges.C
- src/mesh/blockMesh/blockMesh/blockMesh.C 17 additions, 2 deletionssrc/mesh/blockMesh/blockMesh/blockMesh.C
- src/mesh/blockMesh/blockMesh/blockMesh.H 16 additions, 6 deletionssrc/mesh/blockMesh/blockMesh/blockMesh.H
- src/mesh/blockMesh/blockMesh/blockMeshMerge.C 1 addition, 1 deletionsrc/mesh/blockMesh/blockMesh/blockMeshMerge.C
- src/mesh/blockMesh/blockMesh/blockMeshMergeFast.C 590 additions, 0 deletionssrc/mesh/blockMesh/blockMesh/blockMeshMergeFast.C
Please register or sign in to comment