ENH: new cuttingPlane cutting scheme
- takes a direct approach of determining which cells are cut and walks the cell faces directly to build the resulting surface. - better handling of corner cases. * Avoids redundant points when the cut passes exactly through a mesh point. * Supresses generation of duplicates faces when the plane cut coincides exactly with a mesh face. - for severely concave cells where the plane cuts a face multiple times there is currently no remedial action taken, except to note the failure and unwind the insertion of the corresponding points and faces.
Showing
- src/sampling/surface/cuttingPlane/cuttingPlane.C 299 additions, 167 deletionssrc/sampling/surface/cuttingPlane/cuttingPlane.C
- src/sampling/surface/cuttingPlane/cuttingPlane.H 4 additions, 23 deletionssrc/sampling/surface/cuttingPlane/cuttingPlane.H
- tutorials/compressible/rhoSimpleFoam/squareBend/system/samplingDebug 31 additions, 0 deletions...ompressible/rhoSimpleFoam/squareBend/system/samplingDebug
Please register or sign in to comment