deformation in "x y z" all at once

Dear all,

I have a cubic simulation box and I would like to deform it in all three principal directions simultaneously. It looks like though that one can only perform “fix deform” in each one of these directions one at a time. Does anybody have any idea for other ways of doing that?

regards,

– Hamid

Dear all,

I have a cubic simulation box and I would like to deform it in all three
principal directions simultaneously. It looks like though that one can only
perform "fix deform" in each one of these directions one at a time. Does
anybody have any idea for other ways of doing that?

since fix deform is (unlike fix npt) not connected
to any form of dynamics, what stands against
just defining fix deform multiple times?

axel.

Hi Alex,

Thanks for your prompt response!

I have tried that but I get an error message which reads:

“ERROR: More than one fix deform”

– Hamid

Dear Hamid,

You may deform box in several dimensions simultaneously within one fix
deform, e.g.
fix 1 all deform 1 x final 0 10 y final 0 10 z final 0 10 units lattice

Best regards,
Vasily