Dear developer,
I am currently working on building effective harmonic models (EHMs) for La₂Zr₂O₇ using a supercell containing 4×4×4 unit cells. I have encountered two issues for which I would like to seek your assistance.
- When utilizing the triclinic primitive cell (containing 22 atoms) as the unit cell, I successfully constructed an EHM. However, when I employed the orthogonal conventional cell (containing 88 atoms) as the unit cell, I encountered the following errors. Does the Hiphive package necessitate the use of a primitive cell as the unit cell?
Traceback (most recent call last):
File “F:\software\Anaconda-2024.02-1\Lib\site-packages\hiphive\core\utilities.py”, line 170, in index
return self._dict[value]
~~~~~~~~~~^^^^^^^
KeyError: (1, 943)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “E:\Python\hiphive\Effective_harmonic_models\LZO-supercell\2effective_harmonic_models.py”, line 12, in
cs = ClusterSpace(structures[0], cutoffs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “F:\software\Anaconda-2024.02-1\Lib\site-packages\hiphive\cluster_space.py”, line 115, in init
build_cluster_space(self, prototype_structure)
File “F:\software\Anaconda-2024.02-1\Lib\site-packages\hiphive\core\cluster_space_builder.py”, line 62, in build_cluster_space
_create_orbits(cluster_space)
File “F:\software\Anaconda-2024.02-1\Lib\site-packages\hiphive\core\cluster_space_builder.py”, line 272, in _create_orbits
cs._orbits = get_orbits(cs._cluster_list,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “F:\software\Anaconda-2024.02-1\Lib\site-packages\hiphive\core\orbits.py”, line 65, in get_orbits
orbits = _get_orbits(permutation_map, extended_atoms, clusters, basis,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “F:\software\Anaconda-2024.02-1\Lib\site-packages\hiphive\core\orbits.py”, line 143, in _get_orbits
populate_orbit(orbit, permutations, clusters,
File “F:\software\Anaconda-2024.02-1\Lib\site-packages\hiphive\core\orbits.py”, line 189, in populate_orbit
translated_cluster_index = clusters.index(translated_cluster)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “F:\software\Anaconda-2024.02-1\Lib\site-packages\hiphive\core\utilities.py”, line 172, in index
raise ValueError(‘{} is not in list’.format(value))
ValueError: (1, 943) is not in list
- I aim to obtain temperature-dependent 2nd and 3rd order interatomic force constants (IFCs) from EHM for calculating thermal conductivity. Within the framework of the 2nd order term, the phonon dispersion plots indicate that the obtained 2nd order IFCs exhibit temperature dependence. However, when the 3rd order term is incorporated into the EHM training, the obtained 2nd IFCs remain identical across different temperatures. I am curious whether Hiphive can construct an EHM with 3rd order term.
I am uncertain how to address these issues and would like to ask for your help.
Thank you very much for your help.