||This paper presents the use of the trial load method and the block element method with elastoviscoplastic discontinuities for analysis of arch dams. The arch dam is considered as an arch-cantilever system and the foundation as a block element system. With the displacement compatibility condition at the contact surface of the dam and the foundation (including abutment), the governing equations of the arch dam and foundation are established. These methods are used for the analysis of the double curvature arch dam with complex geology conditions of the Xiaowan Hydroelectric Project in China. The deformation and stress states in both the dam body and the foundation are determined. Furthermore, the stability safety factors of the foundation and the abutment are calculated at the same time, which allows for an optimal design of the arch dam considering the strength, the deformation and the stability of the dam and foundation.