Rotate Region

Submitted by berlinphoenix on
mschramm

the rotate command needs to use a v_{var_name} style command

variable rot_theta equal 1.0
region reg1 cylinder y 1.0 -1.0 0.35 4.75 5.25 units box rotate v_rot_theta 0.0 0.0 0.0 0.0 1.0 0.0

Mon, 20 Jul 2020 - 17:22 Permalink

Hi, i want to rotate a region i defined for post-processing purposes. I use:

region reg1 cylinder y 1.0 -1.0 0.35 4.75 5.25 units box rotate 1.0 0.0 0.0 0.0 0.0 1.0 0.0

However on execution i get the error "illegal region command". What is wrong, i thought i could rotate a region as described in "region command" documentation.

Thanks!