← Back to team overview

yade-users team mailing list archive

Re: [Question #691771]: Contact forces of Polyhedra

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
> I have minimize my script

Please read my comments in previous answer and try to create a true MWE,
focusing on M

> 1. In one it means both the equations used for computation and how to
get this values

Theory: [3], Elias2013, Elias2014
Get: see below

>  yes the outcome results means the contact forces

(as you already have in your script):
fn = i.phys.normalForce
fs = i.phys.shearForce

"i" could be "for i in O.interactions" or "i=O.interactions[id1,id2]"

> and how to print them.

use standard Python print:
print(fn,fs)

cheers
Jan

[3] https://www.yade-dem.org/doc/publications.html

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