This is the computer lab material for the course "Modelling Materials with Density Functional Theory" taught in the Department of Materials at Imperial College London.
This course will introduce students to the modelling of materials with density-functional theory (DFT). In the labs we will use the free, open-source DFT code Quantum Espresso. While the format of the input files may be differeint in other DFT codes, the general principles will be the same. The labs will also briefly introduce students to the use of the Linux operating system and how it enables the effective use of computational resources, as well as showing students some simple scripting, analysis, and visualization tools.
The labs are organised as follows:
- Lab 1: Getting started in Linux
- Lab 2: Quantum Espresso Input and Output
- Lab 3: Converging your Calculations
- Lab 4: Crystals and the Electronic Band Structure
- Lab 5: Metals and Density of States
- Lab 6: Spin Polarization and Magnetic Systems
- Lab 7: Structural Optimisation
- Lab 8: Vibrational Normal Modes and Phonons
- Lab 9: Finite Temperature Properties
The latest version of the course is available online at
https://imperialcollegelondon.github.io/MSE404-MM/. The text source files named
readme.md
in the various directories use markdown. You can download the
whole repository and view them in a terminal, or read them at the Github site
https://imperialcollegelondon.github.io/MSE404-MM/.
Each lab is designed to be self-contained. The webpage will show the general
direction and explain the concepts, while the input files and scripts are
stored in directories located along side the readme.md
file, labeled by their
apparences in the text.
There will be code blocks like the one below in the text
echo "Hello World"
which are meant to be run in the terminal. And you can click the :material-content-copy: icon on the right to copy the code to your clipboard.
There will also be inline annotations (⊕) like the one below:
program
print *, "Hello World" ⊕
end program hello
If you click the ⊕ button, a pop up window will show up (this only works in the web page).
There will also be admonitions like the one below:
Warning
Don'f forget to add comments to your code to explain what you are doing!
where important/optional information is given. Also, the Tasks will also be marked as admonitions like the one below:
Note
Read this readme.md
file.
- Original materials provided by Éamonn Murray (https://gitlab.com/eamonnmurray/MaterialsModelling)
- Contributors: Simão João, Christopher Cheung, Jordan Edwards, Chengcheng Xiao, Indrajit Maity, Valerio Vitale, Laura Ratcliff and Johannes Lischner.
- Webpage refreshed by Chengcheng Xiao, 2024.