← Back to team overview

yade-users team mailing list archive

[Question #669045]: unsure of how to develop voids of different sizes to a dense pack material

 

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

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=Vector3(23.75e-3,1.0e-3,12.5e-3)
RadofCylinder=47.5e-3
rSphere=0.74e-3

# Construct spatial predicate as difference of box and cylinder:
pred=pack.inCylinder((-0.5*boxSize[0],0,0),(0.5*boxSize[0],0,0),RadofCylinder) - pack.inAlignedBox((-0.5*boxSize[0],-0.5*boxSize[1],0),(0.5*boxSize[0],0.5*boxSize[1],0.5*boxSize[2])) - pack.inAlignedBox((-5,-5,-5),(5,5,0))

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.randomDensePack(pred,radius=rSphere,memoizeDb='/tmp/triaxPackCache.sqlite',spheresInCell=14500,returnSpherePack=True)
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

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