[lammps-users] [Help] Unkown orient command

Hi, everyone! I am trying to model a metal crystal with [110] direction along z axis, but it seemed that the command “orient” can not recognized by lammps.

The script is just like:

units metal
dimension 3
newton on
boundary p p p
atom_style atomic

lattice fcc 3.52
orient x 0 0 1
orient y 1 -1 0
orient z 1 1 0

region box …
create_box 1 box
create_atoms 1 box

ERROR: Unkown command: orient x 0 0 1

Can anyone tell me why? Thanks a lot.

The orient params are part of the lattice command - they have
to be on the same line - see the doc page for lattice.