The cluster expansion is a widely used approach for predicting the finite-temperature thermodynamics of alloys from zero-kelvin first-principles calculations, but its conventional formulation becomes intractable for materials with more than three or four chemical species. High-entropy alloys have therefore remained largely out of reach. We present pyeCE, an open-source Python library that implements the embedded cluster expansion (eCE), in which machine learning maps many chemical species onto a smaller set of effective species and thereby limits the growth in the number of cluster functions. pyeCE provides the complete modeling workflow, including the construction of symmetry-adapted descriptors with a learnable per-sublattice chemical embedding, a neural-network energy model, ladder-based training, uncertainty quantification, and finite-temperature simulations through Monte Carlo sampling. Built on the PyTorch and pymatgen libraries, it supports systems with multiple species on multiple sublattices and runs on graphics processing units. We demonstrate the package on two material systems. In the first, a single model spanning the full composition space of a 9-component refractory alloy resolves short-range order and order--disorder behavior. This model enables rapid screening for compositions with strong Cr clustering, a feature linked to the formation of a continuous, corrosion-resistant oxide scale. In the second, a model of hydrogen dissolution in a Mo--Nb--W alloy reproduces the composition dependence of hydrogen uptake and resolves the interstitial environments that hydrogen occupies. The modular design of pyeCE allows it to be extended to problems beyond alloy thermodynamics, including kinetics, defect energetics, and the coupling of chemical order to magnetic and vibrational degrees of freedom.
Despite the robust ecosystem, ease of use, and flexibility offered by Python, most of the current popular quantum chemistry codes are still developed in Fortran, C, or C++, due to their speed advantage over Python. Furthermore, the tedious compilation process acts as a barrier for many aspiring beginners. PySCF and Psi...
Manas Sharma, Marek Sierka· Journal of Physical Chemistr...· 1 citation
Atomic clusters serve as the embryos of materials, yet their enormous and compositionally complex chemical space has long hindered systematic exploration of thermodynamic stability. Here, we show that a unified first-principles and machine-learning framework enables large-scale mapping of transition metal cluster therm...
Ning-Zheng Li, Zi-Yue Wang, Zi-Yu Li et al.· Nature Communications· 0 citations
Introduction:
Determining lattice parameters is crucial for characterizing crystalline materials, as these constants dictate their physical and chemical behavior. While Rietveld refinement is the standard, it can be unnecessarily complex when the goal is limited to finding lattice parameters, particularly for low-sy...
Jones Soares, Jobson Soares· Academia Materials Science· 0 citations
ThermoLIB is a Python/Cython library designed to be used as a postprocessing tool for constructing free-energy surfaces, including adequate error estimation from the output of molecular simulations, transforming them between different collective variables (CVs), and extracting thermodynamic and kinetic information. T...
M. Bocus, L. Vanduyfhuys· Journal of Chemical Informat...· 0 citations
Conceptual density functional theory (CDFT) defines chemical reactivity descriptors as derivatives of the electronic energy with respect to the number of electrons and the external potential, or combinations thereof; in practice, however, researchers almost always replace these derivatives with finite-difference and fr...
Bin Wang, P. Geerlings, Paul W. Ayers et al.· 0 citations
This tutorial presents a comprehensive computational framework for predicting four-phonon scattering processes and the associated phonon thermal conductivity, and demonstrates that the severe computational bottlenecks traditionally associated with establishing parameter convergence can be effectively mitigated by integ...
Ankit Jain, Rajan Kumar, Jyotishraj Thoudam et al.· Journal of Applied Physics· 1 citation
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.