Rotating region

Submitted by bern on Fri, 08/16/2019 - 12:37

Hello everybody,

I have a question about the rotate keyword in the region command.
If I use the rotate keyword, is the region constantly moving or is it a stationary region, just rotated by v_theta every timestep?
And if I want to calculate the angle v_theta form the rotating velocity omega, how do I specify the time?

Thank you in advance.

mschramm | Wed, 08/21/2019 - 17:24

in the docs,
there are two rotate keywords, one for a mesh region, where rotate simply rotates the mesh to a specific spot.
Then there is the rotate keyword for the region that rotates the region at a specific rate per time step, where v_theta defines the rotation speed in radians/sec, Px, Py, and Pz are the point origin for the rotation, and Rx, Ry, and Rz defines a vector in which the region rotates using the right hand rule.