  Predicting residual stresses has always been a topic of significance due to
its implications in the development of enhanced materials and better processing
conditions. In this work, an analytical model for prediction of residual
stresses is developed for orthogonal machining. It consists of three component
models for force, temperature and stress computation. The Oxley force model and
Waldorf's slip-line model are employed for obtaining cutting force, thrust
force, and temperatures at the shear zone and tool-chip interface for the given
parameters. The Komanduri-Hou two heat source model is used for obtaining the
temperature distribution in the workpiece. The effect of coolant with differing
mass flow rates has also been incorporated. The residual stresses are obtained
by combining the mechanical and thermal components, followed by the loading and
relaxation of the stresses. Optimal values for unknown parameters are predicted
by leveraging a cost function. The residual stress distributions obtained give
a tensile region near the surface for Inconel 718, and a compressive region for
Ti6Al4V, which are in line with experimental results found in literature.
