Jump to content

Requests for technical support from the VASP team should be posted in the VASP Forum.

ML LHEAT

From VASP Wiki
Revision as of 06:43, 23 August 2021 by Karsai (talk | contribs) (Karsai moved page ML FF LHEAT MB to 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

𝐪(t)=i=1Naddt(𝐫iEi),

Ei=mi|𝐯i|22+Ui

where 𝐫i, 𝐯i and Ei denote the position vector, velocity and energy of atom i, respectively. The number of atoms in the system is denoted by Na. The heat flux can be further rewritten as

𝐪(t)=i=1Na𝐯iEi+i=1Na𝐫i(mi𝐯id𝐯idt+j=1Na𝐯jjUi).

Using the equation of motions

mid𝐯idt=j=1NaiUj

the heat flux can be simplified to

𝐪(t)=i=1Na𝐯iEii=1Naj=1Na𝐫i(𝐯iiUj)+i=1Naj=1Na𝐫i(𝐯jjUi)=i=1Na𝐯iEi+i=1Naj=1Na(𝐫i𝐫j)(𝐯jjUi).

Finally (in a post-processing step), the thermal conductivity at temperature T in the Green-Kubo formalism can be calculated from the correlation of the heat flux 𝐪 as

κ=13VkbT20𝐪(t)𝐪(0)dt,


where V and kb denotes the volume of the system and the Boltzmann constant, respectively.


The heat flux is written to the file ML_HEAT.

Related Tags and Sections

ML_FF_LMLFF, ML_FF_LEATOM_MB

Examples that use this tag