I would strongly recommend not using mshr, as it is no longer maintained. The most common mesh generator to use is gmsh, which can be loaded with meshio as described in Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert to meshio.
dokken
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Creating subdomains in mshr with an stl file | 4 | 1626 | April 10, 2020 | |
|
Problem with subdomains
|
1 | 441 | February 11, 2021 | |
| Mshr ignores subdomains | 4 | 645 | April 6, 2021 | |
|
Subdomains are currently supported only in 2D
|
3 | 775 | March 22, 2020 | |
| Marking subdomains in a mesh imported with meshio | 5 | 548 | February 27, 2023 |