Trouble implementing Dirichilet Boundary Conditions in a gmsh with Firedrake #3406
-
Hi, But while trying to include the Dirichlet BC and solving the system I keep getting the following error I am providing a link to my colab notebook Any help will be greatly appreciated. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Looks like your Gmsh mesh does not have boundary markers. You need Gmsh "Physical" entities in order to attach the boundary markers that Firedake will see. Please see this demo: https://www.firedrakeproject.org/demos/immersed_fem.py.html Note also that we can't see your notebook, because it's not publicly shared. It's far better to create a minimal failing example and put it directly into your GitHub post inside code fences (put |
Beta Was this translation helpful? Give feedback.
Looks like your Gmsh mesh does not have boundary markers. You need Gmsh "Physical" entities in order to attach the boundary markers that Firedake will see. Please see this demo: https://www.firedrakeproject.org/demos/immersed_fem.py.html
Note also that we can't see your notebook, because it's not publicly shared. It's far better to create a minimal failing example and put it directly into your GitHub post inside code fences (put
python on the line before your code and
on the line after it).