Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PwRelaxWorkChain: Revisit work chain logic #952

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Comment on lines +10 to +20
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an origin for these numbers other than your thumb? :D Not that I have any better ones per se, but just curious if these are already tested in someway

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

side-eye-monkey

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
Loading