fix brownian#

Syntax#

fix ID group-ID brownian temp T viscosity mu seed seed

or using positional arguments:

fix ID group-ID brownian T mu seed
  • ID, group-ID are documented in fix command

  • brownian = style name of this fix command

  • temp T = temperature of the fluid medium \(T\) (temperature units, e.g. K in SI)

  • viscosity mu = dynamic viscosity of the surrounding fluid \(\mu\) (viscosity units, e.g. Pa.s in SI)

  • seed seed = positive integer random number seed for the Marsaglia random number generator

Examples#

# Brownian fluctuations at 300 K in water (viscosity = 0.001 Pa.s)
fix therm all brownian temp 300.0 viscosity 0.001 seed 15485863

# Combined with Stokes drag to form a Langevin dynamics thermostat
fix drag all stokes viscosity 0.001
fix therm all brownian temp 300.0 viscosity 0.001 seed 15485863

Description#

The fix brownian command applies stochastic thermal fluctuation forces to individual spherical particles according to the Fluctuation-Dissipation Theorem (FDT) for Langevin dynamics.

Thermal Fluctuation Force#

At each integration timestep \(\Delta t\), a random fluctuating force vector is added to each particle in the specified group:

\[\mathbf{F}_{\text{Brownian}} = \sqrt{\frac{12 \pi \mu k_B T R}{\Delta t}} \boldsymbol{\xi}\]

where:

  • \(k_B\) is the Boltzmann constant (determined by the simulation units).

  • \(T\) is the fluid temperature.

  • \(\mu\) is the fluid dynamic viscosity.

  • \(R\) is the particle radius.

  • \(\Delta t\) is the simulation timestep (timestep).

  • \(\boldsymbol{\xi} = (\xi_x, \xi_y, \xi_z)^T\) is a vector of independent standard Gaussian random numbers with zero mean (\(\langle \xi_\alpha \rangle = 0\)) and unit variance (\(\langle \xi_\alpha \xi_\beta \rangle = \delta_{\alpha\beta}\)).

Pairing with Stokes Drag#

When coupled with fix stokes, which applies the corresponding dissipative Stokes drag \(\mathbf{F}_{\text{Stokes}} = - 6 \pi \mu R \mathbf{v}\), the two commands together constitute a rigorous Langevin thermostat. The particle motion obeys Brownian dynamics with the theoretical Stokes-Einstein diffusion coefficient:

\[D = \frac{k_B T}{6 \pi \mu R}\]

and converges to the canonical Maxwell-Boltzmann velocity distribution at temperature \(T\).

Restart, fix_modify, output, run start/stop, minimise info#

No information about this fix is written to binary restart files.

Restrictions#

This fix requires granular particles with the radius atom attribute. The temperature and viscosity must be non-negative. Coarse-graining scaling is not currently supported for this fix.