I wonder what is the input format of elastic constant matrix in settings.yaml file?
I checked the manual in the website and example files.
The unit of these elastic constants are not mentioned, I guess maybe in GPa (it’s kbar in OUTCAR, but usually we find GPa in papers).
The index issue.
In VASP, the format in OUTCAR is like :
TOTAL ELASTIC MODULI (kBar)
Direction XX YY ZZ XY YZ ZX
XX … … … … … …
YY … … … … … …
ZZ … … … … … …
XY … … … … … …
YZ … … … … … …
ZX … … … … … …
Found in wiki, the stiffness tensor C_ij, C_44 is for YZ, C_55 for XZ, C_66 for XY.
The C_44,C_55,C_66 are at different positions.
Thank you! Alex.
I finally figure out this.
Maybe add this detail to the manual webpage is a simply way.
Otherwise, I prefer to write a simple script to read elastic and dielectric matrix from OUTCAR from VASP calculations (fixed name like OUTCAR_elast and OUTCAR_dielec), then maybe print to settings.yaml.
FYI, I made a simple command line script using awk that will extract the elastic constant, make the unit conversion and reorder the tensor. I will add this to amset soon, but in the time being it is available here: