Linear elasticity: Dirichlet BC on only one component of the vector field #3158
-
Hello, I am few to mfem, I would like to apply zero Dirichlet BC on only one component of the displacement (u) vector field. See attached pic, I would like fix u_x = 0 on the left and u_y = 0 on the bottom. I am looking at ex2 - please let me know how can I modify below lines to accomplish it? Array ess_tdof_list, ess_bdr(pmesh->bdr_attributes.Max()); Thank you very much! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Apologies that we missed your question. Next time please post in Issues, it's more visible for us this way. Something like the above BC is done in the Laghos miniapps, see the part of the code here. Vladimir |
Beta Was this translation helpful? Give feedback.
He @karthichockalingam,
Apologies that we missed your question. Next time please post in Issues, it's more visible for us this way.
Something like the above BC is done in the Laghos miniapps, see the part of the code here.
Vladimir