Hi Weigang,

Yes. Again,  DEME only cares about the position and radius of the initial 
spheres, so you can supply it however you want. If you have a file that 
records this information using your own format, then the easiest thing is 
to have your own C++ or Python script that reads it into arrays and then 
feeds them to the solver. If your file shares the format with DEME's 
standard clump output file, or your file is simply the output of 
*WriteClumpFile*, then you can conveniently load clump positions and 
orientations by *ReadClumpXyzFromCsv *and *ReadClumpQuatFromCsv *(examples 
are in GRCPrep_Part1 and 2). Note that currently, sphere radius cannot be 
read from standard clump output files since it's part of the clump template 
information thus not in the clump output.

Thank you,
Ruochun

On Monday, May 20, 2024 at 12:56:56 PM UTC+8 [email protected] wrote:

> Hi Everyone,
>
> I would like to generate a block which consists of a assembly spheres. Is 
> it possible to generate the block by other code, and then load it into 
> DEM-Engine via a file containg the informations (such as position and 
> radius) of the spheres?
>
> Thank you,
> Weigang
>

-- 
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/1bbd453c-08b6-4339-adcc-09f9abafaccan%40googlegroups.com.

Reply via email to