Particles orientations

Asked by Chiara Modenese

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:
Last query:
Last reply:
Revision history for this message
Best Bruno Chareyre (bruno-chareyre) said :
#1

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

Revision history for this message
Chiara Modenese (chiara-modenese) said :
#2

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
>

Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#3

You can probably initialize with random values, yes.

Revision history for this message
Chiara Modenese (chiara-modenese) said :
#4

Thanks Chareyre, that solved my question.