Numerical Modelling and Optimization in Advanced Manufacturing Processes