🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Is it possible to speed up a Python script that calculates mixing index?

User: "Jeroen Emmerink"
Altair Community Member
Updated by Jeroen Emmerink

Hi community,

At the moment, I am running an adjusted version of the Python script uploaded by Stefan Pantaleev "Script for computing the temporal evolution of the Lacey mixing index for a binary mixture of particles in EDEM". My goal with exploiting the adjusted Python script is to calculate the Relative Standard Deviation (RSD) for a double shaft paddle mixer, with a grid size yet to be determined. A total number of approx. 3 million spherical particles is present in the system with a diameter of 5mm and 15mm. Simulation time takes around 30 seconds with a target save interval of 0.2.

As running the script takes quite an amount of time (order of hours), I am wondering if it is possible to speed up the Python script. And if so, in what way could I do so? I am aware of one possible solution; reducing target save interval to minimize data points considered.

Thanks in advance!

 

Find more posts tagged with