Apply Dirichlet bcs on the rotations (first derivatives) when using an Hermite FE #2975
-
Hi, However, I can't understand how to apply essential BCs on the rotations. If I use DirichletBC it only constraints the displacement u, not the associated rotation du/dx, which is the other DOF of the Hermite element. Can anyone help me? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Is this in 1D? I think it must be because we don't support essential boundary conditions on Hermite elements in 2D. In 1D, we support setting the vertex value Lines 133 to 138 in c5cd37a So I think right now your best bet is to try and apply your BCs using Nitsche's method instead. |
Beta Was this translation helpful? Give feedback.
Is this in 1D? I think it must be because we don't support essential boundary conditions on Hermite elements in 2D.
In 1D, we support setting the vertex value$u$ , but not its derivative
$u_x$, on the boundary (this is implemented with a hack in
DirichletBC`)firedrake/firedrake/bcs.py
Lines 133 to 138 in c5cd37a
So I think right now your best bet is to try and apply your BCs using Nitsche's method instead.