← Back to team overview

yade-users team mailing list archive

[Question #707788]: Porosity in rotated measuring area


New question #707788 on Yade:

Hello dear YADE community,

I would like to determine the porosity locally in a delimited area in the experimental space on which my simulation is based. In principle, the command "voxelPorosity()" seems to be well suited for this purpose [1]. The application of the command itself works quite well. 
If I have understood the command correctly, the area to be analyzed with the given vertices is spanned by a cuboid, parallel to the coordinate axes [2]. However, I am afraid that my further requirements can thus not be completely fulfilled:
I want to sample a cylindrical experimental space locally with respect to porosity. This means for the porosity determination that I want to rotate this cuboid or here specifically as a cube around the z-coordinate. For this rotation I can for example specify a quaternion with, which the "voxelPorosity()".however does not pick up. How can I determine the porosity of a cube (filled with spherers) rotated around the z-axis?

I am looking forward to help and hope to find a solution to the problem,
with best wishes, Paul

[1] https://answers.launchpad.net/yade/+question/690057
[2] https://answers.launchpad.net/yade/+question/384899

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