Can i create a factory using EDEM command line or python code?

satri
satri Altair Community Member
edited March 6 in Community Q&A

I have

1.60 (x,y,z) coordinates

2. 60 different orientation matrices and

3. Two different types of meta-particles

(I can sit and do this manually but it will take a long time and changing orientation will be hard)

is it possible to create 60 different factories using the command line or Python? If yes can you please give me the set of commands

Are there any readily available commands that can be used quickly to make this within an hour? I don't want to waste time learning all the commands and figuring out how to create a factory with Python/command line. 

Note: I know it is possible to do with custom factories and particle removal API but due to issues with custom properties in API I don't want to follow this method

Tagged:

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited March 6

    Hi,


    EDEMpy can be used to create geometries and factories.  The EDEMpy documentation is installed to:

    C:\Program Files\Altair\2023.1\EDEM\EDEMpy\help

    Note this is the 2023.1 folder but other versions have the same structure.

    There are options like createFactory and createGeometry listed, the EDEMpy help is the best option but short summary of commands is here:

    https://help.altair.com/edem/EDEMpy/Writing_Data.htm

     

    Regards

    Stephen