omega_h
omega_h copied to clipboard
Mirror mesh on periodic boundaries
Imagine a pipe with periodic boundary conditions from the outlet to the inlet. To match the values from the inlet to the outlet, it would be great to have matching cells at the inlet and outlet boundaries. Is it possible to somehow restrict the mesh refinement?
This is possible to implement, but would take substantial effort...
Okay, thx. What about restricting the adaptation to a subarea or submesh?
That can also be done, and I think that is less effort
@ibaned If you have time to spare, could you briefly outline the steps which would be needed to implement a restriction to a submesh?
I would probably need to modify the refine/coarsen/swap code to remove candidates that are marked in a certain way. The marking would be some kind of tag attached to entities, and functions would be provided to the user that mark the mesh.