Comparision graph of PBE, OS-DMFT, CSC-DMFT #32
-
Hi, I'm just writing to ask if it's possible to have the script to plot the top graph shown in this CSC tutorial. I've done my PBE, ON-DMFT, CSC-DMFT calculations, but couldn't understand exactly how to plot the graph shown on the top of that tutorial. Since I've got limited knowledge with Python, was hoping to get a help from you guys. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @TommyHenz, Did you already calculate the total energy for various strains with solid_dmft and want to plot it? Otherwise there is maybe some misunderstanding here. The plot shown in the top of the tutorial will not be reproduced by the tutorial, it only shows how to perform a single calculation of the plot, which in total would consist of various total energy calculations (each of them represented by a marker). During the tutorial we only calculate the total energy of a single structure at 0% strain. To create the plot you would have to change the lattice constant in your input structure and rerun the whole DFT+DMFT calculation for each strain you would like to calculate. For the one-shot calculations you also have to manually add the DFT energy to obtain the final energy to the value given in the solid_dmft output. That is, because in one-shot calculations solid_dmft does not know the DFT total energy, and sets its value to 0.0. Best, |
Beta Was this translation helpful? Give feedback.
-
Hi @TommyHenz , as we write in the tutorial, the parameters given there are simplified for demonstration purposes. The reference data contained in the directory Regarding the energies: for DFT the plot simply shows the total energy as usual, for OS-DMFT it shows the same DFT energy plus the total energy from DMFT ( Best, |
Beta Was this translation helpful? Give feedback.
Hi @TommyHenz,
Did you already calculate the total energy for various strains with solid_dmft and want to plot it?
Otherwise there is maybe some misunderstanding here. The plot shown in the top of the tutorial will not be reproduced by the tutorial, it only shows how to perform a single calculation of the plot, which in total would consist of various total energy calculations (each of them represented by a marker).
During the tutorial we only calculate the total energy of a single structure at 0% strain. To create the plot you would have to change the lattice constant in your input structure and rerun the whole DFT+DMFT calculation for each strain you would like to calculate.
For the one-…