Numerical simulation of metallic wire arc additive manufacturing (WAAM)