aabbDim() and Triax.box volume difference ?

Asked by ahmad mostafa

Hello,

I have a question concerning the packing total volume which can be calculated by many methods depending on the engines you are using :
1-aabbDim()[0]*aabbDim()[1]*aabbDim()[2]
2-triax.boxvolume

the first one is calculated due to wall position and the second is found on the triaxstresscontroller ?
To be consistent these two values should be equal but unfortunately they are not ?

Can anybody help please to explain to me why they are not equal ?

Cheers,
Ahmad

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Karol Brzezinski
Solved:
Last query:
Last reply:
Revision history for this message
Best Karol Brzezinski (kbrzezinski) said :
#1

Hi Ahmad,

could you provide the MWE (Minimum Working Example)[1] that shows the difference that you are talking about?

1 - aabbDim() computes dimensions of a minimum axis aligned bounding box containing all the spheres from the simulation.
2 - triax.boxvolume probably computes volume from periodic cell dimensions.

There are multiple reasons to get different results (e.g using non-spherical particles in the simulation, the cell is not fully filled with spheres, particles are 'outside' the cell, etc.).

Cheers,
Karol

[1] https://www.yade-dem.org/wiki/Howtoask

Revision history for this message
ahmad mostafa (ahmadmo) said :
#2

Thanks Karol Brzezinski, that solved my question.