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

Water tight sideset check #28816

Merged
merged 6 commits into from
Oct 12, 2024

Conversation

DanielYankura
Copy link
Contributor

refs #25278

Reason

This makes it easier for users to find issues with their meshes.

Design

In the mesh block of an input file users can add check_for_watertight_sidesets = '...'. This check loops through all elements, finds the external faces/edges, and then checks if each one is part of a sideset. If not it prints our which elements have faces/edges missing sidesets. This only works for 2D and 3D meshes right now. For 2D it checks all external edges, and for 3D is checks all external faces.

Impact

Adds a watertight sideset check to Mesh Diagnostics

DanielYankura added 3 commits October 9, 2024 14:03
-Loops through each element, then each face
-If face is external it needs to check if it has a sideset associate with it
-If not it needs to return an accurate warning

refs idaholab#25278
-Works for 2D and 3D meshes
-Loops through all elements and checks each face/edge (3D/2D)
-If face/edge is external it checks if it belongs to a sideset
-If not it prints out info about the element it belongs to
-At the end it prints out how many faces/edges are missing sidesets

refs idaholab#25278
Copy link
Contributor

@GiudGiud GiudGiud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

framework/src/meshgenerators/MeshDiagnosticsGenerator.C Outdated Show resolved Hide resolved
framework/src/meshgenerators/MeshDiagnosticsGenerator.C Outdated Show resolved Hide resolved
framework/src/meshgenerators/MeshDiagnosticsGenerator.C Outdated Show resolved Hide resolved
framework/src/meshgenerators/MeshDiagnosticsGenerator.C Outdated Show resolved Hide resolved
framework/src/meshgenerators/MeshDiagnosticsGenerator.C Outdated Show resolved Hide resolved
framework/src/meshgenerators/MeshDiagnosticsGenerator.C Outdated Show resolved Hide resolved
framework/src/meshgenerators/MeshDiagnosticsGenerator.C Outdated Show resolved Hide resolved
-Made comments more accurate
-Changed for-loop for sides to be more readable
Copy link
Contributor

@GiudGiud GiudGiud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpicking but ready after this

@moosebuild
Copy link
Contributor

moosebuild commented Oct 11, 2024

Job Documentation, step Docs: sync website on 5d61781 wanted to post the following:

View the site here

This comment will be updated on new commits.

@moosebuild
Copy link
Contributor

moosebuild commented Oct 11, 2024

Job Coverage, step Generate coverage on 5d61781 wanted to post the following:

Framework coverage

86067a #28816 5d6178
Total Total +/- New
Rate 85.05% 85.05% +0.00% 97.78%
Hits 106061 106101 +40 44
Misses 18644 18645 +1 1

Diff coverage report

Full coverage report

Modules coverage

Fluid properties

86067a #28816 5d6178
Total Total +/- New
Rate 85.18% 85.19% +0.01% -
Hits 7772 7773 +1 0
Misses 1352 1351 -1 0

Diff coverage report

Full coverage report

Full coverage reports

Reports

This comment will be updated on new commits.

-Formatting changes: removed {}
-used log_length_limit to limit output length
@GiudGiud GiudGiud self-assigned this Oct 12, 2024
@GiudGiud
Copy link
Contributor

test failures are not related

@GiudGiud GiudGiud merged commit 66215d7 into idaholab:next Oct 12, 2024
49 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants