|
18 | 18 |
|
19 | 19 | ## Usage and Tutorial |
20 | 20 |
|
21 | | -Here we consider the hypothetical case when Cu<sub>3</sub>Au with the L1<sub>2</sub> structure is regarded as a random configuration of the A1 (fcc) structure. You can find the input files in the `examples` directory. |
22 | | - |
23 | | -1. Create `FORCE_SETS` file for the structure (maybe including disordered chemical configuration) |
24 | | - you want to investigate using ``phonopy`` in a usual way. |
25 | | - Be careful that the number of the structures with atomic displacements to get `FORCE_SETS` can be huge (>100) |
26 | | - for a disordered configuration. |
27 | | - |
28 | | -2. Create `FORCE_CONSTANTS` file from `FORCE_SETS` file using `phonopy` as |
29 | | - ``` |
30 | | - phonopy writefc.conf |
31 | | - ``` |
32 | | - where `writefc.conf` is a text file like |
33 | | - ``` |
34 | | - FORCE_CONSTANTS = WRITE |
35 | | - DIM = 2 2 2 |
36 | | - ``` |
37 | | - ``DIM`` must be the same as that what you used to get `FORCE_SETS`. |
38 | | -
|
39 | | -3. Prepare two VASP-POSCAR-type files, `POSCAR` and `POSCAR_ideal`. |
40 | | - POSCAR includes the original chemical configuration, which may be disordered. |
41 | | - ``` |
42 | | - Cu Au |
43 | | - 1.00000000000000 |
44 | | - 3.7530000000000001 0.0000000000000000 0.0000000000000000 |
45 | | - 0.0000000000000000 3.7530000000000001 0.0000000000000000 |
46 | | - 0.0000000000000000 0.0000000000000000 3.7530000000000001 |
47 | | - Cu Au |
48 | | - 3 1 |
49 | | - Direct |
50 | | - 0.0000000000000000 0.5000000000000000 0.5000000000000000 |
51 | | - 0.5000000000000000 0.0000000000000000 0.5000000000000000 |
52 | | - 0.5000000000000000 0.5000000000000000 0.0000000000000000 |
53 | | - 0.0000000000000000 0.0000000000000000 0.0000000000000000 |
54 | | - ``` |
55 | | - Note that although `FORCE_CONSTANTS` may be obtained using relaxed atomic positions, |
56 | | - here the positions must be the ideal ones. |
57 | | -
|
58 | | - `POSCAR_ideal` is the ideal configuration, from which the crystallographic symmetry is extracted. |
59 | | - ``` |
60 | | - X |
61 | | - 1.00000000000000 |
62 | | - 3.7530000000000001 0.0000000000000000 0.0000000000000000 |
63 | | - 0.0000000000000000 3.7530000000000001 0.0000000000000000 |
64 | | - 0.0000000000000000 0.0000000000000000 3.7530000000000001 |
65 | | - X |
66 | | - 4 |
67 | | - Direct |
68 | | - 0.0000000000000000 0.5000000000000000 0.5000000000000000 |
69 | | - 0.5000000000000000 0.0000000000000000 0.5000000000000000 |
70 | | - 0.5000000000000000 0.5000000000000000 0.0000000000000000 |
71 | | - 0.0000000000000000 0.0000000000000000 0.0000000000000000 |
72 | | - ``` |
73 | | - In this file I recommend to use dummy symbols like 'X' to avoid confusion. |
74 | | -
|
75 | | -4. Prepare ``band.conf`` file including something like |
76 | | - ``` |
77 | | - DIM = 2 2 2 |
78 | | - PRIMITIVE_AXIS = 0 1/2 1/2 1/2 0 1/2 1/2 1/2 0 |
79 | | - BAND = 0 0 0 0 1/2 1/2, 1 1/2 1/2 0 0 0 1/2 1/2 1/2 |
80 | | - BAND_POINTS = 101 |
81 | | - BAND_LABELS = \Gamma X \Gamma L |
82 | | - FORCE_CONSTANTS = READ |
83 | | - ``` |
84 | | - The style is very similar to that of phonopy conf files, but be careful about the following tags. |
85 | | -
|
86 | | - - `DIM` describes the expansion from the original POSCAR to the POSCARs with atomic displacements used to get `FORCE_SETS`. |
87 | | - Therefore, this should be the same as the phonopy option when creating the structures with atomic displacements (1). |
88 | | -
|
89 | | - - `PRIMITIVE_AXIS` is the conversion matrix from `POSCAR_ideal` to the primitive cell you expect. |
90 | | -
|
91 | | - **Since v0.6.2:** We can also use `BAND = AUTO` like |
92 | | - ``` |
93 | | - DIM = 2 2 2 |
94 | | - PRIMITIVE_AXIS = 0 1/2 1/2 1/2 0 1/2 1/2 1/2 0 |
95 | | - BAND = AUTO |
96 | | - BAND_POINTS = 101 |
97 | | - FORCE_CONSTANTS = READ |
98 | | - ``` |
99 | | - Internally, this uses [SeeK-path](https://seekpath.readthedocs.io/en/latest/) via phonopy. |
100 | | -
|
101 | | -4. Run |
102 | | - ``` |
103 | | - upho_weights band.conf |
104 | | - ``` |
105 | | - You hopefully get `band.hdf5` file. Note that this file can be in the order of GB. |
106 | | -
|
107 | | -5. Run |
108 | | - ``` |
109 | | - upho_sf --fpitch 0.01 -s 0.05 --function lorentzian --format text |
110 | | - ``` |
111 | | - You hopefully get `sf_E1.dat`, `sf_E2.dat`, and `sf_SR.dat` files. |
112 | | - In these files: |
113 | | - - `1st column`: distance in the reciprocal space |
114 | | - - `2nd column`: frequencies |
115 | | - - `3rd column`: values of spectral functions |
116 | | -
|
117 | | - Further |
118 | | -
|
119 | | - - `sf_E1.dat` has the element-pair-resolved spectral functions. |
120 | | - - `sf_E2.dat` has the element-resolved spectral functions. |
121 | | - - `sf_SR.dat` has the spectral functions decomposed by the small representations. |
122 | | -
|
123 | | -6. Plot the spectral functions. You can refer to `plot.py` in the example directory. Hopefully you get the figure like below: |
124 | | -
|
125 | | -  |
| 21 | +See the `examples` directory. |
126 | 22 |
|
127 | 23 | ## Options (`upho_weights`) |
128 | 24 |
|
|
0 commit comments