International audienceThe free energy of barium titanate is computed around the Curie temperature as a function of polarization (P)over right arrow from the first-principles derived Effective Hamiltonian of Zhong, Vanderbilt and Rabe [Phys. Rev. Lett. 73 (1994) 1861], through Molecular Dynamics simulations coupled to the method of the Thermodynamic Integration. The algorithms used to fix the temperature (Nose-Hoover) and/or the pressure/stress (Parrinello-Rahman), combined with fixed-polarization molecular dynamics, allow to compute a Helmholtz free energy (fixed volume/strain) or a Gibbs free energy (fixed pressure/stress). The main feature of this approach is to calculate the gradient of the free energy in the 3-D space (P-x, P-y, P-z) fr...