want to fix lattice vector

hello all,

i want to fix lattice vector in x and y direction and want to change my dimension in z direction only.

can anyone suggest me method for doing that?

thanks in advance…

hello all,

i want to fix lattice vector in x and y direction and want to change my
dimension in z direction only.

can anyone suggest me method for doing that?

there is an old joke that applies to this:

doctor, doctor! it hurts, when i do _this_!
well, don't do it, then!

translated to LAMMPS, this means:
you have to have a command in your input that modifies your box
dimensions. look up its documentation and configure it, so it won't
change the z-direction, only x- and y-direction.

axel.

Possible commands are change_box (one time change)

and fix deform (continuous change during a simulation)

Steve