compute_ic

This keyword computes the Nernst–Einstein estimate of the ionic conductivity (IC) for the selected atom type from its self mean-square displacement (MSD).

Syntax

For this keyword, the command looks like:

compute_ic <sample_interval> <Nc> <type_iex> <charge>

Parameters

with parameters defined as

  • sample_interval: Sampling interval of the position data

  • Nc: Maximum number of correlation steps

  • type_iex: Type index of the atoms to be calculated. For a compacted multi-element NEP potential, this refers to the active atom types printed at initialization; otherwise, it refers to the type index in the potential file.

  • charge: Charge \(z_s\) of each selected ion in units of the elementary charge \(e\).

Output

The results will be written to ic.out output file.

Examples

An example of this function is:

compute_ic 5 200 0 1

This means that you

  • want to calculate the ionic conductivity from the mean-square displacement function

  • the position data will be recorded every 5 steps

  • the maximum number of correlation steps is 200

  • you would like to compute only for the atom with type 0 according to the applicable type mapping and charge 1.

Notes

Definition

For \(N_s\) ions of type \(s\), each with charge \(z_s e\), the output in direction \(\alpha\) is

\[\sigma_{s,\alpha\alpha}^{\rm NE}(t) =\frac{N_s(z_s e)^2}{2Vk_{\rm B}T}\frac{d}{dt} \left[\frac{1}{N_s}\sum_{i\in s} \left\langle [r_i^{\alpha}(t)-r_i^{\alpha}(0)]^2\right\rangle\right],\]

where \(V\) is the system volume, \(T\) is the temperature, and unwrapped positions are used. In the diffusive regime, this approaches \(N_s(z_s e)^2D_{s,\alpha}/(Vk_{\rm B}T)\), where \(D_{s,\alpha}\) is the directional self-diffusion coefficient. Displacement correlations between different ions are omitted, so this estimate generally differs from the collective ionic conductivity.