Replies: 1 comment
-
Let's find out 😄 🤟 ❤️ !Generated in the following fashion: m1 = RigidBodyMotion(rotation_axis=np.array([0, 0, 1]),
rotation_angle=np.radians(90),
translation=np.array([0, 0, 0]))
m2 = RigidBodyMotion(rotation_axis=np.array([0, 1, 0]),
rotation_angle=np.radians(45),
translation=np.array([0, 0, 0]))
for i in range(21):
polycrystal.transform(m1, time=0.05)
polycrystal.mesh_lab.save('sample_at_timestep_'+str(i).zfill(3)+'.xdmf')
for j in range(11):
polycrystal.transform(m2, time=0.1)
polycrystal.mesh_lab.save('sample_at_timestep_'+str(j + i).zfill(3)+'.xdmf') So - Yes ! The motion is always in relation to the laboratory coordinate system. Cheers |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I know the documentation says that motion takes place with respect to the origin of coordinates. But just to be 100% sure, if I rotate the sample 90 degrees over [0 0 1] and then rock it during diffraction 5 degrees on [0 1 0], this rotation axis is with respect the laboratory reference system right?
Beta Was this translation helpful? Give feedback.
All reactions