Flow, Thermal and Electrochemistry Simulation of Batteries