Numerical method applied to duplex stainless steel welding