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 | |
---|---|---|---|---|
How do I use a Python function to define Dirichlet boundary conditions which are not known in closed form?
|
1 | 1948 | September 13, 2020 | |
How to Define/Fix Boundary Conditions at Internal Corners | 1 | 403 | June 14, 2021 | |
Dirichletbc on only one coordinate | 1 | 709 | February 8, 2021 | |
How to set different boundaries on the each side of a rectangular domain? | 3 | 300 | May 11, 2021 | |
Marking the Parts of a Boundary Face based on Function Values defined over the Mesh | 7 | 1045 | September 26, 2023 |