Hi, Without looking into too many details, you should try this first: Change the first argument of method *ApplyMeshMotion *to be corresponding mesh numbers. We you *AddMesh*, it returns the mesh number that you can refer to in your script, but in your case, they are simply 0 and 1 (instead of both 0).
If there are still problems, could you follow up and provide more information on how it "did not work"? Thank you, Ruochun On Monday, June 13, 2022 at 10:24:08 PM UTC-5 [email protected] wrote: > Hi, > I'm running a co-simulation script to simulate dropping a cone that is > split into two bodies on a particle bed using a material-based > model. However, I am trying to have the two bodies either linked together > or move at the same speed. I tried to use the Chlink different methods to > link the bodies but it didn't work. I also tried to include two motors and > have the two bodies move at the same speed but that did not work either. I > looked at many demos but they mostly have only one body in a simulation and > so could not find something similar to my application. I am going to > include my file for your reference. > > Thank you so much, > -- 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/9132957e-2910-46b9-b8f9-b7b7afac2e76n%40googlegroups.com.
