-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
C: MeshingMeshGenerator system, mesh loadingMeshGenerator system, mesh loadingT: taskAn enhancement to the software.An enhancement to the software.
Description
Motivation
Sometimes you might only know which blocks you want to keep, or that list might be shorter than the blocks you need to remove from a given mesh. This can be done by a combination with ParsedSubdomainMeshGenerator, but the process could be simplified entirely within BlockDeletionGenerator.
Design
As suggested by @YaqiWang, follow the example in BoundaryDeletionGenerator for consistency:
MooseEnum opt("keep remove", "remove");
params.addParam<MooseEnum>("operation", opt, "Whether to remove or keep the listed boundaries");
Add a keep_blocks = true flag to BlockDeletionGenerator so that the user-defined blocks parameter can specify the blocks you want to keep and delete everything else from input.
Impact
New feature, added convenience.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C: MeshingMeshGenerator system, mesh loadingMeshGenerator system, mesh loadingT: taskAn enhancement to the software.An enhancement to the software.