← 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

    Status: Open => Answered

Jan Stránský proposed the following answer:
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

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