A model of continuous dynamic recrystallization