Impose displacement on a point at the free end of a cantilever beam

6 months ago by
I would like to impose displacement of a point at the free end of a cantilever beam.

See boundary condition bc2 in attached example.

If I constrain the face, it works.

If I constrain a point, I have no effect.

Context: I use docker distribution on a Jupyter notebook.

Q: what's wrong in following example?

File attached: questionBConapoint.ipynb (47.81 KB)

Community: FEniCS Project

2 Answers

6 months ago by
Just drop the on_boundary in your pointwise definition.

From the docs:
Note: when using “pointwise”, the boolean argument on_boundary in SubDomain::inside will always be false.

Points near(x[0], length) and near(x[1], 0.) are on your boundary.
6 months ago by
Thank you very much,

here is the corrected working version:
File attached: questionBConapointCorrected.ipynb (3.43 KB)

Please login to add an answer/comment or follow this question.

Similar posts:
Search »