I'm currently simulating these particles as spheres with some amount of friction and adhesion - the only complex geometry is the container for these particles which is attached to a linear displacement motor (to agitate them etc). Are there any additional ways in which I could try to speed up the simulation/further simplify the particle geometry?
In a related question would it make sense to use the granular module in C++ as I increase the number of particles? Ultimately I'm interested in looking at 10k+ , and looking at if they can remain well separated (ie acting as single particles). In the physical system I'm modeling the container is on the order of centimeter scale, and the particles would have micron to millimeter diameters. Best, Sean On Wednesday, March 26, 2025 at 3:14:40 PM UTC-4 Radu Serban wrote: > Hi Sean, > > > > Performance of code based on PyChrono is only marginally (if at all) worse > that that of code directly using the Chrono C++ libraries. PyChrono is just > a set of SWIG-generated wrappers around the C++ Chrono code. > > > > However, if you think that your code would benefit from using the > Chrono::Multicore module (note that this is not a guarantee, as 300 > particles is not all that many – you may want to provide some details on > what geometry you use for these bodies), you will have to port your code to > C++ because the Chrono::Multicore module is currently **not** > SWIG-wrapped and as such not available through PyChrono. > > > > Best, > Radu > > > > *From:* [email protected] <[email protected]> *On > Behalf Of *Sean You > *Sent:* Tuesday, March 25, 2025 9:51 PM > *To:* ProjectChrono <[email protected]> > *Subject:* [chrono] pychrono and multicore support > > > > Hi All, > > > > I'm working on simulating a system in pychrono with a moderate number of > particles (~300) - The runtime seems to be relatively slow - I was > wondering if there was any support for using the multicore solvers in > pychrono/any other recommended performance improvements or do I need to > port my simulation over to C++? > > > > Best, > > Sean > > -- > > 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/05690b49-0042-4508-98a7-225879871a24n%40googlegroups.com > > <https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/05690b49-0042-4508-98a7-225879871a24n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!L-1x_HmDULB4WT-10NAJggYI9C0uZLxytMb0rpNThEK2as7PuUwCVvEyD6p0-wveIrzwoeseuAIYGA$> > . > -- 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/192fa1ed-aa48-4062-844b-d4f345f6a4a8n%40googlegroups.com.
