The automatic planning method for mainstream velocity line