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

(refactoring) Clear separation of phonopy instances for phelel and for extra phonon #52

Merged
merged 4 commits into from
Jan 4, 2025
Merged
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
25 changes: 25 additions & 0 deletions example/PbTe/POSCAR-unitcell
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
generated by phonopy
1.00000000000000
6.4405958992591392 0.0000000000000000 0.0000000000000000
0.0000000000000000 6.4405958992591392 0.0000000000000000
0.0000000000000000 0.0000000000000000 6.4405958992591392
Pb Te
4 4
Direct
0.0000000000000000 0.0000000000000000 0.0000000000000000
0.0000000000000000 0.5000000000000000 0.5000000000000000
0.5000000000000000 0.0000000000000000 0.5000000000000000
0.5000000000000000 0.5000000000000000 0.0000000000000000
0.5000000000000000 0.5000000000000000 0.5000000000000000
0.5000000000000000 0.0000000000000000 0.0000000000000000
0.0000000000000000 0.5000000000000000 0.0000000000000000
0.0000000000000000 0.0000000000000000 0.5000000000000000

0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
0.00000000E+00 0.00000000E+00 0.00000000E+00
30 changes: 30 additions & 0 deletions example/PbTe/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# PbTe example

Conventional unit cell of rocksalt-type PbTe crystal structure is stored in
`POSCAR-unitcell`. This structure is relaxed with 400 eV cutoff energy and
PBEsol XC functional. More detail of the relaxation calculation is found in
`velph-tmpl.toml`.

2x2x2 supercell of the unit cell and the supercells with displacements are
generated by

```
% phelel -d --dim 2 2 2 -c POSCAR-unitcell --pa auto --pm
```

By this command, following files are created. `phelel_disp.yaml` contains
crystal structure information and `SPOSCAR`, `POSCAR-001`, `POSCAR-002`,
`POSCAR-003`, `POSCAR-004` files are the perfect supercell and supercells with
four different displacements, respectively.

Let's assume that these supercell calculations are executed in `disp-000`,
`disp-001`, `disp-002`, `disp-003`, and `disp-004`. After the VASP calculations
(`LWAP=.TRUE.` or `ELPH_PREPARE=.TRUE.` in `INCAR` is necessary), phelel
computes derivatives of local potential and PAW strengths with respect to
displacements by

```
% phelel --cd disp-{000..004}
```

The result is stored in `phelel_params.hdf5`.
Loading
Loading