Hi all,
I am trying to confine the Langevin thermostat to only the x and y
components of velocity. Before there seems to be an option (axes?) for
choosing axes for thermostatting, but I cannot find that option in the
documentation for the latest version of LAMMPS. Could anyone tell me
whether there is such an option?
Actually I had tried this combination of commands without obtaining
the desired result. This made me think that the temp/partial and fix
modify commands might just change the temperature for thermostatting,
not thermastatting only the selected directions. In other words, they
might just replaced the temperature used for force correction in
Langevin thermostat with a new one, but still have the force
component(s) along the unselected direction(s) corrected by the
thermostat.
Now I believe the combination indeed can thermostat the selected
directions after reading your reply. There must be some other reason
why my simulation result was unexpected.