Skip to content

Calculate the Zero Point Energy

1. Introduction

Calculate the zero point energy (ZPE) of a material from its phonon frequencies at the Γ point, with density functional perturbation theory (DFPT) in Quantum ESPRESSO, with or without a relaxation first.

2. Open the notebook

In JupyterLite, the notebook is made/workflows/zero_point_energy.ipynb, entry 6.4.1 "Zero-point energy calculation" 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
29
from datetime import datetime
from mat3ra.ide.compute import QueueName

# 2. Auth and organization parameters
# Set organization name to use it as the owner, otherwise your personal account is used
ORGANIZATION_NAME = None

# 3. Material parameters
FOLDER = "../uploads"
MATERIAL_NAME = "Silicon"  # Name of the material to load from local file or Standata

# 4. Workflow parameters
WORKFLOW_SEARCH_TERM = "zero_point_energy.json"  # Search term for Workflows Standata
APPLICATION_NAME = "espresso"  # Specify application name (e.g., "espresso", "vasp")
ADD_RELAXATION = False  # Whether to add relaxation subworkflow as first unit

MY_WORKFLOW_NAME = "Zero Point Energy" + (" (relax)" if ADD_RELAXATION else "")

# Model parameters
MODEL_SUBTYPE = "gga"  # or "lda"

# 5. Compute parameters
CLUSTER_NAME = None  # specify full or partial name i.e. "cluster-001" to select
QUEUE_NAME = QueueName.D
PPN = 1

# 6. Job parameters
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M")
POLL_INTERVAL = 30  # seconds

The overview explains the account, material, workflow, compute and job parameters.

Cell 1.3 holds the method parameters:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Method parameters
PSEUDOPOTENTIAL_TYPE = "us"  # "us" (ultrasoft), "nc" (norm-conserving), "paw"
FUNCTIONAL = "pbe"            # for lda: "pz"; for gga: "pbe", "pbesol"

# K-grids
RELAXATION_KGRID = None  # e.g. [4, 4, 4]
SCF_KGRID = None          # e.g. [4, 4, 4]

# Energy cutoffs
ECUTWFC = 40
ECUTRHO = 200

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 shows the properties of the job and the zero point energy.

5. Interactive JupyterLite notebook

The interactive JupyterLite notebook for calculating the zero point energy can be accessed below.

Calculate Zero Point Energy runs the zero point energy workflow from the web interface.