Orient in lammps lattice command

Dear lammps users,
I am beginner in lammps, I want to know about lattice command, how to set orientation of the crystal in x y z direction? And how to set misorientation angle in different grains?
Thanks

Dear lammps users,
I am beginner in lammps, I want to know about lattice command, how to set orientation of the crystal in x y z direction?

you have to ask more specific questions. how the lattice command is supposed to work is explained in great detail in the LAMMPS manual. i suggest you read it carefully, experiment with the various settings and look at how this translates into generated geometries.

And how to set misorientation angle in different grains?

you can specify the lattice command multiple times. the create_atoms command will always use the latest lattice definition. the lattice settings have no direct impact on the simulation, but they are only providing a pattern template for atom coordinates and spacings in x, y, and z.

axel.