Identification of defect locations in forged products using the finite-element method