Lukas,

When using ChLinkBushing, you need to access the various individual ChLinkForce 
objects, using ChLinkLock::GetForceX(), ChLinkLock::GetForceY(), etc. (see 
https://api.projectchrono.org/classchrono_1_1_ch_link_lock.html ) and then 
invoke the GetF() method on each one (see 
https://api.projectchrono.org/classchrono_1_1_ch_link_force.html).
I realize that this is a bit too convoluted, so I will add a ChLinkBushing 
functions to directly return the bushing force and torque.
As a side note, ChLinkBushing is implemented as a “free” joint with internal 
forces on the 6 DOFs, so it is no surprise that Get_react_force() returns all 
zeros (there are no constraints).

For ChLoadBodyBodyBushingGeneric, use ChLoadBodyBody::GetForce() and 
ChLoadBodyBody::GetTorque() (see 
https://api.projectchrono.org/classchrono_1_1_ch_load_body_body.html).

--Radu

From: [email protected] <[email protected]> On Behalf 
Of Lukas K
Sent: Tuesday, June 27, 2023 12:37 AM
To: ProjectChrono <[email protected]>
Subject: [chrono] Bushing reaction forces

What is the way to get reaction forces from bushing for:
1. ChLinkBushing
2. ChLoadBodyBodyBushingGeneric

When I use Get_react_force() I get only zeroes
--
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/c70dc292-4f6b-478d-a34e-268c16a3d79fn%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/c70dc292-4f6b-478d-a34e-268c16a3d79fn%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/PH0PR06MB8237AF0ECF80F1FA0B9740E3A727A%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to