For an electrical design, i am having a cable modeled as a perfect elastic static rod, fixed at both ends, as i have depicted how should it be for different given reference lengths.
I've studied some introductory chapters about solid mechanics, but at this moment i am confused on how should i model this in order to solve this computationally in i.e. matlab. for fixed lengths of cable.
I've wrote some large matlab routines (hard and i think rather useless to paste in here btw due to its failed approach) for dividing the cable into n pieces, each representing both an linear and angular spring, but at this moment they failed to converge.
I am trying to calculate the forces at each node both from linear (stretching) and angular (bending) (no twisting) springs as finite pieces (elements?), but for most cases (n bigger than 5) the solution explodes into infinity (?).
Anybody could present me a reference for implementing a numerical solution, with given initial conditions and reference length?
Here is a solution with n=5 for forces depicted in red. This case for some reason (my lack of knowledge) diverges. Most other solutions also diverges. The iteration is done simply by adapting the solution by a 1/10th of the (loosely calculated) force.