Numerical study on a heat transfer model in a Lagrangian fluid dynamics simulation