← Back to team overview

yade-users team mailing list archive

Re: [Question #697615]: displacement vs friction graph plotting

 

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

Pawan gave more information on the question:
#creating sphere
sp=sphere((0,0,0),1) 
#sp.state.blockedDOFs = "xyzXYZ"

#creating plate
plate=box((0,0,-1.1),(10,10,.1))

#adding sphere and plate
O.bodies.append(sp)
O.bodies.append(plate)

#providing plate velocity
plate.state.vel =(0,.002,0)

#normal force on sphere
sp.setPermF(5,(0,0,-1))

#tribology
mat = FrictMat(frictionAngle=0.5)
O.materials.append(mat)


O.dt=dtSafety*PWaveTimeStep()
print('Timestep',O.dt)

O.engines=[
	ForceResetter(),
	InteractionLoop(
   		[Ig2_Box_Sphere_ScGeom()],
   		[Ip2_FrictMat_FrictMat_FrictPhys()],
   		[Law2_ScGeom_FrictPhys_CundallStrack()]
	),
]

We have completed code till here. How can we  plot "Displacement of
plate versus mag. of Friction at interface"

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