Some questions about EDEMpy

Ahmed Hadi_20285
Ahmed Hadi_20285 Altair Community Member
edited April 17 in Community Q&A
Dear EDEM community,

As part of the project, I want to calibrate the DEM model using EDEMpy. Previously, I would use EDEM query to generate the .csv files and Matlab to post-process the data. However, to use an automated method for calibration, I am considering using EDEMpy to make the process faster. I have seen the latest post on the Altair website, showing how to create a simulation from scratch. Some aspects are not clear to me yet so I would be grateful if you help me with them:
  • Can we use this EDEMpy's setting functions method to create "any" type of simulation we want from scratch or there are still some limitations? For instance, is it possible to use geometry from a CAD file?
  • Is it possible to automatically create snapshots of the analyst tab without the need to open the EDEM file using EDEMpy?
  • Is it also possible to open and run EDEMpy scripts on an external environment (like Spyder)?
I am looking forward to hearing from you and thanks in advance!

Kind regards,
Ahmed
Tagged:

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited April 17

    Hi Ahmed,

    There are some limitations in the setup of a simulation but we can cover quite a lot of areas in the setup as outlined in EDEMpy Setting Functions Tutorial

    Specific to the geometry import the tutorial covers creation of some geometries however you can also automatically replace geometries with CAD files when you start a simulation, which can be useful when considering optimisation of parts.  This is outlined here:

    How to use EDEM Batch Commands

    We can't create snapshots of the Analyst but Python can create images based on the data however you are essentially creating your own image analysis.  There is also the new option to export images of the Simulator during processing which was released in 2023.1 

    EDEM 2023.1 release

    YOu can use Spyder or any IDE.  Advantage of running the scripts from the EDEM Analyst is that you don't need any python install, other than what is installed by default with Altair, however you can use your own Python version and IDE so long as you also install EDEMpy.  This is outlined in this video:

    Getting Started With EDEMpy (YouTube)

     

    Regards

    Stephen