A set of four quantum espresso simulation configurations to solve for various material/chemical properties.
Install the latest Python and Quantum Espresso (QE) versions, and ensure the QE binaries pw.x
and bands.x
are your $PATH
variable.
Run the e-cutoff.py
,k-points.py
, and lattice.py
scripts in the diamond-scf
directory, and modify the QE input file diamond-scf.in
as necessary to maintain convergence
Run the diamond-bands.py
script in the diamond-bands
directory to automatically calculate the self-consistent field electron density, and to calculate the band structure across the various k-points defined in diamond-bands-make.in
.
Run the graphene-bands.py
script in the graphene-bands
directory to automatically calculate the self-consistent field electron density, and to calculate the band structure across the various k-points defined in graphene-bands-make.in
.
Simply run the command rw.x < methane.in > methane.out
to have Quantum Espresso optimize the methane structure! To change the initial guess, generate new hydrogren positions via initial-positions.py
and copy/paste them into the ATOMIC_POSITIONS
in the methane.in
file. To visualize the data, load the output file into XCrysgen
test.py
- Little script which runs all simulations included in this repository
e-cutoff.py
- Python script which tests various energy cutoff values, and plots/tests for convergence for diamondk-points.py
- Python script which tests various k-lattice configurations, and plots/tests for convergence for diamondlattice.py
- Python script which tests various lattice constants for diamond, and calculates its bulk modulusdiamond-scf.in
- Quantum Espresso (QE) input file modified by above python scripts for testingC.UPF
- Atomic orbital data for carbon to use as initial SCF guess
e-cutoff.out
- csv-like file for energy cutoff and lattice energy in Rydbergk-outputs.out
- csv-like file for k-points and lattice energy in Rydberglattice_outputs.out
- csv-like file for lattice constant and lattice energy in Rydberge_cutoff-run_files
- All QE files related to energy cutoffk_points-run_files
- All QE files related to k-pointslattice-run_files
- All QE files related to latticetmp
- Temporary directory which stores the solved e-density
diamond-bands.py
- Python script which runs the scf to generate e-density, then tests various points in K space, and plots the bandsdiamond-scf.in
- QE input file with diamond lattice parameters, which is run bydiamond-bands.py
to generate e-density intmp
diamond-bands-make.in
- QE input file which defines which points to calculate bands in k-spacediamond-gnu.in
- QE file which processes the bands fromdiamond-bands-make.in
to generatebandsdata.gnu
C.UPF
- Atomic orbital data for carbon to use as initial SCF guess
bandsdata.gnu
- GNU file which contains all the band data generated fromdiamond-bands-make.in
and is parsed bydiamond-bands.py
to graph the band structurediamond-band-make.out
- QE output file fromdiamond-bands-make.in
diamond-gnu.out
- QE output file fromdiamond-gnu.in
diamond-scf.out
QE output file from the SCF methodtmp
- Temporary directory which stores the solved e-densitybandsdata
- Contains band data but not parsed bydiamond-bands.py
input_tmp.in
- Autogenerated, not usedbandsdata.rap
- Autogenerated, not used
graphene-bands.py
- Python script which runs the scf to generate e-density, then tests various points in K space, and plots the bandsgraphene-scf.in
- QE input file with graphene lattice parameters, which is run bygraphene-bands.py
to generate e-density intmp
. The primitive cell (PC) is set to be large enough in Z such that the graphene is modeled as a sheetgraphene-bands-make.in
- QE input file which defines which points to calculate bands in k-spacegraphene-gnu.in
- QE file which processes the bands fromgraphene-bands-make.in
to generatebandsdata.gnu
C.UPF
- Atomic orbital data for carbon to use as initial SCF guess
bandsdata.gnu
- GNU file which contains all the band data generated fromgraphene-bands-make.in
and is parsed bygraphene-bands.py
to graph the band structuregraphene-band-make.out
- QE output file fromgraphene-bands-make.in
graphene-gnu.out
- QE output file fromgraphene-gnu.in
graphene-scf.out
QE output file from the SCF methodtmp
- Temporary directory which stores the solved e-densitybandsdata
- Contains band data but not parsed bygraphene-bands.py
input_tmp.in
- Autogenerated, not usedbandsdata.rap
- Autogenerated, not used
initial-positions.py
- Simple python script which generates initial guesses for the hydrogen positions based on known methane geometrymethane.in
- QE input file for methane, set to use Hellmann-Feynman theorem to iterate ion positions to solve methane. Lattice is large to prevent methane/methane interactionC.UPF
- Atomic orbital data for carbon to use as initial SCF guessH.UPF
- Atomic orbital data for hydrogen to use as initial SCF guess
methane.out
- QE output file giving final methane binding energy and atomic positionstmp
- Temporary directory which stores the solved e-density