Open hugary1995 opened 2 years ago
@lindsayad worked on something similar with his laser melt pool. Displacement of the boundary nodes, plus a diffusion equation on the displacement variable. Just make sure to advect the concentration fields in the opposite direction to avoid moving material with the mesh.
I have discussed this with @loganharbour and @GiudGiud on slack, and have been thinking about this for a while. Right now the ElementSubdomainModifier
s are doing more than what's suggested by their names -- they not only modify element subdomains, but also maintain a moving boundary/interface. I think the forward looking "correct" fix is to let the ElementSubdomainModifier
s "do less", and let another run-time mesh modifier to maintain the moving boundary/interface.
On a related note, right now the moving boundary is added on both sides of the interface. There's nothing wrong with that, but for maximum flexibility we should give the two sides of the interface different names, so that we could handle problems like the one mentioned in the linked discussion above.
@GiudGiud also mentioned that there might some work going on in the next FY on run-time meshgenerators/meshmodifiers.
@eshemon and @permcody will know more about planned work on run-time execution of MGs.
Discussed in https://github.com/idaholab/moose/discussions/21443