Angle of repose measurement with EDEMpy

Fatemeh Hosseini_22198
Fatemeh Hosseini_22198 Altair Community Member
edited January 2023 in Community Q&A

Hello everybody,
In order to measure the static angle of repose, I used the EDEM example file: Uncompressible PoorFlow.
To more precisely measure the angle of repose, I wanted to load the "Box angle of repose Tutorial.py" file.
In the text file, I modified these three lines :

#Total simulation time (s)
3
#Domain limits: x_min,x_max,y_min,y_max (m)
-0.25,0.25,-0.25,0.25
#Bin size in x and y (m)
0.05,0.05

But an error occures :

for n in range(len(deck.creatorData.h5PTypes)):
AttributeError: 'list' object has no attribute 'h5PTypes'

 

Please advise me on how to solve this problem.
Is it as a result of using Uncompressible PoorFlow example files instead of Static angle of repose ?

In my opinion, I can use Uncompressible PoorFlow files in order to measure angle of repose too. Please tell me if I am wrong.


Regards,
Fatemeh

 

 

Tagged:

Best Answer

  • Renan
    Renan
    Altair Employee
    edited January 2023 Answer ✓

    Hi Fatemeh,

     

    This script seems to be using an old version of EDEMpy. If you're using a newer version of EDEMpy deck.creatorData[0].h5PTypes should fix this.

    Hope this helps you.

     

    Best regards,

    Renan

Answers

  • Renan
    Renan
    Altair Employee
    edited January 2023 Answer ✓

    Hi Fatemeh,

     

    This script seems to be using an old version of EDEMpy. If you're using a newer version of EDEMpy deck.creatorData[0].h5PTypes should fix this.

    Hope this helps you.

     

    Best regards,

    Renan