principal axis of clump

Asked by jsonscript on 2020-09-19

Hello everyone:
    I wonder how yade calculate the principal axis of clump? is there any functions or any sourse codes?

Thanks for your help.

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
2020-10-15
Last reply:
2020-10-15
Jan Stránský (honzik) said : #1

Hello,

> the principal axis of clump

What is "the principal axis"? principle axes of inertia?
What is "clump"? clump of spheres? intersecting or not? clump of non-spherical particles?

the implementation is in core/Clump.*pp files [1,2].
The geometric properties (center of mass, inertia and orientation) is computed in Clump::updateProperties.

There are two main approaches:
- using approximate "voxelization" for the case of intersecting bodies
- using standard analytical formulas for non-intersecting case

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

Jérôme Duriez (jduriez) said : #2

Hi,

By the way, would it be possible to elaborate about the distinction between Clump::updateProperties and Clump::updatePropertiesNonSpherical ?

Jan Stránský (honzik) said : #3

@Jerome: of course :-) actually there are two Clump::updatePropertiesNonSpherical methods. I just did not want to go much in detail (mainly because I do not know the details myself :-D before the question is focused enough.
Another option is to start a separate question on this updatePropertiesNonSpherical topic (or a discussion on yade-dev mailing list or gitlab issue?).
cheers
Jan

jsonscript (jsonscript) said : #4

Hi,
   sorry for reply late..I mean the clump of spheres and principle axes of inertia..did yade have any functions to calculate it directly??

Thanks!

Jan Stránský (honzik) said : #5

> I wonder how yade calculate the principal axis of clump? is there any functions or any sourse codes?

there are functions in the source code [1,2]

> did yade have any functions to calculate it directly??

Yade does have functions to calculate it directly, see [1,2]

cheers
Jan

PS: to get a better answer, please read [3] and provide a good question

[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

Can you help with this problem?

Provide an answer of your own, or ask jsonscript for more information if necessary.

To post a message you must log in.