yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15700
Re: [Question #657637]: Applying confinement (rigid boundary) to a cylindrical sample
Question #657637 on Yade changed:
https://answers.launchpad.net/yade/+question/657637
Swapnil posted a new comment:
Alright, got it :)
It implies that after I create a facet cylinder using the command:
facets = geom.facetCylinder((0,0,0.125),0.1,0.25,wallMask=2|4)
O.bodies.append(facets)
I need to extract each facet that forms the cylinder and then apply
stress to it. Isn't it?
I guess I have to perform the following.
preStress= -2e4
for f in facets:
f.state.blockedDOFs = 'XYZz'
def addForces():
for f in facets:
n = f.shape.normal
a = f.shape.area
O.forces.addF(f.id,preStress*a*n)
----
and then it should be fine .Please correct me if the above deduction is wrong :)
--
You received this question notification because your team yade-users is
an answer contact for Yade.