← Back to team overview

yade-users team mailing list archive

Re: [Question #680746]: How to plot the total Force on a Clump

 

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

    Status: Answered => Open

Jessica Soares da Rocha is still having a problem:
I’m so sorry for the script. I want to know how to calculate the total
force acting in a clump. I tried this script but it didn’t work:

def force():
	global force
	if O.iter>0.:
	i=6.
	forca=0.
	while i>5 and i<352:
	forca= forca +O.forces.f(i)[2]
	i=i+1
	return list(force)

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