Unable to rotate two .stl files at a time

shivagoud's picture
Submitted by shivagoud on Tue, 10/17/2017 - 07:14

Hi,

Whenever i am trying to rotate two .stl files at a time, i get an error message saying "mpirun noticed that process rank 2 with PID 12797 on node....(segmentation fault)". But the same code is working when i combine these two .stl files and use it as a single .stl file.
below are the lines i am using in the code to rotate "
fix moving_blade all move/mesh mesh hopper rotate origin 0 0 5.83 axis 1 0 0 period 10
fix moving_blade all move/mesh mesh lid rotate origin 0 0 5.83 axis 1 0 0 period 10
"
Is there a possibility of rotating .stl files?

AJ.Spin | Fri, 10/20/2017 - 15:42

You are assigning your second fix with same id of "moving blade". If I understand correctly what you are saying in the code is: assign this rotate to hopper and then overwriting the command and then saying rotate the lid. i believe some commands need to be unfix if they are being reapplied but my guess is that it is not your intent to overwrite your fix.

Would it help if you named your second fix something other than moving_blade? If you reference this moving_blade id later in your code, make sure you have commands that reference the new id as well.

I was about to start coding model with two rotating geometries so I am interested in knowing if this possible in the public version.

arnom's picture

arnom | Mon, 11/13/2017 - 16:34

Can you provide the full input script with some example geometries?

One issue that surely exists is that you have two fixes with the same id (moving_blade) that refer to different meshes. So that might be causing this issue. You should give them different ids!

DCS team member & LIGGGHTS(R) core developer

shivagoud's picture

shivagoud | Fri, 11/17/2017 - 06:19

Used two different ids and its working :)
Thanks arnom