The size of the function aabbDim() is not calculated correctly

Asked by Zhicheng Gao

I use the aabbWalls to generate 6 walls enclosing the packing, the ids of walls are 0-5. After isotropic compression, I use aabbDim() to calculate the dimensions of the axis-aligned. I find out that they doesn't equal to O.bodies[1].state.pos[0]-O.bodies[0].state.pos[0], O.bodies[3].state.pos[1]-O.bodies[2].state.pos[1] and O.bodies[5].state.pos[2]-O.bodies[4].state.pos[2]. Thus, the result of function porosity() isn't right. Am I right? Thank you!

Question information

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

Hi,

How big is the difference? The spheres overlap with walls, so they may "stick out" a little bit.

Cheers,
Karol

Revision history for this message
Zhicheng Gao (zhichenggao) said :
#2

I think I find the reason why they have a big difference, the time step is too long and there are spheres spilling over walls

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.