fix nve/sllod, nve/sphere/sllod, multisphere/sllod, nve/superquadric/sllod#
Syntax#
fix ID group-ID nve/sllod [update CAddRhoFluid val] [tau T] [bins N]
fix ID group-ID nve/sphere/sllod [update dipole] [update CAddRhoFluid val] [tau T] [bins N]
fix ID group-ID multisphere/sllod [multisphere_keywords ...] [tau T] [bins N]
fix ID group-ID nve/superquadric/sllod [integration_scheme scheme] [tau T] [bins N]
ID, group-ID are documented in fix command
Style names:
nve/sllod: SLLOD time integration for non-rotating particles (point particles, atoms, or spheres without rotational dynamics)nve/sphere/sllod: SLLOD time integration for spherical granular particles with 3D rotational dynamicsmultisphere/sllod: SLLOD time integration for rigid multisphere bodiesnve/superquadric/sllod: SLLOD time integration for non-spherical superquadric particles with quaternion rotation
Optional keywords / values:
tauT = peculiar velocity relaxation time constant (time units, default = 0.0, disabled)binsN = number of spatial slabs along the LEBC gradient axis for momentum-conserving profile relaxation (integer >= 0, default = 0)update dipole= updates point dipole orientation fornve/sphere/sllodupdate CAddRhoFluidval = fluid added-mass coefficient for CFD-DEM coupling simulationsintegration_schemescheme = quaternion integration algorithm fornve/superquadric/sllod(1, 2, or 3)multisphere_keywords = standard keywords for rigid multisphere bodies as described in fix multisphere
Examples#
# SLLOD integration for spherical granular particles under Lees-Edwards shear flow
fix mylebc all lebc lebc_direction y shear_direction x shear_rate 10.0 deactivate_zero_vcm yes
fix nve all nve/sphere/sllod
# SLLOD integration with spatial slab profile relaxation (20 bins, tau = 0.05 s)
fix nve all nve/sphere/sllod tau 0.05 bins 20
# Non-rotating particles under SLLOD shear
fix nve all nve/sllod tau 0.1 bins 10
# Rigid multisphere bodies under Lees-Edwards shear
fix ms all multisphere/sllod tau 0.05 bins 15
# Superquadric non-spherical particles under Lees-Edwards shear
fix sq all nve/superquadric/sllod integration_scheme 1 tau 0.05 bins 20
Description#
These commands perform time integration for particles under planar shear flow with Lees-Edwards boundary conditions (fix lebc) according to the SLLOD equations of motion (Evans & Morriss, 1984; Daivis & Todd, 2006).
Physical Motivation: Why SLLOD with Lees-Edwards Boundaries?#
In planar shear flow under Lees-Edwards boundary conditions (fix lebc), the periodic boundaries slide with relative velocity \(v_{\text{shear}} = \dot{\gamma} L_{\text{lebc}}\), inducing a background linear streaming velocity profile:
where:
\(b\) is the velocity gradient axis (specified by lebc_direction in fix lebc),
\(a\) is the sliding flow axis (specified by shear_direction in fix lebc),
\(\dot{\gamma}\) is the shear rate (shear_rate),
\(c_b = \frac{1}{2}(x_{b,\text{lo}} + x_{b,\text{hi}})\) is the coordinate center of the simulation box along the gradient axis.
A particle’s laboratory velocity \(\mathbf{v}\) can be decomposed into the streaming velocity \(\mathbf{u}(x_b)\) and its peculiar (thermal/fluctuation) velocity \(\mathbf{v}_{\text{pec}}\):
When a particle moves with cross-gradient velocity \(v_b\), it continuously traverses across differing streaming velocity layers. Consequently, the streaming velocity at the particle’s position changes at the convective rate \(\dot{u}_a = \dot{\gamma} v_b\).
Standard time integrators (such as fix nve or fix nve/sphere) integrate laboratory velocities directly without accounting for this convective background term. In continuous shear flows, this causes fictitious profile distortion, artificial boundary boundary-layer slips, and unphysical heating.
The SLLOD equations of motion resolve this by directly integrating the peculiar velocity \(\mathbf{v}_{\text{pec}}\) with the exact convective coupling term \(-\dot{\gamma} v_b\):
This guarantees exact consistency with the Hamiltonian equations of motion for sheared systems, maintaining an unbiased linear velocity profile across the entire domain without artificial wall or boundary artifacts.
Symplectic Time Integration Scheme#
WASHLIGGGHTS implements a time-reversible, symplectic Velocity-Verlet operator splitting scheme:
Initial Half-Step Velocity Update:
The peculiar velocity along the shear direction and laboratory velocities in other directions are advanced by \(\Delta t / 2\):
\[v_{\text{pec},a}\left(t + \frac{\Delta t}{2}\right) = \left[ v_{\text{pec},a}(t) + \frac{\Delta t}{2 m} F_a(t) - \frac{\Delta t}{2} \dot{\gamma} v_b(t) \right] \times f_{\text{damp}}\]\[v_d\left(t + \frac{\Delta t}{2}\right) = v_d(t) + \frac{\Delta t}{2 m} F_d(t) \quad (d \ne a)\]Midpoint Streaming Coordinate & Position Update:
Positions are advanced using the midpoint streaming velocity:
\[x_b\left(t + \frac{\Delta t}{2}\right) = x_b(t) + \frac{\Delta t}{2} v_b\left(t + \frac{\Delta t}{2}\right)\]\[x_a(t + \Delta t) = x_a(t) + \Delta t \left[ v_{\text{pec},a}\left(t + \frac{\Delta t}{2}\right) + \dot{\gamma} \left( x_b\left(t + \frac{\Delta t}{2}\right) - c_b \right) \right]\]\[x_d(t + \Delta t) = x_d(t) + \Delta t \, v_d\left(t + \frac{\Delta t}{2}\right) \quad (d \ne a)\]Final Half-Step Velocity Update:
After new contact and external forces \(\mathbf{F}(t + \Delta t)\) are evaluated:
\[v_{\text{pec},a}(t + \Delta t) = \left[ v_{\text{pec},a}\left(t + \frac{\Delta t}{2}\right) + \frac{\Delta t}{2 m} F_a(t + \Delta t) - \frac{\Delta t}{2} \dot{\gamma} v_b(t + \Delta t) \right] \times f_{\text{damp}}\]\[v_d(t + \Delta t) = v_d\left(t + \frac{\Delta t}{2}\right) + \frac{\Delta t}{2 m} F_d(t + \Delta t) \quad (d \ne a)\]\[v_a(t + \Delta t) = v_{\text{pec},a}(t + \Delta t) + \dot{\gamma} (x_b(t + \Delta t) - c_b)\]
Peculiar Velocity Relaxation and Spatial Slab Binning#
In dense granular shear flows, particles can develop persistent collective non-affine velocity perturbations or shear banding. WASHLIGGGHTS provides two profile relaxation mechanisms controlled by the tau and bins keywords:
Global Relaxation (``bins 0``, ``tau > 0``): Applies a uniform exponential damping factor \(f_{\text{damp}} = 1 / (1 + \Delta t / (2 \tau))\) to peculiar velocity fluctuations during each half-step integration.
Momentum-Conserving Spatial Slab Binning (``bins N > 0``, ``tau > 0``): Discretizes the domain along the gradient axis \(x_b\) into \(N\) spatial slabs. For each slab \(k\), the collective net peculiar momentum is computed across all MPI processors:
\[\bar{v}_{\text{pec},k} = \frac{\sum_{i \in \text{slab } k} m_i \left( v_{a,i} - \dot{\gamma}(x_{b,i} - c_b) \right)}{\sum_{i \in \text{slab } k} m_i}\]Each particle within slab \(k\) receives a velocity correction:
\[\Delta v_a = -\beta \, \bar{v}_{\text{pec},k}, \quad \text{where } \beta = \min\left(1.0, \frac{\Delta t}{\tau}\right)\]This actively damps out non-affine shear layer deviations toward the ideal linear profile while strictly conserving total linear momentum (\(\sum m_i \Delta v_a = 0\)) within each spatial slab.
Particle Morphology Variants#
Non-Rotating Particles (``fix nve/sllod``): Integrates translational motion for point particles or smooth particles where rotational degrees of freedom are omitted. Supports both per-atom mass (
atom_style sphere) and per-type mass (atom_style atomic).Spherical Granular Particles (``fix nve/sphere/sllod``): Integrates translation via SLLOD and rotational motion for spherical granular particles:
\[I \dot{\boldsymbol{\omega}} = \mathbf{T}\]where \(I = \frac{2}{5} m R^2\) is the moment of inertia and \(\mathbf{T}\) is the net torque from tangential contact and rolling resistance forces.
Rigid Multisphere Bodies (``fix multisphere/sllod``): Integrates rigid multisphere assemblies (fix particletemplate/multisphere). The rigid body center of mass \(\mathbf{x}_{\text{cm}}, \mathbf{v}_{\text{cm}}\) is updated via SLLOD equations, while orientation quaternions and angular momentum are updated via rigid-body rotational dynamics. Cross-LEBC velocity shifts are automatically incorporated into MPI border communications to ensure multi-core parallel scaling.
Superquadric Non-Spherical Particles (``fix nve/superquadric/sllod``): Integrates non-spherical superquadric particles (gran surface superquadric model). Translates the centroid using SLLOD and updates 3D orientation quaternions using the selected
integration_scheme(scheme 1, 2, or 3).
Supported Shear Permutations#
All 6 orthogonal combinations of the Lees-Edwards boundary gradient axis and shear sliding direction are supported:
Gradient in \(x\), Shear in \(y\) or \(z\) (\(xy\), \(xz\))
Gradient in \(y\), Shear in \(x\) or \(z\) (\(yx\), \(yz\))
Gradient in \(z\), Shear in \(x\) or \(y\) (\(zx\), \(zy\))
The axes are automatically identified from the companion fix lebc command.
Restart, fix_modify, output, run start/stop, minimise info#
Restarts: SLLOD integration settings and peculiar velocity states are preserved in binary restart files (write_restart / read_restart).
Output: Particle positions and laboratory velocities are output via standard dump custom. Peculiar velocities can be computed in LAMMPS variables as:
variable vpec atom "vx - 10.0*(y - 0.05)"
Energy Minimisation: These fixes are not invoked during energy minimisation (minimize).
Restrictions#
Requires an active fix lebc command in the simulation.
nve/sphere/sllodrequiresatom_style sphere.nve/superquadric/sllodrequiresatom_style superquadric.multisphere/sllodrequires rigid body definitions created via fix multisphere.
References#
(Evans & Morriss, 1984) D. J. Evans and G. P. Morriss, “Nonlinear-response theory for steady planar Couette flow”, Physical Review A, 30(3), pp. 1528–1530, 1984.
(Daivis & Todd, 2006) P. J. Daivis and B. D. Todd, “A simple, direct derivation and proof of the validity of the SLLOD equations of motion for generalized homogeneous flows”, The Journal of Chemical Physics, 124(19), 194103, 2006.