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
--
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
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/2ca55747-33ae-4943-884b-29946a3430a5n%40googlegroups.com.
You can address both issues with ChFunction objects.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/a6733f1f-645c-4047-8d2c-0a09e46db5c0n%40googlegroups.com.