yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15671
Re: [Question #657637]: Applying confinement (rigid boundary) to a cylindrical sample
Question #657637 on Yade changed:
https://answers.launchpad.net/yade/+question/657637
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
you can use walls or facets or boxes. See e.g. [1] for static boundary or [2] for active boundary applying lateral confining pressure.
cheers
Jan
###
from yade import pack, geom
pred = pack.inCylinder((0,0,0),(0,0,0.25),0.10)
sp = pack.randomDensePack(pred,radius=0.01,spheresInCell=300)
O.bodies.append(sp)
facets = geom.facetCylinder((0,0,0.125),0.1,0.25,wallMask=2|4)
O.bodies.append(facets)
###
[1] https://yade-dem.org/doc/yade.geom.html#yade.geom.facetCylinder
[2] https://github.com/yade/trunk/blob/master/examples/concrete/triax.py
--
You received this question notification because your team yade-users is
an answer contact for Yade.