Particles orientations

Asked by Chiara Modenese on 2012-02-20

Hi there,

is there a way to store in the code the initial orientation of the particles and to call this (non-updated) value later inside the contact law and/or ScGeom?

Thanks!
Chiara

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Bruno Chareyre
Solved:
2012-02-20
Last query:
2012-02-20
Last reply:
2012-02-20

This:
https://www.yade-dem.org/doc/yade.wrapper.html?highlight=refori#yade.wrapper.State.refOri
is only used for displacement scaling in post-processing currently. Use
it as you wish, it will be harmless.

Bruno

On 20/02/12 15:00, Chareyre wrote:
> Your question #188297 on Yade changed:
> https://answers.launchpad.net/yade/+question/188297
>
> Status: Open => Answered
>
> Chareyre proposed the following answer:
> This:
> https://www.yade-dem.org/doc/yade.wrapper.html?highlight=refori#yade.wrapper.State.refOri
> is only used for displacement scaling in post-processing currently. Use
> it as you wish, it will be harmless.
OK, will try it. Do you think it could also be easily initialized in a
random manner, say during as particles are generated? I would need to
generate particles with initial random orientation (as a reference).

> Bruno
>

You can probably initialize with random values, yes.

Thanks Chareyre, that solved my question.