Modelling of hydrogen induced pressurization of internal cavities