dem_gravity
Configurable gravity body force plugin for MDDEM simulations.
Applies F = m * g to all local (non-ghost) atoms each timestep at ScheduleSet::Force.
Configuration
[]
= 0.0 # x-component (m/s^2, default 0)
= 0.0 # y-component (m/s^2, default 0)
= -9.81 # z-component (m/s^2, default -9.81)
Usage
use *;
let mut app = new;
app.add_plugins
.add_plugins
.add_plugins;
app.start;
Part of the MDDEM workspace.