Skip to content

Commit aa6eb9d

Browse files
committed
PwRelaxWorkChain: Revisit work chain logic
1 parent e9ce7a0 commit aa6eb9d

File tree

3 files changed

+187
-173
lines changed

3 files changed

+187
-173
lines changed

docs/source/topics/workflows/pw/relax.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@
66
.. aiida-workchain:: PwRelaxWorkChain
77
:module: aiida_quantumespresso.workflows.pw.relax
88
```
9+
10+
## Logic
11+
12+
Initial relaxation: for structures that are far removed from the geometric ground state, it can be more efficient to first run an initial relaxation with looser precision settings.
13+
14+
Pulay stresses: TO COMPLETE

src/aiida_quantumespresso/workflows/protocols/pw/relax.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,27 @@ default_inputs:
22
clean_workdir: False
33
max_meta_convergence_iterations: 5
44
meta_convergence: True
5-
volume_convergence: 0.02
6-
base:
5+
base_relax:
76
pw:
87
parameters:
98
CELL:
109
press_conv_thr: 0.5
11-
base_final_scf:
10+
base_init_relax:
11+
kpoints_distance: 0.3
12+
meta_parameters:
13+
conv_thr_per_atom: 1.e-6
14+
etot_conv_thr_per_atom: 1.e-3
1215
pw:
1316
parameters:
1417
CONTROL:
15-
calculation: scf
18+
forc_conv_thr: 0.5e-2
19+
CELL:
20+
press_conv_thr: 2
1621
default_protocol: moderate
1722
protocols:
1823
moderate:
1924
description: 'Protocol to perform a relaxation at normal precision at moderate computational cost.'
2025
precise:
2126
description: 'Protocol to perform a relaxation at high precision at higher computational cost.'
22-
volume_convergence: 0.01
2327
fast:
2428
description: 'Protocol to perform a relaxation at low precision at minimal computational cost for testing purposes.'
25-
volume_convergence: 0.05

0 commit comments

Comments
 (0)