Jump to content

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

ML LHEAT: Difference between revisions

From VASP Wiki
No edit summary
Singraber (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{TAGDEF|ML_LHEAT|[logical]|.FALSE.}}
{{TAGDEF|ML_LHEAT|[logical]|.FALSE.}}


Description: This flag specifies whether the heat flux is calculated or not in the machine learning force field method.
Description: This tag 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
The heat flux within machine learning force fields can is decomposed into atomic contributions written as

Revision as of 21:28, 11 October 2021

ML_LHEAT = [logical]
Default: ML_LHEAT = .FALSE. 

Description: This tag 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_LMLFF, ML_LEATOM

Examples that use this tag