Simulation of partical systems in physycs