Computer simulations of fuel cells