You can use a linear motor with whatever activation function you want (at position, velocity, or force level). See demo_MBS_motors for examples. Alternatively, you can use a weld joint (ChLinkLockLock) which allows specifying a motion function along one of the constrained DOFs. See demo_MBS_earthquake. In either case, you would connect one of the “links” above between the box and the fixed ground body.
--Radu From: [email protected] <[email protected]> On Behalf Of Alessio Sent: Friday, June 14, 2024 9:03 AM To: ProjectChrono <[email protected]> Subject: [chrono] Implementation of a vibrating system Hello everyone, I'm trying to simulate the behaviour of different non-spherical particles under varying gravity and some physical parameters like friction and restitution coefficients. I've modelled an open cubic container for the particles which rests on a reference floor which is fixed. I should now implement horizontal oscillations, in particular I was thinking about sinusoidal inputs. What could be the best way to do it? I was thinking of implementing an engine or a prismatic link to which the sinusoidal forcing is added, but I'm not sure if these are the best choices, as I am new to using Chrono. Also, I am undecided whether to make the reference floor move and then vibrate the box or to implement it directly on it, depending on which is the easiest way. Thanks to anyone who can give me some advice. -- 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/2ca55747-33ae-4943-884b-29946a3430a5n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/2ca55747-33ae-4943-884b-29946a3430a5n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!Ik1vQnrkR3RzjC9YLd42xcxafm2q5_1GWpjPZ2bHbDXwlQ7XmFzXdIQVaKIO-p9lTYDbAGcFO19zBddc3hzu_mHDXg$>. -- 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/CH3PPF46CDC218590B5984DF097F2433A61A7C22%40CH3PPF46CDC2185.namprd06.prod.outlook.com.
