This is because you are using a DG space. See: Dirichlet Boundary Conditions for Discontinuous Galerkin (DG) Methods - #4 by nate and the subsequent posts on how to apply Dirichlet conditions for such methods.
dokken
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
Dirichlet Boundary Conditions for Discontinuous Galerkin (DG) Methods
|
6 | 2951 | November 24, 2020 | |
| Import gmsh to FEniCSx, then define two Dirichlet boundary condition | 2 | 218 | March 6, 2024 | |
|
How to define boundary conditions on an irregular geometry?
|
37 | 7132 | February 14, 2020 | |
| The Problem of Dirichlet Boundary Conditions for DG | 4 | 614 | October 30, 2023 | |
| Error in boundary conditions when importing Gmsh msh file | 7 | 451 | June 27, 2023 |