Is there a screenshot? Dan --------------------------------------------- Bernard A. and Frances M. Weideman Professor NVIDIA CUDA Fellow Department of Mechanical Engineering Department of Computer Science University of Wisconsin - Madison 4150ME, 1513 University Avenue Madison, WI 53706-1572 608 772 0914 http://sbel.wisc.edu/ http://projectchrono.org/ ---------------------------------------------
From: [email protected] <[email protected]> On Behalf Of Aleksandr Prokhorov Sent: Thursday, November 7, 2024 4:26 AM To: Dario Mangoni <[email protected]> Cc: ProjectChrono <[email protected]> Subject: Re: [chrono] Link unexpected behavior Yeah, It seems like, decreasing of time for integration solves the problem. Thank you so much! By chance, maybe you know the possible issues with drawing the spring between "body" and "wheel", I use such definition: tools::drawSpring(vis.get(), 1, newSystem.GetBodyPos(), newSystem.GetWheelPos(), ChColor(1, 1, 1), 80, 10, true); but it is now working, as you can see in the screenshot. Best Regards Aleksandr Prokhorov On Thu, 7 Nov 2024 at 07:28, Dario Mangoni <[email protected]<mailto:[email protected]>> wrote: Also, if you are using, as I expect, an iterative solver, increase the number of iterations! Il giorno mercoledì 6 novembre 2024 alle 21:00:18 UTC+1 Dan Negrut ha scritto: Alex – did you try to reduce the integration time step to some small value, to see if this makes any difference? Dan --------------------------------------------- Bernard A. and Frances M. Weideman Professor NVIDIA CUDA Fellow Department of Mechanical Engineering Department of Computer Science University of Wisconsin - Madison 4150ME, 1513 University Avenue Madison, WI 53706-1572 608 772 0914<tel:(608)%20772-0914> http://sbel.wisc.edu/ http://projectchrono.org/<https://urldefense.com/v3/__http:/projectchrono.org/__;!!Mak6IKo!PIhKM8Ub8V0LkEBPqzPRouMSN59TAA18zIPT7LWcZgGdbwRtqBf2pKh7ex2XO_QFK118OiJtAjrDtEUY6Q$> --------------------------------------------- From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> On Behalf Of Aleksandr Prokhorov Sent: Wednesday, November 6, 2024 10:55 AM To: ProjectChrono <[email protected]<mailto:[email protected]>> Subject: [chrono] Link unexpected behavior Dear CHRONO. I have started to investigate a CHRONO engine recently. The problem I am trying to solve is the control of 1-DOF system in the application of the quarter-car model. I have a picture of my model assembly. [https://groups.google.com/group/projectchrono/attach/8e863f27c757f/image001.png?part=0.1&view=1] The links a Initialized with te next constraints: wheelAxisLink = chrono_types::make_shared<ChLinkMateSpherical>(); wheelAxisLink->Initialize(wheel, axis, false, wheel->GetPos(), axis->GetPos()); wheelAxisLink->SetConstrainedCoords(true, true, true, true, true, false); holdBodyRotationLink = chrono_types::make_shared<ChLinkMateSpherical>(); holdBodyRotationLink->Initialize(body, floor, false, body->GetPos(), floor->GetPos()); holdBodyRotationLink->SetConstrainedCoords(false, false, false, true, true, true); holdBodyTranslationLink = chrono_types::make_shared<ChLinkMateSpherical>(); holdBodyTranslationLink->Initialize(body, axis, false, body->GetPos(), axis->GetPos()); holdBodyTranslationLink->SetConstrainedCoords(true, false, true, true, true, true); It is working properly. But if the mass of "wheel" is significantly larger than the mass of "body" and the speed of motor rotation is high, the constraints applied for the links are not satisfied anymore. [https://groups.google.com/group/projectchrono/attach/8e863f27c757f/image002.png?part=0.2&view=1] Could you help with any idea how to fix that issue if any exists? Also by some reason, the pice of code: tools::drawSpring(vis.get(), 1, newSystem.GetBodyPos(), newSystem.GetWheelPos(), ChColor(1, 1, 1), 80, 10, true); does not make a "spring" visible. Best regards, Alex -- 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 visit https://groups.google.com/d/msgid/projectchrono/ced273ee-b083-4f20-bb63-28b997acdd15n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/ced273ee-b083-4f20-bb63-28b997acdd15n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!M1lbRlrZfMWHdCq7q-aRMMX7pcHvcn92dCQJCLoViVgW2miYg--qRAwhws_Nax3r5WUqHu4dBM2JVBeIwg$>. -- 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 visit https://groups.google.com/d/msgid/projectchrono/42609906-e61e-4c88-83e8-2a78753a3969n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/42609906-e61e-4c88-83e8-2a78753a3969n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!PIhKM8Ub8V0LkEBPqzPRouMSN59TAA18zIPT7LWcZgGdbwRtqBf2pKh7ex2XO_QFK118OiJtAjpsslOJ1Q$>. -- 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 visit https://groups.google.com/d/msgid/projectchrono/CAN4%2Bx7UyOmtvOjXNv6RZOe4SLOEZOO2HEiXpAL3i1NEsmsKySA%40mail.gmail.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/CAN4*2Bx7UyOmtvOjXNv6RZOe4SLOEZOO2HEiXpAL3i1NEsmsKySA*40mail.gmail.com?utm_medium=email&utm_source=footer__;JSU!!Mak6IKo!PIhKM8Ub8V0LkEBPqzPRouMSN59TAA18zIPT7LWcZgGdbwRtqBf2pKh7ex2XO_QFK118OiJtAjpgHIghwQ$>. -- 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 visit https://groups.google.com/d/msgid/projectchrono/DM8PR06MB77035DA16CBFDBB2AB43D6B0B15C2%40DM8PR06MB7703.namprd06.prod.outlook.com.
