idaholab / blackbear

BlackBear is a MOOSE-based code for simulating degradation processes in concrete and other structural materials.
GNU Lesser General Public License v2.1
17 stars 42 forks source link

Transfer of solution between non-overlapping boundaries #356

Closed albiedahal closed 1 year ago

albiedahal commented 1 year ago

Reason

SolutionUserObject offers a way to transfer solution from a mesh to be applied as initial or boundary condition in a second mesh but the userobject cannot extrapolate if the domains do not exactly overlap. This causes an issue for two curved domains with the same global dimensions but with different mesh discretization as some nodes will fall out of bounds.

Design

Create a function Dirichlet BC that can sample the function (SolutionFunction in this case) at a spatial location which is a user-specified distance (usually very small) offset from the boundary node in the direction of nodal normal.

Impact

Added capability