Signed translational spring

41 views
Skip to first unread message

Simon

unread,
Feb 24, 2023, 10:25:50 AM2/24/23
to ProjectChrono
Hi,

is it possible to define a prismatic connection between two bodies that has a spring with signed resting position? This means that there is a single force-free relative position. If I understand correctly, then a ChLinkTDSA (spring rest length > 0) leads to two force-free positions because the magnitude of the displacement is used.

Thank you,
Simon

Radu Serban

unread,
Feb 24, 2023, 3:02:57 PM2/24/23
to ProjectChrono

Simon,

 

You can either:

  1. Make sure the attachment points of the TSDA are such that they never flip. You can separate them by whatever amount you want, as long as you also modify appropriately the rest length (assuming you use the default linear spring-damper model), or
  2. Specify a custom ChLinkTSDA::ForceFunctor and implement whatever you want/need. The evaluate() method which you would have to overwrite receives a reference to the TSDA element itself from which you can access whatever quantities you might need for that (e.g., the current locations of the attachment points).

--Radu

--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/5b74231f-e8ec-4bdf-948e-ada7677815fdn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages