How to calculate 2D porosity or void ratio?
Asked by
Ran Tu
Dear all:
I am simulating a compression of 2D soil to achieve a desired porosity by blocking zXY of all spheres. Here, z denotes the ignored direction.
However, it is not clear for me how to measure porosity or void ratio of 2D model.
1. It seems that utils.porosity() is only suitable for 3D model.
2. Maybe utils.voxelPoro
Could anyone please give some advice to use a proper function or code to calculate the 2D porosity/void ratio?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ran Tu for more information if necessary.
To post a message you must log in.