Text this: Modelling the effects of porous and semipermeable layers on corrosion processes.