location param in SideSetsFromBoundingBoxGenerator doesn't work as described in documentation #16813
Labels
C: Framework
P: normal
A defect affecting operation with a low possibility of significantly affects.
T: defect
An anomaly, which is anything that deviates from expectations.
Bug Description
The
location
parameter only seems to be applied and used for option 2 (boundary_id_overlap = True
) on theSideSetsFromBoundingBoxGenerator
documentation: https://mooseframework.inl.gov/source/meshgenerators/SideSetsFromBoundingBoxGenerator.html.However, the first option states that setting
location = OUTSIDE
when providing a bounding box,new_boundary_id
andold_boundary_id
should put all nodes inold_boundary_id
outside of the bounding box would be applied to thenew_boundary_id
. This is not how it works. Ifboundary_id_overlap = False
(the default) it will never use thelocation
parameter. The source code branch for this case even has a comment:// check if active elements are found in the bounding box
and an error if no elements are found INSIDE the bounding box:
If this is in the intended behavior then the documentation should reflect. If I specify
location = OUTSIDE
I get the exact same behavior aslocation = INSIDE
.Steps to Reproduce
Add
location = OUTSIDE
toin the
generate_sidesets_bounding_box.i
input file in test/tests/meshgenerators and run with the input with --mesh-only and you will get the exact same sidesets as withlocation = INSIDE
(the default)Impact
This is causing me problems because based on the documentation I expected this to work for a case I'm trying to create and I keep getting this unexpected behavior.
The text was updated successfully, but these errors were encountered: