omega_h icon indicating copy to clipboard operation
omega_h copied to clipboard

Mirror mesh on periodic boundaries

Open bonh opened this issue 6 years ago • 5 comments

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?

bonh avatar Jul 11 '18 10:07 bonh

This is possible to implement, but would take substantial effort...

ibaned avatar Jul 11 '18 14:07 ibaned

Okay, thx. What about restricting the adaptation to a subarea or submesh?

bonh avatar Jul 12 '18 08:07 bonh

That can also be done, and I think that is less effort

ibaned avatar Jul 12 '18 15:07 ibaned

@ibaned If you have time to spare, could you briefly outline the steps which would be needed to implement a restriction to a submesh?

bonh avatar Sep 03 '18 09:09 bonh

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.

ibaned avatar Sep 13 '18 17:09 ibaned