Numerical simulation of mass transfer in a solid oxide fuel cell