A Particle Method For Multiphase Mechanics Simulation