calphy(pronounced cal-phee) is a Python library and command line
tool for calculation of free energies. It uses
LAMMPS as the molecular dynamics driver to
enable calculation of free energies using thermodynamic integration in a
completely automated and efficient manner. The various methods that
calphy can perform are:
\(F(V_i,T_i)\) and \(G(P_i,T_i)\) for both solid and liquid phases at the given thermodynamic conditions using non-equilibrium Hamiltonian interpolation.
\(F(T_i \to T_f)\) and \(G(T_i \to T_f)\), temperature dependence of Gibbs and Helmholtz free energies using the reversible scaling approach.
Calculation of solid-solid or solid-liquid phase transition temperatures.
Calculation of coexistence lines using dynamic Clausius-Clapeyron integration.
Calculation of specific heat \(c_P(T)\) as a function of temperature.
Calculation of \(F(x, T)\) and \(G(x, T)\) for multicomponent systems using alchemical transformations.
Calphy works with all interatomic potentials implemented in LAMMPS and can obtain reliable results with low error bars in as low as 50 ps of simulation time with less than 3000 atoms. More information about the methods in calphy can be found in the associated publication.
- main keys
calphyon computing clusters
- Example 01: Calculation of free energy
- Example 02: Phase transformation in Fe
- Example 03: Manual calculation of Cu melting temperature
- Example 04: Automated calculation of melting temperature
- Example 04: Pressure-temperature phase diagram of Cu
- Example 06: Running
calphyfrom jupyter notebooks
- Example 07: Upsampling calculations
- Example 08: Temperature scaling two ways
- Example 09: Pressure scaling