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

From: [email protected] <[email protected]> On Behalf 
Of Simon
Sent: Friday, 24 February 2023 16:26
To: ProjectChrono <[email protected]>
Subject: [chrono] Signed translational spring

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
--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/5b74231f-e8ec-4bdf-948e-ada7677815fdn%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/5b74231f-e8ec-4bdf-948e-ada7677815fdn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/PH0PR06MB8237463DD247E53AB7E90B76A7A89%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to