Skip to content

Commit

Permalink
PwRelaxWorkChain: Revisit work chain logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mbercx committed Dec 15, 2023
1 parent e9ce7a0 commit 1dfdade
Show file tree
Hide file tree
Showing 3 changed files with 189 additions and 178 deletions.
6 changes: 6 additions & 0 deletions docs/source/topics/workflows/pw/relax.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@
.. aiida-workchain:: PwRelaxWorkChain
:module: aiida_quantumespresso.workflows.pw.relax
```

## Logic

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.

Pulay stresses: TO COMPLETE
15 changes: 9 additions & 6 deletions src/aiida_quantumespresso/workflows/protocols/pw/relax.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,27 @@ default_inputs:
clean_workdir: False
max_meta_convergence_iterations: 5
meta_convergence: True
volume_convergence: 0.02
base:
base_relax:
pw:
parameters:
CELL:
press_conv_thr: 0.5
base_final_scf:
base_init_relax:
kpoints_distance: 0.3
meta_parameters:
conv_thr_per_atom: 1.e-6
etot_conv_thr_per_atom: 1.e-3
pw:
parameters:
CONTROL:
calculation: scf
forc_conv_thr: 0.5e-2
CELL:
press_conv_thr: 2
default_protocol: moderate
protocols:
moderate:
description: 'Protocol to perform a relaxation at normal precision at moderate computational cost.'
precise:
description: 'Protocol to perform a relaxation at high precision at higher computational cost.'
volume_convergence: 0.01
fast:
description: 'Protocol to perform a relaxation at low precision at minimal computational cost for testing purposes.'
volume_convergence: 0.05
Loading

0 comments on commit 1dfdade

Please sign in to comment.