Shear force histogram
hi all, I want to create shear force histogram. So I thought of the following script to use for calculation and plotting the shear force histogram. my question is that is the algorithm presneted correct or not? thank for you help.
my script:
def Sintrhisto():
# axis normal to the plane in which we do the histogram
pylab.clf()
axis=2 # x, i.e. plot the xy plane
ax1,ax2=
angles,
for z in O.interactions:
if not z.isReal: continue
if z.id1<6 or z.id2<6: continue
norm=
if norm[ax1]==0:
angle=0
force=
else:
angle=
force=
angles.
forces.
pylab.figure()
values,
subp=pylab.
pylab.
pylab.
pylab.plot()
pylab.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sina Jafari
- Solved:
- Last query:
- Last reply: