This is an example of how to configure a non-linear SpringA in Mecway.
Just make sure to cover all the range of possible elongation and reaction force that the spring will undergo.
Don't forget possible transverse reaction forces. They play an important role too and you could be thrown out of the curve without realizing it.
NOTE: There is no need for such a sophisticated unittriangle function, but I am a bit picky and I like to see that the first and last step force is equal to zero.
Comments
Just provide the proper Reaction /Elongation Curve.
NOTE: Do not confuse displacement with elongation. Not the same. It has puzzle me for a while. Mecway do not provide Elongation of the Spring. Could be a nice Improvement.
For Example, an Only Tension Truss element could be set up like:
Have you tried two springs instead of one and a solid or beam section in between?
The pretension would be applied to the that mid element.
This is the idea.
A truss element with thermal strain would be easier if your model allows that.
I was setting this up and abondon when realized the amount of equation required.
Colinearity should be imposed by pairs of nodes on each equation. Writing all nodes in one *equation card isn't enough.