A formulation of nonhydrodynamical model and the numerical method in DIGMO