Keivan Esfarjani , Harold Stokes , Safoura Nayeb Sadeghi , Yuan Liang , Bikash Timalsina , Han Meng , Junichiro Shiomi , Bolin Liao , Ruoshi Sun
{"title":"ALATDYN: A set of Anharmonic LATtice DYNamics codes to compute thermodynamic and thermal transport properties of crystalline solids","authors":"Keivan Esfarjani , Harold Stokes , Safoura Nayeb Sadeghi , Yuan Liang , Bikash Timalsina , Han Meng , Junichiro Shiomi , Bolin Liao , Ruoshi Sun","doi":"10.1016/j.cpc.2025.109575","DOIUrl":null,"url":null,"abstract":"<div><div>We introduce a lattice dynamics package which calculates elastic, thermodynamic and thermal transport properties of crystalline materials from data on their force and potential energy as a function of atomic positions. The data can come from density functional theory (DFT) calculations or classical molecular dynamics runs performed in a supercell. First, the model potential parameters, which are anharmonic force constants are extracted from the latter runs. Then, once the anharmonic model is defined, thermal conductivity and equilibrium properties at finite temperatures can be computed using lattice dynamics, Boltzmann transport theories, and a variational principle respectively. In addition, the software calculates the mechanical properties such as elastic tensor, Gruneisen parameters and the thermal expansion coefficient within the quasi-harmonic approximation (QHA). Phonons, elastic constants and thermodynamic properties results applied to the germanium crystal will be illustrated. Using the force constants as a force field, one may also perform molecular dynamics (MD) simulations in order to investigate the combined effects of anharmonicity and defect scattering beyond perturbation theory.</div></div><div><h3>Program summary</h3><div><em>Program Title:</em> ALATDYN</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/4jm4fh2nk2.1</span><svg><path></path></svg></span></div><div><em>Developer's repository link:</em> <span><span>https://github.com/KeivanS/Anharmonic-lattice-dynamics/tree/main</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> GPLv3</div><div><em>Programming language:</em> FORTRAN90</div><div><em>Nature of problem:</em> The ALATDYN suite of codes develops a lattice dynamical model of a crystalline solid. The FOCEX code extracts the model parameters from supercell calculations data on forces versus position and calculates the phonon spectrum, elastic constants and thermodynamic properties within the quasi-harmonic approximation. The SCOP8 code goes beyond QHA and implements the self-consistent phonon theory to minimize the free energy with respect to the strain tensor, atomic positions and harmonic force constants, and thus obtains the state of equilibrium at the given temperature along with the effective phonon bands structure. The THERMACOND code uses the cubic force constants and the crystal symmetries to solve the phonon Boltzmann equation (PhBE) efficiently and deduce the thermal conductivity. Finally, ANFOMOD uses the extracted force constants to perform a molecular dynamics simulation in a supercell.</div><div><em>Solution method:</em> Force constants are obtained from a singular value decomposition (or the ridge regression) method. PhBE is solved by first setting up the collision matrix and effectively inverting it using the conjugate-gradients method.</div><div><em>Additional comments including restrictions and unusual features:</em> This code has the ability to extract force constants up to 8th order provided enough force-displacement data is provided. SCOP8 can thus use them to potentially predict phase changes. Coupling of phonons to magnetic or orbital degrees of freedom is an extension we plan to add to the FOCEX and SCOP8 codes in the future.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"312 ","pages":"Article 109575"},"PeriodicalIF":7.2000,"publicationDate":"2025-03-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465525000785","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
We introduce a lattice dynamics package which calculates elastic, thermodynamic and thermal transport properties of crystalline materials from data on their force and potential energy as a function of atomic positions. The data can come from density functional theory (DFT) calculations or classical molecular dynamics runs performed in a supercell. First, the model potential parameters, which are anharmonic force constants are extracted from the latter runs. Then, once the anharmonic model is defined, thermal conductivity and equilibrium properties at finite temperatures can be computed using lattice dynamics, Boltzmann transport theories, and a variational principle respectively. In addition, the software calculates the mechanical properties such as elastic tensor, Gruneisen parameters and the thermal expansion coefficient within the quasi-harmonic approximation (QHA). Phonons, elastic constants and thermodynamic properties results applied to the germanium crystal will be illustrated. Using the force constants as a force field, one may also perform molecular dynamics (MD) simulations in order to investigate the combined effects of anharmonicity and defect scattering beyond perturbation theory.
Program summary
Program Title: ALATDYN
CPC Library link to program files:https://doi.org/10.17632/4jm4fh2nk2.1
Nature of problem: The ALATDYN suite of codes develops a lattice dynamical model of a crystalline solid. The FOCEX code extracts the model parameters from supercell calculations data on forces versus position and calculates the phonon spectrum, elastic constants and thermodynamic properties within the quasi-harmonic approximation. The SCOP8 code goes beyond QHA and implements the self-consistent phonon theory to minimize the free energy with respect to the strain tensor, atomic positions and harmonic force constants, and thus obtains the state of equilibrium at the given temperature along with the effective phonon bands structure. The THERMACOND code uses the cubic force constants and the crystal symmetries to solve the phonon Boltzmann equation (PhBE) efficiently and deduce the thermal conductivity. Finally, ANFOMOD uses the extracted force constants to perform a molecular dynamics simulation in a supercell.
Solution method: Force constants are obtained from a singular value decomposition (or the ridge regression) method. PhBE is solved by first setting up the collision matrix and effectively inverting it using the conjugate-gradients method.
Additional comments including restrictions and unusual features: This code has the ability to extract force constants up to 8th order provided enough force-displacement data is provided. SCOP8 can thus use them to potentially predict phase changes. Coupling of phonons to magnetic or orbital degrees of freedom is an extension we plan to add to the FOCEX and SCOP8 codes in the future.
期刊介绍:
The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper.
Computer Programs in Physics (CPiP)
These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged.
Computational Physics Papers (CP)
These are research papers in, but are not limited to, the following themes across computational physics and related disciplines.
mathematical and numerical methods and algorithms;
computational models including those associated with the design, control and analysis of experiments; and
algebraic computation.
Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.