Reservoir modelling and simulation using dynamically optimised meshes