ENH: add boundaryToCell, patchToCell topoSetCellSources (#1060)

- can be used, for example, to visualize all wall cells - for quality
  or other purposes - without requiring an intermediate faceSet for
  the selection. Request arising from pending merge !213.
This commit is contained in:
Mark Olesen
2018-11-24 13:52:43 +01:00
parent ff18ab58c2
commit a139543e9c
6 changed files with 554 additions and 4 deletions

View File

@ -81,6 +81,14 @@ FoamFile
// //option all; // cell with all faces in faceSet
// }
//
// // All cells on boundaries
// source boundaryToCell;
//
// // Select cells associated with patch
// source patchToCell;
// patches ("patch.*")
// patch somePatch;
//
// // Select based on pointSet
// source pointToCell;
// sourceInfo
@ -144,7 +152,7 @@ FoamFile
// source surfaceToCell;
// sourceInfo
// {
// file "www.avl.com-geometry.stl";
// file "geometry.stl";
// useSurfaceOrientation false; // use closed surface inside/outside
// // test (ignores includeCut,
// // outsidePoints)
@ -235,9 +243,6 @@ FoamFile
//
// // All boundary faces
// source boundaryToFace;
// sourceInfo
// {
// }
//
// // All faces of faceZone
// source zoneToFace;