In a relatively low stress environment, the D-shaped cross section can improve the stability of the tunnel, while it is not conducive to the stability of the tunnel in a high stress environment. The result of this study benefits the design and prevention of spalling and rockburst of hard rock tunnels.