compute_cte

atomate2.common.jobs.cte.compute_cte(phonon_output, elastic_tensor, elastic_structure, anhar_fit_methods=('one-shot',), temperatures=tuple(range(0, 1001, 10)), mesh=(12, 12, 12), tol_imaginary_modes=0.1, min_frequency=1e-3, symprec=1e-5)[source]

Compute the thermal expansion from the pheasy force constants.

The second- and third-order force constants of each fit method are read from the folder of the pheasy fit, so this job must run where that folder can be read. The cocktail fit uses the second-order force constants of the harmonic fit. The one-shot fit uses its own.

Parameters:
  • phonon_output (PhononDoc) – Output document of the pheasy phonon flow, run with cal_anhar_fcs=True.

  • elastic_tensor (MatrixVoigt) – Elastic tensor in GPa and Voigt notation, as ElasticDocument’s elastic_tensor.raw.

  • elastic_structure (Structure) – Structure of the elastic calculation. Its lattice must match the unit cell of the phonon run, so that both tensors are in the same frame.

  • anhar_fit_methods (Sequence[str]) – Fit methods whose force constants are used, “cocktail” and/or “one-shot”.

  • temperatures (Sequence[float]) – Temperatures in K, not negative.

  • mesh (tuple[int, int, int] | float) – q-point mesh, 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.

  • symprec (float) – Symmetry precision passed to phono3py.

Return type:

CTEDocument