Hi Alexander,

While technically it could be used with ChSystemSMC or ChSystemNSC, the 
granular terrain in Chrono::Vehicle is really meant to be used with the 
parallelized solvers in the Chrono::Multicore module.  But that module is 
currently not exposed in PyChrono.  It’s on my todo list, but that is not going 
to happen very soon.

As for the utilities you are referring to, those are available in the core 
Chrono module.  However, they rely on some templated classes and as such Swig 
will not wrap them properly without some additional extensions to the Swig 
interface files.  When I make the necessary changes to wrap the 
Chrono::multicore module, I will also make sure the utils::Generator class and 
associated helper classes can also be used in PyChrono.

--Radu

From: 'Alexander Schepelmann' via ProjectChrono <[email protected]>
Sent: Wednesday, 12 October 2022 15:57
To: ProjectChrono <[email protected]>
Subject: [chrono] Granular terrain type availability in PyChrono?

Good morning! I am looking to implement a granular terrain using PyChrono.

Searching through the demos/API, I see that several terrain types are exposed 
in PyChrono (RigidTerrain, SCMDeformableTerrain, etc.), but I am not able to 
find a function for initializing a granular terrain.  Is this currently 
available in PyChrono?

Alternatively, I remember seeing a bullet point in one of the ProjectChrono 
presentations that mentioned a helper method for initializing a rectangle 
filled with particles that follow a specified particle size distribution (for 
applications such as filling containers, etc.).  Unfortunately I seem to be 
unable to find this presentation again, but I was wondering if this 
functionality currently available in PyChrono?

Thank you for your help!
--
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/64802a6a-44f9-423c-9b5b-0c6d72ba8839n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/64802a6a-44f9-423c-9b5b-0c6d72ba8839n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/PH0PR06MB823707FF26713CC71599E942A72E9%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to