pair_style sph/heatconduction command — LAMMPS documentation

\(\renewcommand{\AA}{\text{Å}}\)

# pair_style sph/heatconduction command

Accelerator Variants: sph/heatconduction/gpu

## Syntax

    pair_style sph/heatconduction

## Examples

    pair_style sph/heatconduction
    pair_coeff * * 1.0 2.4

## Description

The sph/heatconduction style computes heat transport between SPH particles. The transport model is the diffusion equation for the internal energy.

See this PDF guide to using SPH in LAMMPS.

Note

Please note that the SPH PDF guide file has not been updated for many years and thus does not reflect the current syntax of the SPH package commands. For that please refer to the LAMMPS manual.

The following coefficients must be defined for each pair of atoms types via the pair_coeff command as in the examples above.

- D diffusion coefficient (length^2/time units)

- h kernel function cutoff (distance units)

Styles with a gpu, intel, kk, omp, or opt suffix are functionally the same as the corresponding style without the suffix. They have been optimized to run faster, depending on your available hardware, as discussed on the Accelerator packages page. The accelerated styles take the same arguments and should produce the same results, except for round-off and precision issues.

These accelerated styles are part of the GPU, INTEL, KOKKOS, OPENMP, and OPT packages, respectively. They are only enabled if LAMMPS was built with those packages. See the Build package page for more info.

You can specify the accelerated styles explicitly in your input script by including their suffix, or you can use the -suffix command-line switch when you invoke LAMMPS, or you can use the suffix command in your input script.

See the Accelerator packages page for more instructions on how to use the accelerated styles effectively.

## Mixing, shift, table, tail correction, restart, rRESPA info

This style does not support mixing. Thus, coefficients for all I,J pairs must be specified explicitly.

This style does not support the pair_modify shift, table, and tail options.

This style does not write information to binary restart files. Thus, you need to re-specify the pair_style and pair_coeff commands in an input script that reads a restart file.

This style can only be used via the pair keyword of the run_style respa command. It does not support the inner, middle, outer keywords.

## Restrictions

This pair style is part of the SPH package. It is only enabled if LAMMPS was built with that package. See the Build package page for more info.

## Related commands

pair_coeff, pair_sph/rhosum

## Default

none