Simulation of a porous ceramic membrane reactor for hydrogen production