When a solid species (corroded or deposited) is involved in an electrochemical reaction, the solid material can enter or leave the flow domain. Usually the mass transfer of the solid species is small and can be ignored in the continuity equation. However, if you want, you can include the mass source in the continuity equation by using the following Scheme command:
(rpsetvar ‘potential/corrosion-source-in-continuity?
#t)