In the structure selection step, we select the LiF structure by querying it
from one of the
OPTIMADE-compliant online database.
Tasks
- Open the OPTIMADE structure selector: click on the OPTIMADE tab and then click on load the "Load OPTIMADE widget" button
- Select the provider: choose "mcloud: Materials Cloud" in the first dropdown, then "MC3D (PBEsol-v2)" in the second one
- Limit the Number of elements to a maximum of 2, by dragging the right handle of the slider
- Query for LiF: select Li and F elements in the interactive periodic table, and click the "Search" blue button (at the bottom).
Note: you might need to wait a few seconds while the widgets performs some basic queries to the OPTIMADE server,
until the periodic table gets activated from light blue to darker blue.
- Select the LiF structure: it should be the first result ("FLi (id=e9d5356d-869a-4238-99d3-34f6a861695f)"), otherwise search for it.
If already selected, just continue to the next step
- In the Edit structure → Edit cell tab, select Convert to conventional cell
- Click the Confirm button to proceed
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
- 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).
- Open Step 2.1 for further instructions
Here we define the basic settings of the simulations.
Tasks
- Select Insulator Electronic type
- Select Fast protocol
- 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
- Select the Muon spectroscopy checkbox
- 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:
- Basic settings: top-level calculation settings
- Advanced settings: fine-tune the calculations
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
Find muon sites settings:
- De-select the Compute polarization checkbox (the polarization will be object of another in-app guide)
- Set the k-points distance to be 2 Å-1, so we have a k-points mesh grid of [1, 1, 1] (we compute only the Γ point)
- Click the estimate number of muon trial sites button to verify that we have 3 candidate sites
- Click the Visualize candidate muon sites button to see them in the unit cell
- Click the Confirm button to proceed
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
- Select 1 node and 1 CPU for each of the codes below
- (Optional) customize the workflow label
- (Optional) add a workflow description
- 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
-
Once the calculation is complete, click on the
Load results button to load the available results
-
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.
-
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.
-
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.
-
Check the distance between the muons A and C by ticking the Compare muon sites mode and
selecting the rows in the table.
-
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
-
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).
-
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?