A generalized method for parameterization of dissipative particle dynamics for variable bead volumes