Calculate the Surface Energy¶
1. Introduction¶
Calculate the surface energy of a slab. The bulk crystal is found from the build metadata of the slab, and its total energy is taken from a finished total energy job on the platform, calculated beforehand with the Total Energy notebook.
2. Open the notebook¶
In JupyterLite, the notebook is made/workflows/surface_energy.ipynb, entry 6.2.1 "Surface energy calculation" of made/workflows/Introduction.ipynb.
3. Set the parameters¶
Cell 1.2 holds the slab, workflow and compute parameters:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | |
SLAB_NAME is looked up in FOLDER, then among the account's materials.
The overview explains the account, FOLDER, workflow, compute and job parameters.
Cell 1.3 holds the k-grid and the source of the bulk total energy:
1 2 3 4 5 6 7 | |
SCF_KGRID is the k-grid of the slab. BULK_TOTAL_ENERGY_SOURCE selects whose total energy of the bulk is used.
4. Run and read the result¶
Run the notebook with Run > Run All and log in when it asks, as in Authentication in JupyterLite.
Section 3 stops when the bulk crystal has no finished total energy job. After the job finishes, section 7 shows the surface energy and prints the total energies of the slab and of the bulk.
5. Interactive JupyterLite notebook¶
The interactive JupyterLite notebook for calculating the surface energy can be accessed below.
6. Related¶
Calculate Surface Energy runs the surface energy workflow from the web interface.