Region orientation and Prism command

Submitted by SHUBHAM AGARWAL on
richti83

The script parser can not compute any formula, you need to do this in a variable

variabe dummy3 equal ${dummy2}+${blade_particle_diameter}
region bc_blade prism ${dummy2} ${dummy3} -${blade_particle_radius} ${blade_particle_radius} 0 ${blade_length} 0 0 ${blade_particle_radius} units box

Thu, 5 Nov 2020 - 21:26 Permalink

Hi
I am using LIGGGHTS - flexible fibers version
I am defining a prism region using the following command:
variable dummy2 equal 1.01*${beam_length}

region bc_blade prism ${dummy2} ${dummy2}+${blade_particle_diameter} -${blade_particle_radius} ${blade_particle_radius} 0 ${blade_length} 0 0 ${blade_particle_radius} units box

All the variable are defined tin the code, however I am encountering the following error;
Illegal region prism command

How it can be solved??

SECOND Doubt:
I can also define a cylindrical region, however i can orient it in either x,y or z. Is there a way to orient it along other specific vector

Thanks