For more complicated geometries , its common to use external software, like gmsh/pygmsh. With these softwares, you can set physical markers for cells snd facets, Which can be loaded into dolfin as described here:
dokken
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| On_boundary Clarification | 24 | 4347 | January 16, 2024 | |
| How to import mixed triangle and quad meshes from gmsh to fenics | 22 | 5068 | June 20, 2020 | |
| Fenicsx: use an array of data for boundary conditions | 9 | 3169 | May 22, 2023 | |
| Another question about FenicsX boundary conditions | 4 | 959 | January 12, 2023 | |
| Struggling with vector values bcdirichlet | 21 | 516 | August 28, 2024 |