yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03141
R: Re: [yade dev] Abour blocked rotation
I think you could type something like this in the Triaxial (when you create the spheres):
if(rotationBlocked) { body->state->blockedDOFs=State::DOF_RXRYRZ; }
Chiara
----Messaggio originale----
Da: jerome.duriez@xxxxxxxxxxxxxxx
Data: 22/01/2010 10.54
A: "yade-dev"<yade-dev@xxxxxxxxxxxxxxxxxxx>
Ogg: Re: [Yade-dev] [yade dev] Abour blocked rotation
(why not sending such messages to yade-users also ??)
Hello Luc,
I gave a quick look to this new version of "NewtonIntegrator" (in
pkg/dem/Engine/GlobalEngine/). I have not already all understood, but I
think you should look at the function "leapfrogSphericalRotate".
I guess with setting correctly the variable blockedDOFs (defined in
core/State.hpp), you could cancel rotations.
Jerome
luc scholtes a écrit :
Hi all,
I can see the rotationBlocked boolean in the TrixialTest and it seems
that it could help me a bit concerning the development of my
JointedRockPM as a prestudy before any moment input (yes, I am
potentially interested too). I have tried to find out where this
boolean is defined and how it works, but without any success...
Does this feature still exist? If not, do you have any suggestion
concerning the way to manage this rotation blockade?
Cheers
Luc
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp
--
Jérôme Duriez
ATER Iut 1 Grenoble, département GMP - Laboratoire 3S-R
04.56.52.86.49 (ne pas laisser de messages sur le répondeur)