reading boundaries from *_physical_region.xml file
Asked by
Nico Schlömer
When dealing with custom meshes with subdomains, my typical workflow is to generate a mesh in Gmsh, convert it to XML format using dolfin-convert, and then read the mesh from the two files mymesh.xml and mymesh_
mesh = Mesh('mymesh.xml')
subdomains = MeshFunction(
From there, I typically go ahead and define the volumes,
dx = Measure(
What I'd like to do now I also define subdomain boundary "volumes", e.g.,
ds = Measure(
How can I generate the corresponding `boundaries`?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Johan Hake
- Solved:
- Last query:
- Last reply:
To post a message you must log in.