Modelling hydrogen bubble formation within nanoparticle sludges