Simulation of transport phenomena and melt pool shape for multiple layer additive manufacturing