Oil transportation in pipelines with the existence of ice