I want to solve Equation of motions using RK4 in lammps, can this be done using the current lammps commands or do I need to write code? Also what are the benefits of using RK4 instead of verlet algorithm? I'm asking because a lot of papers use RK4.
MD simulations deal with time evolution. For a Hamiltonian with different parts and the parts are not commutative with other, you shall use specially designed algorithm to minimizing the error while keeping the time step not too small. The Verlet and velocity Verlet are such examples. They are also called Suzuki-Trotter decomposition.