Model for integrated process and microstructure simulation in hot forming