The method of the solution of gaz dynamical problems in moving meshes