Question #706306 on Yade changed: https://answers.launchpad.net/yade/+question/706306
john Marshal posted a new comment: When using MPI (Message Passing Interface) to simulate a system with spheres and a moving facet, you can use various approaches to make the spheres interact with the facet. Here are a few possible methods: Implement contact detection and response algorithms: You can program your simulation to detect when a sphere is in contact with the moving facet and apply the appropriate forces or constraints to simulate the interaction. This may involve calculating the distance between the sphere and the facet, computing the normal force, and updating the velocity and position of the sphere. Use collision detection libraries: There are various libraries available that can perform collision detection and response between objects, such as spheres and meshes. Some examples include Bullet, ODE, and PhysX. You can use these libraries to detect when a sphere collides with the facet and handle the response accordingly. Divide the facet into small segments: Instead of treating the facet as a single moving object, you can divide it into multiple smaller segments or tiles. This can simplify the contact detection and response algorithms, as each sphere only needs to interact with the tiles that it is in contact with. This approach can also improve performance, as only the relevant tiles need to be updated each time step. Use parallel computing techniques: If you have a large number of spheres or tiles, you may need to use parallel computing techniques to speed up the simulation. MPI can be used to distribute the workload across multiple processors or nodes, allowing you to simulate more spheres or tiles simultaneously. -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp