6.3 Harmonic free energy, heat capacity, and entropy
These are unexecuted teaching inputs and starting settings to test. Original figures are schematics, not computed results. Use licensed VASP and PAW data, replace every placeholder, record the executable version and validate convergence.
6.3.1 Model, units and provenance
Use eV for energy, Å for length and eV/Å for force; 1 kbar = 0.1 GPa. State normalization per atom, molecule, primitive cell or simulation cell. Record PAW identifiers, release, ZVAL, ENMAX and permitted hashes; never redistribute POTCAR. SCF convergence addresses the chosen electronic problem; convergence of the target property requires separate tests.
Original schematic. Curves explain concepts; blank data areas await verified learner results. No calculation is claimed.
6.3.2 Worked case: procedure, interpretation and checks
From a spectrum to thermodynamics
A phonon spectrum is a catalogue of collective quantum oscillators. Low-frequency oscillators are thermally populated more easily than high-frequency ones. The harmonic approximation treats these oscillators as independent, with frequencies fixed at one cell volume. Phonopy performs the statistical-mechanics integration using force constants obtained from VASP forces or DFPT. VASP's electronic smearing entropy is not this vibrational entropy.
Let λ denote q and branch, wq the Brillouin-zone weights normalized so Σq wq=1, and xλ=ℏωλ/(kBT). For positive-frequency modes:
Fvib(T) = Σλ wq [ℏωλ/2 + kBT ln(1−exp(−xλ))]
Uvib(T) = Σλ wq ℏωλ [1/2 + 1/(exp(xλ)−1)]
Svib(T) = (Uvib−Fvib)/T
Cv(T) = kB Σλ wq xλ² exp(xλ)/(exp(xλ)−1)².
These sums give quantities per primitive cell when the branches belong to that cell. At T=0 use the limiting form rather than dividing by zero: Fvib=Uvib=zero-point energy, and entropy tends to zero for the nondegenerate harmonic ground state. The exact acoustic zero at Γ is handled by a continuum/integration limit; a literal logarithm of zero is not a valid numerical implementation.
Workflow
Start from the converged, stable force constants in 6.1 Finite-displacement phonons with Phonopy or 6.2 DFPT phonons. Do not replace a Brillouin-zone integration by a high-symmetry band path.
- Specify the primitive cell, mass/isotope choice, and normalization. Count 3n branches and verify the integrated DOS normalization used by the plotting tool.
- Choose a phonon q mesh, initially perhaps 16×16×16, then 24×24×24 and denser as needed. Low-temperature heat capacity is sensitive to small-q acoustic sampling.
- Run the thermal integration with a declared temperature grid. A configuration-file example is shown below; use the installed Phonopy version's supported syntax.
- Inspect
thermal_properties.yamland its units rather than inferring units from plot scale. Convert consistently if combining with VASP energies. - For phase comparisons, add the same type of static electronic energy to each Fvib and normalize both phases to identical composition. At fixed volume the sum is Helmholtz free energy; it is not automatically Gibbs free energy at ambient pressure.
Temperature range here is a worksheet choice, not proof that the material or harmonic model is valid to 800 K. Common Phonopy outputs use kJ/mol for free energy and J/(K mol) for entropy and heat capacity, with the mole referring to the chosen primitive-cell normalization. One eV per cell corresponds to approximately 96.485 kJ per mole of those cells. If the primitive cell contains z formula units, divide cell-normalized quantities by z before presenting “per mole of formula units.” Check metadata because a different primitive-cell selection changes the numerical normalization.
Sanity tests and limitations
At high temperature the harmonic lattice Cv approaches 3n kB per primitive cell, or 3nR per mole of cells. At low temperature, a stable three-dimensional bulk crystal with linearly dispersing acoustic modes approaches Debye-like T³ behavior within its applicability range. A sparse mesh can produce an artificial low-temperature plateau or gap. These limits differ for reduced-dimensional systems and unusual dispersions.
For a stable set of positive modes, Cv should not become negative. Fvib generally decreases with temperature because −∂F/∂T=S≥0. Its absolute value may become negative; that is not a problem because free energy includes entropy. The model omits explicit phonon–phonon interactions, thermal expansion, electronic excitations, configurational disorder, and magnetic entropy unless these are separately included. Cv is not Cp. Imaginary modes make the standard harmonic partition function ill-defined; deleting them creates an uncontrolled modified model.
Exercise: plot Cv/(3nR) versus temperature for two q meshes, and separately plot ΔF between two phases per formula unit. Estimate a numerical uncertainty band from mesh and force-constant convergence. Decide whether an apparent crossing is larger than that uncertainty before claiming a transition.
6.3.3 Unexecuted inputs and analysis scaffolds
These are unexecuted teaching inputs and starting settings to test. Original figures are schematics, not computed results. Use licensed VASP and PAW data, replace every placeholder, record the executable version and validate convergence.
6.3.3.1 Input block 1
# External Phonopy thermal.conf; assumes matching structure/force constants
MESH = 24 24 24
TPROP = .TRUE.
TMIN = 0
TMAX = 800
TSTEP = 10
6.3.4 Related learning paths
- 1.1 Four input files, one physical question
- 1.2 A convergence laboratory with an error budget
- 6.2 DFPT phonons
- 6.4 Quasiharmonic thermal expansion