Numerical modelling of the dissolution of composite particles