← Back to team overview

yade-users team mailing list archive

Re: [Question #692998]: principal axis of clump

 

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

Jan Stránský posted a new comment:
I had a look in documentation. All we discussed (expect long axis) is
there.

How inertia is treated for non-spherical particles (including clumps) is explained at [4].
How properties of clumps is evaluated is explained at [5] (and of course in [1,2]).
Please read it first.

Also try to be consistent and clear. Almost every new post, you are
jumping to different topics:

- principle axes of inertia
- long(est) axis
- inertia tensor

- source code
- functions for direct calculations
- what something does mean
- how yade does something
- ...

Every second post is unclear and needs clarification..

It is then really difficult to give some reasonable answer..

If you want to continue, please:
- read [3] again and start to follow the suggestions ("Try to describe your problem in a concise and accurate way", "Do not merge different questions in one single post", "Train your empathy on this example")
- provide a good and clear question (requested in #5)
- provide an example (requested in #7), sample input and expected output. For this case, an example would solve all the confusion, something like:
"""
I have this simple artificial clump. I want to compute ......, the result should be ......
###
s1 = sphere((0,0,0),1)
s2 = sphere((1,1,1),2)
O.bodies.append((s1,s2))
clump = O.bodies[2]
# the result should be the inertia matrix Matrix3(......), how to do it in Yade?
"""

cheers
Jan

[1] https://gitlab.com/yade-dev/trunk/-/blob/master/core/Clump.hpp
[2] https://gitlab.com/yade-dev/trunk/-/blob/master/core/Clump.cpp
[3] https://www.yade-dem.org/wiki/Howtoask
[4] https://yade-dem.org/doc/formulation.html#orientation-aspherical
[5] https://yade-dem.org/doc/formulation.html#clumps-rigid-aggregates

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