ML LHEAT
ML_FF_LHEAT_MB = [logical]
Default: ML_FF_LHEAT_MB = .FALSE.
Description: This flag specifies whether the heat flux is calculated or not in the machine learning force field method.
The heat flux within machine learning force fields can is decomposed into atomic contributions written as
where , and denote the position vector, velocity and energy of atom , respectively. The number of atoms in the system is denoted by . The heat flux can be further rewritten as
Using the equation of motions
the heat flux can be simplified to
Failed to parse (Conversion error. Server ("cli") reported: "[INVALID]"): {\displaystyle \mathbf{q}(t) = \sum\limits_{i=1}^{N_{a}} \mathbf{v}_{i} E_{i} - \sum\limits_{i=1}^{N_{a}} \sum\limits_{j=1}^{N_{a}} \mathbf{r}_{i} \left( \mathbf{v}_{i} \cdot \nabla_{i} U_{j} \right) + um\limits_{i=1}^{N_{a}} \sum\limits_{j=1}^{N_{a}} \mathbf{r}_{i} \left( \mathbf{v}_{j} \cdot \nabla_{j} U_{i} \right) = \sum\limits_{i=1}^{N_{a}} \mathbf{v}_{i} E_{i} + \sum\limits_{i=1}^{N_{a}} \sum\limits_{j=1}^{N_{a}} \left( \mathbf{r}_{i} - \mathbf{r}_{j} \right) \left( \mathbf{v}_{j} \cdot \nabla_{j} U_{i} \right). }
Finally (in a post-processing step), the thermal conductivity at temperature in the Green-Kubo formalism can be calculated from the correlation of the heat flux as
where and denotes the volume of the system and the Boltzmann constant, respectively.
The heat flux is written to the file ML_HEAT.