Problem when use move/mesh

Submitted by xujiancqu on Tue, 10/30/2012 - 02:29

Dear all:

I use 'fix roch all move/mesh mesh ch rotate/variable origin 0 0 0.6 axis 0 0 1 period 6.28' in in.simulation file in order to rotate 'ch' around the z axis under certain angular velocity.

But I get a error

ERROR: Variable name 1 for fix move/mesh rotate dynamic does not exist (mesh_mover.cpp:328)

How to solve the problem?

My LIGGGHTS is 2.1.X.

xujiancqu | Tue, 10/30/2012 - 02:54

if I use 'rotate' instead of 'rotate/variable', it seem that the period variable means the time period for rotate every 360 degree (2*PI). So, I also can use 'rotate' style to set the angular velocity?

period x in 'rotate' style in same as the period 2*PI/x in 'rotate/variable' style

Am I right?

NielsD | Tue, 10/30/2012 - 07:42

Hello xujiancqu.

If you have a rotation with a constant angularvelocity you take "fix move/mesh rotate" to set the periode. This means the time one rotation takes for 360 degree (2*pi).

The "fix move/mesh rotate/variable" is used for simulations where the angular velocity changes during this simulation.

I hope this helps you.
Greetings

Niels