2D and 3D numerical modelling