Essential boundary condition u.n = 0 on disc. #2552
Unanswered
ethrelfall
asked this question in
Firedrake support
Replies: 2 comments 4 replies
-
Yes, I'm afraid we currently cannot apply |
Beta Was this translation helpful? Give feedback.
1 reply
-
I know you wanted a more direct approach, but I've had good luck with Nitsche's method -- I wrote about it here. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This should be a simple one - I've got a primal formulation of the vector Laplacian for u on (say) a disc and I want to be able to strongly enforce u.n=0 on the boundary.
I think I need to add a DirichletBC, but what is the interface for doing this, please?
If I do
bc = DirichletBC(V, as_vector([0.0, 0.0]), {domain IDs}) ## V is VectorFunctionSpace(mesh, "CG", 1) and mesh is 2D
I get both components of u zero on the boundary, whereas I only want to fix the radial component.
Aside - I think V.sub(0) gets me the Cartesian x-component of V - right?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions