← Back to team overview

yade-users team mailing list archive

Re: [Question #707866]: Export velocity and force


Question #707866 on Yade changed:

    Status: Open => Answered

Jan Stránský proposed the following answer:

> I want to know the meaning of coordnumber, ‘Vec’, and ‘Len’.

The code is IMO self-explanatory, but:

b.intrs() -> list of interactions of the body
len(intrs()) -> length ot this list, number of interactions of the body (coordination number)

body force vector

norm of body force vector, body force vector magnitude / length

> In addition, I would like to know which variables can be referenced in
what (dictionary)

any variable you can get in python using "b" as the body instance (or
"i" for interactions, see documentation)

> and how to describe them correctly.

what does "describe" mean?

> 2. The different supported export types like exportContactPoints,
exportSpheres, and exportInteractions.etc.

different "export types" export different entities (spheres, facets,
interactions, contact points)...

> I want to export the force of spheres and facets, and these force
parameters need to be entered into those export types.



[6] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Body.intrs
[7] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.ForceContainer.f

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