Compensation dilatation using calculated temperature from velocity