Hello,
I get an error message when using the fix move/mesh rotate command:
"Fix move/mesh (id rot): only one reference point allowed (fix_move_mesh.cpp:221)"
I'm not sure what his means and I dont know how to solve it.
I got an .stl file, which i first move by
"fix move/mesh linear"
This works fine. After that I unfix this command and use
"fix move/mesh rotate"
where I get the discribed error message.
Regards
Philipp
Attachment | Size |
---|---|
![]() | 8.68 KB |
![]() | 18.68 KB |
brennank | Wed, 01/16/2013 - 20:10
Philipp,
Philipp,
Can we see your full input script? What you describe *should* work, but it's easier to verify with the entire input. Along those lines, what version of LIGGGHTS were you using when it returned this error?
~Kevin
knoe_ph | Fri, 01/18/2013 - 09:38
Hi Kevin,
Hi Kevin,
well basically the problem appears when I'm using a loop:
label loop1
fix press all move/mesh mesh plate linear 0 0 -0.1
fix rot all move/mesh mesh plate rotate origin 0 0 0 axis 0 0 1 period 0.001
run 10000
unfix rot
unfix press
run 10000
jump in.${NAME} loop1
I get the error message at the second run of the loop, so I guess the problem has to something to do with the loop.
ckloss | Fri, 01/18/2013 - 11:12
Philipp, can you please post
Philipp, can you please post the full script? i can have a look then
thanks,.
Christoph
knoe_ph | Fri, 01/18/2013 - 11:38
Hallo Christoph,
Hallo Christoph,
Sure, I addedthe input file + the used stl file in my opening post. The input file might appear a little bit confusing, sorry for that. The last lines of the codes are the oneswhere i get the error message. For the upload of the stl_file i added the extension ".gz" in order to be able uploading it.
I use version 2.2 btw.
Kind regards
Philipp
ckloss | Thu, 01/24/2013 - 17:25
Hi Philipp,
Hi Philipp,
it seems you have the fix move/mesh commands inside a loop, which I think is not what you want. You're replacing a fix by the same fix, which causes the trouble in this case. I'll fix it for the next release.
Cheers Christoph
Cheers, Christoph