Diffusion and Current Generation in Porous Electrodes for Thermo-Electrochemical Cells.