Small programs of physics simulations