← Back to team overview

yade-users team mailing list archive

Re: [Question #657905]: Tensile test

 

Question #657905 on Yade changed:
https://answers.launchpad.net/yade/+question/657905

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

1)
some comments

a)
O.bodies.append(facets) #add facets to the body
global plate # name a new geometry "plate" for the application of load
plate=O.bodies [-1] # the last of the particles act as the plate

now plate is one facet from the side of the cylinder, then it moves parallel the cylinder axis. I am not sure if this is what you want..
you can just freeze spherical particles to see it
##
for b in O.bodies:
   if isinstance(b.shape,Sphere): b.state.blockedDOFs = 'xyzXYZ'
#O.run()
##

b)
pulling particles would not work with FrictMat (no cohesion)


2) as the error says, "Fz" is not defined, nothing more. Fz is defined inside addPlotData function and is not visible outside it. plot.addPlotData(Fz=Fz..) is outside this function, where Fz does not exist any more..

cheers
Jan

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