How to Implement Nonlinear Stiffness Based on Deformation? #344
-
I'm currently studying with |
Beta Was this translation helpful? Give feedback.
Answered by
armantekinalp
Mar 13, 2024
Replies: 1 comment 5 replies
-
Do you have the stiffness model? Which stiffness are you talking about bending, axial stretch, shear etc? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are two options:
Easier option. You can write a forcing function and modify the
bend_matrix
at each time step. Note that bothbend_matrix
andkappa
are members of the rod. Now here there is a catch with this approach, since in time-step algorithm all external_force functions computed after the internal_forces/internal_torques, updatedbend_matrix
will be used in the next time-step. If you expect significant changes betweenkappa
values in between time-steps then I suggest you try the second approach.Relatively harder option. You can modify the functions where internal torques are computed, but this requires changing some back end code. I suggest clone PyElastica in your local s…