Hi there,
It's being a few months learning lammps. Still, so many things to learn. I am trying to make a dimer above a certain height from the top surface of the substrate. I made a block 0 6 0 6 4 4 above substrate 0 6 0 6 0 2. And I made a molecular file and I want a dimer to have an orientation of 45 degrees with the z-axis(not the bond angle) on the block above the substrate. The coordinates to define dimer is as follow:
Coordinates
1 0 0 0
2 r*sin(theta)*cos(phi) r*sin(theta)*sin(phi) r*cos(theta)
where theta being 45 and r is the bond length and phi random values between 0 -360 degrees. But it does not make 45 degrees with the z-axis. Hope I made my issue clear. I would appreciate your suggestions to resolve the issue.
Thank you.
Best Regards,
Indiras Khatri