Finite Element Simulation of Temperature Field in Fused Deposition Modeling