Additive Manufacturing Process Simulation and Generative Design-Production of Functional Parts