Macroscopic and mesoscopic modeling based on the concept of generalized stresses for cutting simulation