Hi Folks,
In this discussion, I will provide my Python code for everyone interested in working with DEM in PFC software.
The calibration process in DEM modeling is highly time-consuming, requiring researchers to continuously monitor their computers and adjust their models through trial and error.
This process can be significantly streamlined by developing a Python script that runs in both PFC3D and 2D software. This script can manage other model scripts, run the model, save images, export data, and even adjust micro-parameters with new inputs!
All you need to do is define a range of possible inputs and run the Python script. It takes a few hours to input all your data into the model during each iteration. Finally, you can compare the outputs with the expected results.
I hope this code will assist you in your future DEM modeling endeavors.