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

Protect against failed point inversions due to interface kernels #18225

Merged
merged 2 commits into from
Jul 9, 2021

Conversation

lindsayad
Copy link
Member

Or at least we should not try to invert physical points related to
interface kernels unless we actually have a displaced interface kernel
in our system

Closes #18175

@lindsayad lindsayad requested a review from arovinelli July 1, 2021 06:10
@moosebuild
Copy link
Contributor

moosebuild commented Jul 1, 2021

Job Documentation on 62e4b53 wanted to post the following:

View the site here

This comment will be updated on new commits.

arovinelli
arovinelli previously approved these changes Jul 6, 2021
Copy link
Contributor

@arovinelli arovinelli left a comment

Choose a reason for hiding this comment

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

Seems ok to me, and solves my issue

@lindsayad lindsayad self-assigned this Jul 6, 2021
@@ -21,6 +21,18 @@ Interface kernels can be used to provide any general flux condition at an interf
- `neighbor_var`: The "secondary" variable. This could be $c_1$ from our example above.
- `boundary`: The interfacial boundary between the subdomains. Note that this must be a sideset and again must exist on the same subdomain as the primary variable. The fact that this boundary is a sideset allows access to variable gradients.

An important private parameter relevant to displaced mesh calculations is
Copy link
Member

Choose a reason for hiding this comment

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

Hm - just to make sure. There's no case where we would want this to be a public param, correct?

Copy link
Member Author

Choose a reason for hiding this comment

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

This parameter was only introduced to support cohesive zone and its fake neighbors. I think the day when we make fake neighbors a first class capability in libMesh (e.g. they're actually accessible via calls like neighbor_ptr and are thus no longer "fake") is the day that we can make this parameter public. As of right now the way we do cohesive zone is kind of an abuse

@@ -0,0 +1,139 @@
[Mesh]
Copy link
Member

Choose a reason for hiding this comment

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

You've got some mismatched hit styles here - make it consistent?

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

// shouldn't we add isuo
_reinit_displaced_face = true;
else if (iuo)
_reinit_displaced_neighbor = true;
Copy link
Member

Choose a reason for hiding this comment

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

👍🏼

fdkong
fdkong previously approved these changes Jul 7, 2021
Copy link
Contributor

@fdkong fdkong 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

block = '0'
[]


Copy link
Contributor

Choose a reason for hiding this comment

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

Do not need many spaces

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok I removed the space 😄 Can you re-approve?

Or at least we should not try to invert physical points related to
interface kernels unless we actually have a displaced interface kernel
in our system

Closes idaholab#18175
@lindsayad lindsayad added the PR: Auto Merge Add this label to have CIVET merge on success label Jul 8, 2021
@lindsayad lindsayad merged commit 1fc233b into idaholab:next Jul 9, 2021
@lindsayad lindsayad deleted the displaced-face-czm-18175 branch July 9, 2021 02:34
@loganharbour
Copy link
Member

loganharbour commented Jul 9, 2021

This broke next: https://civet.inl.gov/event/70823/

Just look at the parallel and recover failures, rest are unrelated

@lindsayad
Copy link
Member Author

Ok I will look at this first thing tomorrow morning

loganharbour added a commit to loganharbour/moose that referenced this pull request Jul 12, 2021
loganharbour added a commit that referenced this pull request Jul 12, 2021
jbadger95 pushed a commit to jbadger95/moose that referenced this pull request Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Auto Merge Add this label to have CIVET merge on success PR: Failed but allowed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Displaced face objects interfere with fake side neighbors (czm)
5 participants