A computational fluid dynamics model of a solid oxide fuel cell