Boundary conditions and external torque implementation for a simply supported rod #433
Answered
by
armantekinalp
Srishti-Siddharth-iitb
asked this question in
Q&A
|
For one of my applications, I wish to simulate the Cosserat rod with the following boundary conditions:
I have attached a figure explaining the setup. Could you please let me know how to simulate this rod using PyElastica? |
Answered by
armantekinalp
Aug 22, 2024
Replies: 2 comments 1 reply
|
Hey You can use GeneralConstraints as a boundary condition in PyElastica. Please see the documentation. For the rotating torque you have to write a custom forcing class for you application. Please see EndPointForces class here. Although this forcing classs applies tip force, implementation wise it is very similar to your application. |
0 replies
Answer selected by
armantekinalp
|
I am converting this to a discussion since it is not an issue. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hey
You can use GeneralConstraints as a boundary condition in PyElastica. Please see the documentation.
For the rotating torque you have to write a custom forcing class for you application. Please see EndPointForces class here. Although this forcing classs applies tip force, implementation wise it is very similar to your application.