Fabricating the structured lithium metal anode is an effective method to improve the cycling performance and severe safety problem of the lithium metal anode for commercial application. In this work, we have employed an electrochemical phase field (PF) model to simulate the non-uniform lithium deposition in porous lithium metal anodes. Four factors have been investigated to facilitate homogeneous lithium deposition and increase the capacity for the inside-pore lithium deposition, including 1) the porosity of the lithium metal anode, 2) the diffusion coefficient of lithium ion, 3) the reaction constant for lithium deposition and 4) structured electrode with a gradient of porosity. We have found that the inside-pore lithium deposition can be improved by increasing the diffusion coefficient lithium ion and designing a lithium metal anode with a gradient of reaction constants and a gradient of porosity. These results provide some new thoughts for the development of high-performance lithium metal anodes.