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:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| On_boundary Clarification | 24 | 3997 | January 16, 2024 | |
| How to import mixed triangle and quad meshes from gmsh to fenics | 22 | 4766 | June 20, 2020 | |
|
Fenicsx: use an array of data for boundary conditions
|
9 | 2944 | May 22, 2023 | |
| Another question about FenicsX boundary conditions | 4 | 860 | January 12, 2023 | |
| Struggling with vector values bcdirichlet | 21 | 304 | August 28, 2024 |