Calculate the Phonons of a Magnetic Material¶
1. Introduction¶
Calculate the phonon dispersion and the phonon density of states (DOS) of a magnetic material in Quantum ESPRESSO, with density functional perturbation theory (DFPT) on a spin-polarized ground state, with or without a relaxation first. The cost grows steeply with the number of atoms, so the notebook is meant for a small primitive cell.
2. Open the notebook¶
In JupyterLite, the notebook is made/workflows/phonon_dos_dispersion_magn.ipynb, entry 5.1.2 "Phonon DOS and Dispersion (Magnetic)" of made/workflows/Introduction.ipynb.
3. Set the parameters¶
Cell 1.2 holds the material, 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 24 25 26 27 28 | |
MATERIAL_NAME is looked up with load_material. MAGNETIC_WORKFLOW_SEARCH_TERM names the workflow whose spin-polarized self-consistent input replaces that of the phonon workflow.
The overview explains the account, FOLDER, workflow, compute and job parameters.
Cell 1.3 holds the method, phonon and magnetic 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 38 39 40 41 42 43 44 45 46 47 48 49 50 | |
ADD_RELAXATION = True runs the self-consistent step as a relaxation in the magnetic state, of the type RELAXATION_TYPE: "relax" (atoms only) or "vc-relax" (atoms and cell). PHONON_QGRID is the q-grid of ph.x, DOS_QGRID the interpolation grid of the DOS and QPATH the dispersion path of matdyn.x, set like the k-points and paths. ALPHA_MIX is the mixing factor of ph.x (alpha_mix(1)); with None, the ph.x default is used.
STARTING_MAGNETIZATION sets the starting magnetization per species. A species is an element followed by its atom label, such as Fe1 and Fe2: the atoms that need a separate starting magnetization are labeled in Materials Designer before the run, and the others are left unlabeled. ADDITIONAL_PARAMETERS patches the &CONTROL and &ELECTRONS namelists of the self-consistent step; its commented values are recommended for magnetic insulators.
The overview explains the model, k-point and cutoff and engine input 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.
After the job finishes, section 8 plots the phonon dispersion and the phonon DOS.
5. Interactive JupyterLite notebook¶
The interactive JupyterLite notebook for calculating the phonons of a magnetic material can be accessed below.
6. Related¶
Phonon Dispersions and Density of States Calculation calculates the phonon dispersion and DOS from the web interface, and Spin-Magnetic Band Structure Calculation in Quantum ESPRESSO sets the starting magnetization there.