You've activated the muon in-app guide.
In this guide, you will learn how to use the app to find the muon resting sites of lithium fluoride (LiF).
Pre-requisite: This guide assumes that you already followed the Relaxation and electronic structure → Basic tutorial guide, or that you are already familiar with the app.
Click on Step 1: Select structure and follow the instructions to proceed.
In the structure selection step, we select the LiF structure by querying it from one of the OPTIMADE-compliant online database.

Tasks

Warning: If the confirmed structure is not yet stored in the AiiDA database, it will be stored automatically when you proceed to the next step.
Warning: Changes after confirmation will reset the following steps.
In the configuration step, we define the parameters needed to perform our search for muon stopping sites in LiF.

Tasks

  1. Select Structure as is, i.e. no relaxation (this means that we do not perform an **initial** relaxation of the unit-cell structure, before starting the muon spectroscopy workflows. In an case, the plugin will perform relaxation of each supercell during the search for muon sites).
  2. Open Step 2.1 for further instructions
Here we define the basic settings of the simulations.

Tasks

  1. Select Insulator Electronic type
  2. Select Fast protocol
  3. See further instructions in the Muon settings panel
Note: For the purpose of completing this guide in short time, we will use the Fast protocol for default parameters. However, you if dispose of enough computational resources, you can also select Balanced or Stringent.
Here we select the properties to calculate. Each property is associated with a workflow that will submit one or more calculations.

Tasks

  1. Select the Muon spectroscopy checkbox
  2. Open Step 2.2 for further instructions
Here we can customize the calculation parameters. The settings are divided into several tabs. Two tabs are always present: Additionally, each plugin activated in the previous step 2.1 can add additional tabs. Note that the app pre-configures defaults for most parameters.
See further instructions in the Basic settings panel below.
In the Muon settings panel, we can customize the muon parameters. We will use value of the parameters in such a way to quickly perform simulation, not to obtain accurate results. For example, we are not going to use a large enough supercell, and we are using a much coarser k-points grid with respect to the default one.

Tasks

Warning: Changes after confirmation will reset the following steps.

In the submission step, we define the computational resources to be used in the calculations. The global resources are used to define resources across all workflow calculations. Optionally, you can override the resource settings for specific calculations.

Warning: If running locally (for example, on the AiiDAlab demo server), we recommend keeping nodes and CPUs at the default minimum of 1 each.

Once the resources are defined, we can optionally customize the workflow label (pre-filled according to the settings of steps 1 & 2), as well as provide a detailed description of the workflow. Once we are ready, we can submit the workflow. You first need to select which code (code executable + computer where this will run) to use for each step of the workflow. The Quantum ESPRESSO app should always install a local Quantum ESPRESSO executable that is sufficient for this tutorial, but you can setup additional codes installed on remote supercomputers. For more information on how to set up codes, please refer to the corresponding documentation.

Tasks

  1. Select 1 node and 1 CPU for each of the codes below
  2. (Optional) customize the workflow label
  3. (Optional) add a workflow description
  4. Click the Submit button to proceed
Warning: The workflow may take a moment to submit.
Below you can monitor the status of the calculation, that might take several minutes to conclude even if we are using the fast protocol. Click on the Results panel. In the results panel, each tab will open results pertaining to a specific calculation submitted by the workflow.
See further instructions below in the Muon results tab.
When muon results are available, the Load results button will become active allowing us to load the results from AiiDA.

Tasks

  1. Once the calculation is complete, click on the Load results button to load the available results
  2. Check the table and, for the lowest energy site (label is A), compute the distance between the μ and the nearest F atom, by selecting the atoms (the μ being the white one) in the structure viewer below the table (just click on atoms to select/deselect them). The measured distance should be 1.15 Å, and it is displayed in the panel on the right with respect to the structure view.
  3. Verify that indeed the closest F atoms are attracted by the muon center, whereas the Li atoms are repelled; This can be easily seen in the Distortion plot, below the structure viewer.
  4. Perform similar analysis for site C: select the corresponding row in the table. The structure below will change, being now the one hosting the muon site C.
  5. Check the distance between the muons A and C by ticking the Compare muon sites mode and selecting the rows in the table.
  6. For easier comparison, you can also visualize all muon sites, refolded in the ideal (undistorted) unit cell, by ticking the "Compare muon sites" mode.

Post-guide exercises

  1. Download the data on muon stopping sites:
    • Click on the Download data button just below the table and inspect the contained files; you can open the cif files with your favorite visualization software (e.g., VESTA).
  2. Use the app to run the muon stopping site search for the same system (LiF), this time for the neutral muon (or muonium). This means that, in the settings, you need to select the Muon charge state to be Muonium (neutral)
    • Use the same parameters settings of this example
    • Do you see differences in the results, especially in the μ - F distances? Why?