yade-users team mailing list archive
Mailing list archive
[Question #681904]: Apply constant stress on aabb walls
New question #681904 on Yade:
I was trying to apply constant stress to a flat surface using setPermF and aabb walls parallel to the xz plane. However, I'm getting this error message: AttributeError: 'ForceContainer' object has no attribute 'setPermF'. Does anyone know what I am missing here?
wall = O.bodies.append(utils.aabbWalls(material=wall,thickness=0.000,color=(1,1,1)))
# delete other walls only save walls in y axis
bottom_wall = O.bodies[wall]
bottom_wall.state.blockedDOFs = 'xzXYZ'
bottom_wall.state.mass = 1
upper_wall = O.bodies[wall]
upper_wall.state.blockedDOFs = 'xzXYZ'
upper_wall.state.mass = 1
force = 40e6*0.02*0.02 #stress*area
O.forces.setPermF(bottom_wall.id, (0,force,0)) #bottom_wall.id
You received this question notification because your team yade-users is
an answer contact for Yade.