CTEMaker¶
- class atomate2.vasp.flows.cte.CTEMaker(name='cte', use_symmetrized_structure='primitive', bulk_relax_maker=<factory>, phonon_maker=<factory>, elastic_maker=<factory>, temperatures=<factory>, mesh=(12, 12, 12), tol_imaginary_modes=0.1, min_frequency=0.001)[source]¶
Bases:
BaseCTEMakerMaker to calculate the thermal expansion with VASP, pheasy and phono3py.
By default, the structure is converted to the standard primitive cell, and a tight double relaxation follows. The relaxed structure is then passed to the pheasy phonon flow, which fits the second- and third-order force constants, and to the elastic flow. Neither flow relaxes the structure again. Finally, phono3py gives the mode Grueneisen tensors, and the thermal expansion tensor follows from them and the elastic tensor. The frequencies are not renormalized with temperature.
By default, the phonon flow fits the force constants with the one-shot method from randomly displaced supercells with 0.03 A displacements, and builds the supercells with min_length=12.0. The phonon flow skips the static energy calculation, which the thermal expansion does not need. The elastic flow is the atomate2 elastic flow without its own relaxation. The stress is more sensitive to ENCUT than the forces are, so check the ENCUT convergence of the elastic tensor for your material.
This workflow is new and has not been tested widely. It might still change in future versions.
- Parameters:
name (str) – Name of the flows produced by this maker.
use_symmetrized_structure (str or None) – Convert the input structure to the standard “primitive” or “conventional” cell before the relaxation. The pheasy fits can fail for cells that are not in a standard setting.
bulk_relax_maker (.BaseVaspMaker or None) – A maker to perform a tight relaxation on the bulk. Set to None to skip the relaxation.
phonon_maker (.PhononMaker) – The pheasy phonon maker. It must have cal_anhar_fcs=True, use_symmetrized_structure=None and bulk_relax_maker=None. Its anhar_fit_methods set which force constants are used for the thermal expansion.
elastic_maker (.ElasticMaker) – Maker for the elastic tensor. It must have bulk_relax_maker=None.
mesh (tuple[int, int, int] | float) – q-point mesh for the mode Grueneisen tensors, or a q-point density used as kppa in pymatgen’s Kpoints.automatic_density for the unit cell.
tol_imaginary_modes (float) – If a frequency on the mesh is below -tol_imaginary_modes in THz, a warning is raised and the thermal expansion of that fit is not computed.
min_frequency (float) – Modes below this frequency in THz are left out of the thermal expansion.