Skip to content

Python code to calculate the lattice expansion of any (noncubic) crystal, based on phonon calculations.

Notifications You must be signed in to change notification settings

sabia-group/Code-latticeexpansion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

lattice_expansion

Python script originally written by Vishikh Athavale (05/2017). It calculates the lattice expansion of any (noncubic) crystal at a given temperature. It necessitates at least 10 phonon calculations (corresponding to small displacements of the lattice parameters) as input.

usage: quasihNewApproach.py [-h] [-f [FOLDER [FOLDER ...]]] [-o OUTPUT] [-a A] [-b B] [-c C] [-t [TEMPERATURE [TEMPERATURE ...]]] [-at] [-plt]

Gives the best-fit unit-cell parameters at a given temperature, based on input data of unit-cell parameter from geometry relaxation, and corresponding free-energy of the unit-cell from phonopy.

Please type python quasihNewApproach.py --help for more detail.


                     -----------
                     |IMPORTANT|
                     -----------

The script will print out the 3 optimized lattice parameters x0, y0 and z0. It will also output the hessian and the corresponding eigenvalues. These eigenvalues must be positive! If not, the solution found does not correspond to a minimum. In general, if you observe instabilities, try changing the initial guesses for the lattice parameters. There is usually a large range of initial guesses that will yield the same (stable) solution.

About

Python code to calculate the lattice expansion of any (noncubic) crystal, based on phonon calculations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages