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

Add new boundary condition MatNeumannBC #17791

Closed
laagesen opened this issue May 10, 2021 · 1 comment · Fixed by #17845
Closed

Add new boundary condition MatNeumannBC #17791

laagesen opened this issue May 10, 2021 · 1 comment · Fixed by #17845
Labels
T: task An enhancement to the software.

Comments

@laagesen
Copy link
Contributor

Reason

Working on a problem in a solid-void system, where we would like flux to enter at specified boundary only where the solid intersects the boundary. Ideally this should be done my multiplying the desired value of flux by a switching function that is 1 in the solid phase and 0 in the void (and varies smoothly in the interface). Such switching functions already exist in the problem as material properties. Although it's currently it's possible to make a position-dependent Neumann BC using FunctionNeumannBC, it would be more convenient to create a BC that would take the material property directly.

Design

Inherit from IntegratedBC, return - _test[i][_qp] * _value * _material_prop[_qp] for ComputeQpResidual

Impact

Add something new

Tag @dschwen for feedback

@laagesen laagesen added the T: task An enhancement to the software. label May 10, 2021
@dschwen
Copy link
Member

dschwen commented May 11, 2021

Seems reasonable to me.

laagesen added a commit to laagesen/moose that referenced this issue May 18, 2021
laagesen added a commit to laagesen/moose that referenced this issue May 18, 2021
aeslaughter pushed a commit to aeslaughter/moose that referenced this issue Jun 2, 2021
aeslaughter pushed a commit to aeslaughter/moose that referenced this issue Jun 2, 2021
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