calculate porosity

Asked by fengjingyu

Hi,

I'm studying porosity.Using voxelPorosity is convenient,but how can i calculate by hands.I have seen i.geom.penetrationVolume in others script.Can this function be used to calculate porosity?For example,sum Volume - (sum i.geom.penetrationVolume)/2.

Thanks,

Feng

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
fengjingyu (fengjing) said :
#1

I forgot to say.I calculate porosity of the PeriTriaxController.So i can obtain the box volume.

Revision history for this message
Jérôme Duriez (jduriez) said :
#2

Hi,

Did you try just porosity() [*] ?

As for penetrationVolume, note that this attribute is defined for some shapes only (not for interacting spheres, for instance).

Jérôme

[*] https://yade-dem.org/doc/yade.utils.html#yade._utils.porosity

Revision history for this message
fengjingyu (fengjing) said :
#3

Thanks Jérôme,

I am using voxelPorosity.But it is not absolutely accurate.So I wonder if there is a way to get the exact amount of overlap.

Feng

Can you help with this problem?

Provide an answer of your own, or ask fengjingyu for more information if necessary.

To post a message you must log in.