← Back to team overview

yade-users team mailing list archive

[Question #691255]: voxelPorosity

 

New question #691255 on Yade:
https://answers.launchpad.net/yade/+question/691255

hi all,
 I want to use this command to calculate the local porosity (yade._utils.voxelPorosity).[1]
##############################################################
yade._utils.voxelPorosity([(int)resolution=200[, (Vector3)start=Vector3(0, 0, 0)[, (Vector3)
end=Vector3(0, 0, 0) ]]]) 
##############################################################
it mentioned that  Vv is volume of voxels that fall inside any sphere. 

Here is my question:  I want to simulate the CPT process.[2]
as you can imagine, the shaft will go down to the sample (here the sample is made by the sphere particles).

If I set the start vector and end vector which will include the shaft sometimes. that is to say,  spheres and part of the shaft (made by the geom.facetCylinder) are in this measurement region (the cubic region made by the start and end vector) at the same time.


does this command can still calculate the local porosity? 

Is the Vv still the volume of voxels that fall inside and sphere only? 
Or the volume of the spheres + the volume of the shaft that falls in that measurement region? (how does this command deal with the Vv?)


best,
yong

references:
[1] https://yade-dev.gitlab.io/trunk/yade.utils.html?highlight=yade%20_utils%20voxelporosity#yade._utils.voxelPorosity

[2]https://en.wikipedia.org/wiki/Cone_penetration_test

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.