Difficulty using ZG displacements with external force constants
Posted: Wed Oct 25, 2023 4:47 pm
Hello everyone, and thanks in advance for any advice you may be able to offer me.
I am attempting to use the ZG method to evaluate temperature-dependent properties for a variety of phonon calculation methods. I have force constant (FC) files for several method x temperature combinations for my material. I'm fairly confident the FC files are correct as I double checked phonon spectra from my scripts and the output from ph.x and they matched. Here's my ZG settings:
&input
asr='crystal',
amass terms here in AMU
flscf='cubic.scf.in'
flfrc='qe444.fc'
atm_zg terms here
T=300
dim1=4, dim2=4, dim3=4, incl_qA=.false.
compute_error=.true., synch=.true., error_thresh=0.05, niters = 50000
/
I tried lower error_thresh initially, but it has issues even converging to 0.05. I set incl_qA=.false. as recommended for larger supercells. The issue is, I am seeing less subtle property shifts that I was expecting (e.g., 1.5 eV bandgap to 2 eV bandgap for the above ZG calculation settings). I think this shift should be <0.1 eV for our system.
I'm getting a quite large "Sum of diagonal terms per q-point". Or, it seems large to me at 98 compared to the <1 outputs I saw in the tutorial calculations:
Optimum configuration found !
Sum of diagonal terms per q-point: 97.605602
Error and niter index: 0.049835 3819
In addition, we have some (two, each around 1E-022) imaginary frequencies. Could this be the source of the error? I saw in ZG's source code that the magnitude is simply used for imaginary frequencies. Could the above issue be remedied if I instead pass over these cases? Otherwise, could some of the other ZG settings that I've left as defaults be relevant? Thanks for the insights.
Best,
Sean Nations
I am attempting to use the ZG method to evaluate temperature-dependent properties for a variety of phonon calculation methods. I have force constant (FC) files for several method x temperature combinations for my material. I'm fairly confident the FC files are correct as I double checked phonon spectra from my scripts and the output from ph.x and they matched. Here's my ZG settings:
&input
asr='crystal',
amass terms here in AMU
flscf='cubic.scf.in'
flfrc='qe444.fc'
atm_zg terms here
T=300
dim1=4, dim2=4, dim3=4, incl_qA=.false.
compute_error=.true., synch=.true., error_thresh=0.05, niters = 50000
/
I tried lower error_thresh initially, but it has issues even converging to 0.05. I set incl_qA=.false. as recommended for larger supercells. The issue is, I am seeing less subtle property shifts that I was expecting (e.g., 1.5 eV bandgap to 2 eV bandgap for the above ZG calculation settings). I think this shift should be <0.1 eV for our system.
I'm getting a quite large "Sum of diagonal terms per q-point". Or, it seems large to me at 98 compared to the <1 outputs I saw in the tutorial calculations:
Optimum configuration found !
Sum of diagonal terms per q-point: 97.605602
Error and niter index: 0.049835 3819
In addition, we have some (two, each around 1E-022) imaginary frequencies. Could this be the source of the error? I saw in ZG's source code that the magnitude is simply used for imaginary frequencies. Could the above issue be remedied if I instead pass over these cases? Otherwise, could some of the other ZG settings that I've left as defaults be relevant? Thanks for the insights.
Best,
Sean Nations