Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Geometry User Objects for blocks #24645

Closed
dschwen opened this issue Jun 9, 2023 · 2 comments · Fixed by #24646
Closed

Enable Geometry User Objects for blocks #24645

dschwen opened this issue Jun 9, 2023 · 2 comments · Fixed by #24646
Assignees
Labels
T: task An enhancement to the software.

Comments

@dschwen
Copy link
Member

dschwen commented Jun 9, 2023

Reason

When refining lower dimensional subdomains, such as secondary surface meshes for mortar contact, it would be convenient to apply a Geometry User Object to the lower D block rather than a sideset.

Geometry User Objects will "snap" a selected set of nodes to a user defined geometry. For example GeometrySphere can be used to place new nodes added by mesh refinement to the surface of a perfect sphere/circle.

Design

In GeometryBase::meshChanged() we need to iterate over selected subdomain nodes in addition to boundary nodes.

Impact

Added capability

@dschwen dschwen added the T: task An enhancement to the software. label Jun 9, 2023
@dschwen dschwen self-assigned this Jun 9, 2023
@dschwen
Copy link
Member Author

dschwen commented Jun 9, 2023

Actually lower-D subdomains are automatically refined and snapped along with their corresponding sidesets...

@GiudGiud
Copy link
Contributor

It would be good to generalize this:

  • have some Geometry block that represents exact geometries or CAD ones
  • have that same ability of snapping for any of these, detecting the nearest exact surface maybe

dschwen added a commit to dschwen/moose that referenced this issue Jun 12, 2023
dschwen added a commit to dschwen/moose that referenced this issue Jun 15, 2023
dschwen added a commit to dschwen/moose that referenced this issue Jun 15, 2023
dschwen added a commit to dschwen/moose that referenced this issue Jun 19, 2023
dschwen added a commit to dschwen/moose that referenced this issue Jun 19, 2023
dschwen added a commit to dschwen/moose that referenced this issue Jun 20, 2023
dschwen added a commit to dschwen/moose that referenced this issue Jun 20, 2023
dschwen added a commit to dschwen/moose that referenced this issue Jun 20, 2023
dschwen added a commit to dschwen/moose that referenced this issue Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: task An enhancement to the software.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants