PhD thesis: Numerical modelling of oil spills