Replacing sphere with cylinder in my simulation
We have written a code to plot "friction versus displacement of plate" at the interface between : single spherical particle(with constant load on it) and plate moving with constant velocity.
#######
from yade import plot
MaterialS=
MaterialP=
sp=sphere(
plate=utils.
plateID=
spID=O.
O.forces.
plate.state.vel =(0,.0000167,0) #plate given const. velocity in y direction
#engine
O.engines=[
ForceResett
InsertionSo
Interaction
[Ig2_
#[
#[
[Ip2_
[Law2_
),
NewtonInteg
PyRunner(
]
def addPlotData():
plot.
plot.plots=
plot.plot()
O.dt=.5e-
O.saveTmp()
################
Now we want to replace spherical particle with cylindrical particle.
Kindly help us to generate code for cylindrical particle and and to plot its result.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: