Abstract: In the numerical manifold method developed by Genhua Shi,two types of mesh systems,mathematical covers and physical covers,are involved. Mathematical covers constitute the whole interpolation domain while physical covers are used to define the integral domain. Pre-process of computational model used for numerical manifold method is usually difficult in practical applications. Although some efforts have been made in past,there is lack of efficient solving algorithms. Therefore,a computer-based technique of automatic mesh generation especially adapted for numerical manifold method is developed in this paper. In the proposed method,mathematical covers are kept to be invariants independent of the constitutive media which may continuous or discontinuous. Mathematical meshes of numerical manifold method can be automatically generated by using the same mesh-generation technique as employed in finite element methods while physical meshes are generated by virtue of objective-oriented programming. An effective algorithm is presented for implementation of the proposed technique. It is shown through an example analysis that both the proposed technique and numerical algorithm are practically feasible and effective for the numerical manifold method.