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 <(608)%20772-0914> > > http://sbel.wisc.edu/ > > http://projectchrono.org/ > > --------------------------------------------- > > > > *From:* [email protected] <[email protected]> *On > Behalf Of *Aleksandr Prokhorov > *Sent:* Wednesday, November 6, 2024 10:55 AM > *To:* ProjectChrono <[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. > > > > > > 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. > > > > > > 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]. > 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]. To view this discussion visit https://groups.google.com/d/msgid/projectchrono/42609906-e61e-4c88-83e8-2a78753a3969n%40googlegroups.com.
