Wound healing is a process driven by biochemical and mechanical variables in which a new tissue is synthesised to recover original tissue functionality. Wound morphology plays a crucial role in this process, as the skin behaviour is not uniform along different directions. In this work, we simulate the contraction of surgical wounds, which can be characterised as elongated and deep wounds. Because of the regularity of this morphology, we approximate the evolution of the wound through its cross section, adopting a plane strain hypothesis. This simplification reduces the complexity of the computational problem; while allows for a thorough analysis of the role of wound depth in the healing process, an aspect of medical and computational relevance that has not yet been addressed. To reproduce wound contraction, we consider the role of fibroblasts, myofibroblasts, collagen and a generic growth factor. The contraction phenomenon is driven by cell-generated forces. We postulate that these forces are adjusted to the mechanical environment of the tissue where cells are embedded through a mechanosensing and mechanotransduction mechanism. To solve the nonlinear problem, we use the finite element method (FEM) and an updated Lagrangian approach to represent the change in the geometry. To elucidate the role of wound depth and width on the contraction pattern and evolution of the involved species, we analyse different wound geometries with the same wound area. We find that deeper wounds contract less and reach a maximum contraction rate earlier than superficial wounds.