How to develop voids of different sizes to a dense pack material
Hi all,
I'm trying to develop a geopolymer foam concrete model with a semi-circular bend shape with a notch at its center. It follows the Brazilian SCB test. I am very new to Ubuntu and programming and I'm struggling to even code this model out.
Like I mentioned, the model of this foam concrete is semi-circular with a notch. I've coded this using the following code
# Notch dimensions with cylinder and mortar radius
boxSize=
RadofCylinder=
rSphere=0.74e-3
# Construct spatial predicate as difference of box and cylinder:
pred=pack.
The mortar particles are of radius = 0.074mm. Using a randomDensePack(), I'm able to achieve a dense concrete semi-circular shape with a notch shown below.
# Use the predicate to generate sphere packing inside
sp=SpherePack()
sp=pack.
sp.toSimulation()
# to see it
from yade import qt
qt.Controller()
qt.View()
I'm currently stuck at trying to form air voids with size of rMean = 2.5mm and rRelFuzz = 1.7mm with approximately 600 of these particles randomly placed in the semi-circular shape. I was advised to subtract a spherepack from the pred I created earlier but that didn't really work out. I've also tried creating a sphereCloud pack but it collides with the dense pack that I created earlier. How can I subtract these void particles from the densepack to have a porous appearance
It would be awesome if someone could assist me in this area! Thanks in advance
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: