Calculate the Equation of State¶
1. Introduction¶
Calculate the equation of state (EOS) of a material: the total energy of isotropically scaled copies of the material against their volume, fitted as E(V) with the Atomic Simulation Environment (ASE). The scaled materials and their jobs are grouped in a materials set and a jobs set.
2. Open the notebook¶
In JupyterLite, the notebook is made/workflows/equation_of_state.ipynb, entry 6.1.1 "Equation of State" of made/workflows/Introduction.ipynb.
3. Set the parameters¶
Cell 1.2 holds the material, workflow, compute and set parameters:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | |
SCALE_FACTORS are the scale factors of the copies, one job each; the default is eleven factors from 0.90 to 1.10. MATERIALS_SET_PREFIX, JOBS_SET_PREFIX and EOS_JOB_PREFIX start the names of the materials set, the jobs set and the jobs.
The overview explains the account, material, workflow, k-point, compute and job parameters.
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 saves the scaled materials to a new materials set, and section 6 creates the jobs in a jobs set. After the jobs finish, section 8 tabulates the total energies and plots them against the volume. Section 9 fits the Birch-Murnaghan equation of state, plots the derivative dE/dV of the fit, and prints the equilibrium volume, the minimum energy and the bulk modulus in GPa; the fit needs at least four finished jobs with different volumes.
5. Interactive JupyterLite notebook¶
The interactive JupyterLite notebook for the equation of state can be accessed below.