← Back to team overview

yade-users team mailing list archive

Re: About the easiest method to obtain the contact force of each particle?

 

If I understand correctly, you need the same loop as for computing unbalancedForce, don't you?
You can check the code, it's something like :

loop on bodies
{
   ...
   f += Forces[body]
... }

Bruno



I need to write a small routine so that the contact force of each particle can be checked from which I would like to accurately judge its value, if the contact force of one particle is (or close) zero, I should mark it as "quick" condition, suppose all particles are in the fluid. Which list should I look into? The ElasticContactLaw seems to loop over the contact but not for each particle.

Thanks in advance!

Feng Chen
Graduate Student
Department of Civil and Environmental Engineering
223 Perkins Hall
University of Tennessee, Knoxville, 37996
http://fchen3.googlepages.com/home

------------------------------------------------------------------------

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


--

_______________
Chareyre Bruno
Maitre de conference

Grenoble INP
Laboratoire 3SR - bureau E145
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________




References