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 Circular Boundaries Correction #24006

Merged
merged 18 commits into from
Apr 28, 2023
Merged

Conversation

miaoyinb
Copy link
Contributor

@miaoyinb miaoyinb commented Apr 7, 2023

closes #23972

Reason

Design

Impact

@miaoyinb miaoyinb requested a review from roystgnr as a code owner April 7, 2023 21:59
large_media Outdated Show resolved Hide resolved
large_media Outdated Show resolved Hide resolved
large_media Outdated Show resolved Hide resolved
@moosebuild
Copy link
Contributor

moosebuild commented Apr 8, 2023

Job Documentation on 08a81a3 wanted to post the following:

View the site here

This comment will be updated on new commits.

@moosebuild
Copy link
Contributor

moosebuild commented Apr 8, 2023

Job Coverage on 08a81a3 wanted to post the following:

Framework coverage

7cf257 #24006 08a81a
Total Total +/- New
Rate 85.14% 85.17% +0.03% 94.56%
Hits 86880 87106 +226 226
Misses 15160 15168 +8 13

Diff coverage report

Full coverage report

Modules coverage

Coverage did not change

Full coverage reports

Reports

This comment will be updated on new commits.

large_media Outdated Show resolved Hide resolved
@GiudGiud
Copy link
Contributor

GiudGiud commented Apr 9, 2023

@oanaoana for input on pinning meshes to higher order curves

@moosebuild
Copy link
Contributor

Job Python spack on 1f19d28 : invalidated by @miaoyinb

Copy link
Contributor

@roystgnr roystgnr left a comment

Choose a reason for hiding this comment

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

I'd feel safer if someone else has time to look over this too, but the "segfault with DistributedMesh" issue was the only serious one I could find.

@moosebuild
Copy link
Contributor

Job Framework increased sparsity on 16142af : invalidated by @miaoyinb

@GiudGiud
Copy link
Contributor

I did some testing:

  • if the boundaries are refined, either using uniform refinement or the XYDelaunay refinement option (looks like this)

Screen Shot 2023-04-27 at 10 29 25 AM

then it doesnt fix the volume. Though it does trigger the circularness check if 'custom_circular_tolerance' is not raised

  • if the boundary is a full circle, move_end_nodes_in_span_direction doesn't make sense so we need an error

  • if the boundary does not exist, we get a not enough nodes message. It would be clearer to say:
    "boundary xx does not exist in the mesh"

  • if the sideset contains the sets of sides duplicated (pointing both directions), which seems to happen with ParsedGenerateSideset, then the creation of the ordered node sets fails, hence the radius cant be corrected.

  • if the CircularBoundaryCorrection is used twice on the same boundary, it makes it grow. This seems obvious, I was just
    thinking of ways a user could mess this up.

I think we could reasonably defend against the first 3 things. Maybe the 4th

@miaoyinb
Copy link
Contributor Author

I think this circular correction should be done before refining.

(1)(2) fixed.
I am working on (3).
(4) would be complex...

@miaoyinb
Copy link
Contributor Author

(3) done

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.

awesome! Thanks for meeting the additional requests

@GiudGiud GiudGiud merged commit bf63ca8 into idaholab:next Apr 28, 2023
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add CircularCorrectionGenerator
4 participants