Combined code for wet granular and self-propelled particles