Abstract:This paper investigate the excavation process based on finite element software Marc, the subroutine Uactive is developed by the program interface of Marc finite element software, and realized the numerical simulation of excavation process, and the development of subroutines is feasible and reasonable through a simple example instructions.