Open adofarsi opened 4 months ago
@UZerbinati how easy do you think this will be to do?
@connorjward Is a work in progress in this branch: https://github.com/NGSolve/ngsPETSc/tree/uz/dglabels. It works for 2D but now needs to be extended to 3D. The main issue is that it changes the labelling routine we have used so far. I think it could be useful to create a labelling utility function directly in ngsPETSc that retrieves from a boundary string the corresponding ID. Maybe if a mesh is a netgen mesh we can use this utility function directly in Firdreke DirichletBC?
@connorjward Is a work in progress in this branch: https://github.com/NGSolve/ngsPETSc/tree/uz/dglabels. It works for 2D but now needs to be extended to 3D. The main issue is that it changes the labelling routine we have used so far. I think it could be useful to create a labelling utility function directly in ngsPETSc that retrieves from a boundary string the corresponding ID. Maybe if a mesh is a netgen mesh we can use this utility function directly in Firdreke DirichletBC?
Maybe. Does DMLabel not support this kind of thing? I think we want to keep netgen code localised to mesh.py
where possible.
Describe the current issue Currently, when generating meshes using Netgen, there is no functionality available to correctly label the internal facets. This lack of labelling can lead to difficulties in identifying and differentiating between various internal facets of the mesh for DG discretisations.
Describe the solution you'd like Addition of a feature that enables the correct labelling of internal facets in the mesh generated by Netgen.
Additional info Code for testing below: