First principles-based calculation of the electrocaloric effect in BaTiO
3: comparison between direct and indirect methods
This work uses molecular dynamics simulations of a first-principles effective Hamiltonian to compute the adiabatic temperature change $\Delta T$ and isothermal entropy change $\Delta S$ for the electrocaloric effect in BaTiO$_3$ under various electric fields. It confirms that direct and indirect methods yield identical results when no first-order phase transition occurs, and shows that a large electrocaloric response is achieved with fields above the critical field strength for the first-order transition. The study also highlights the need to maintain thermal equilibrium during field ramping in the direct method.