Studies on Simulation of Wax Deposition in Pipelines