Region orientation and Prism command

Submitted by SHUBHAM AGARWAL on Tue, 11/03/2020 - 20:47

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

richti83's picture

richti83 | Thu, 11/05/2020 - 21:26

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

I'm not an associate of DCS GmbH and not a core developer of LIGGGHTS®
ResearchGate | Contact