You have not marked the physical surface (volume of the mesh, and thus it cannot load it), see for instance: Problem converting gmsh to xdmf for fenics - #2 by dokken
dokken
12
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Robin BC does not agree with exact solution for 1D diffusion | 6 | 145 | February 25, 2025 | |
| Poor precision on tutorial with different function | 2 | 700 | May 12, 2022 | |
| Another question about FenicsX boundary conditions | 4 | 922 | January 12, 2023 | |
| 2 Neumann Boundary Conditions | 10 | 1656 | April 23, 2024 | |
| Define DirichletBC for a Vector Function | 24 | 2930 | December 23, 2021 |