Replies: 1 comment
-
When fitting the force constants to the data by using elastic net ( If the above treatment does not help, please try using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I am trying to converge my higher order force constants for use in SCPH calculations. However, when I increase the number of training structures the SPCH free energy does not converge smoothly.
Any suggestions would be greatly appreciated.
Generating training set data
To generate the training set, I did:
displace.py --VASP=POSCAR.super -md ../md/vasprun.xml --random --mag=0.01
.Note my system is FCC, with 10 atoms in the unit cell. I did force constant calculations in a 2x2x2 supercell which I found converged the harmonic phonon frequencies. I only did small random displacements on the MD as the smallest interatomic distance is already quite small (1.16 Å) but maybe this should be increased?
Converging SPCH free energy
To test convergence, I fit the force constants using a certain number of structures and calculate thermodynamic properties using SCPH (off diagonal elements and bubble correction are not included).
I expected due to the high symmetry and large number of samples, that thermodynamic properties would converge quickly but this is not the case. Below see the plot showing the convergence of QHA term in the free energy with supercell size (note I fitted force constants up to 6th order with relatively large cutoffs, I also tried smaller cutoffs but exactly the same trend was observed. I also tried only fitting up to 4th order but this made things worse). Finally, note that the validation error for fitting 6th order force constants with 200 samples is quite small (~1.5 %).
Convergence at 0 K
Convergence at 1000 K
Do you have any suggestions for what is going on? Is my MD calculation too coarse, is there an instability in the SCPH calculation, or is there something else that is important for convergence?
Input files
MD
Incase they are useful, here is my INCAR for the MD calculation:
Displacements
Fitting force constants
Calculating SCPH
Beta Was this translation helpful? Give feedback.
All reactions