A problem of simulation for an adaptive optical system realized as a discrete mirror consisted of a finite number of identical elements is solved Discrete mirrors element is considered as a nonsymmetrique rigid body, the position of which is defined by six generalized coordinates. The control is realized by three paralleles forces applied in fixed points of element or by forces, acting along directions giving in the immobile space. The purpose of control is a displacement of mirrors elements in accordance with variation of wave front set. The method of construction of dynamics equations of the discrete mirrors element as a mechanical system with programmed constraints and corresponding discretization schemes hence-forth are recommended.