Skip to content

SLLOD Algorithm #35

@astatt

Description

@astatt

To implement the SLLOD algorithm for a homogeneous linear planar (Couette) shear flow, we need:

  1. a triclinic box deforming from -45 deg to +45 deg and flipping back in a periodic way
  2. each particle leaving the box in gradient direction at the bottom needs to get +shear_rate to its velocity, the ones leaving at the top need to get -shear_rate
  3. A thermostat which applies a gradient field consistent with box deformation and thermal fluctuations relative to the gradient
  4. And of course correct equations of motion.

Since these things are all tightly coupled together, only one class should be written: a SLLOD IntegrationMethodTwoStep. See TwoStepLangevinFlow for an example. The box can be updated to the current deformation based on the time step internally in the integrator, probably at the end of step 1, with a call to pdata->setGlobalBox(). When the integration of the equations of motion (i.e., update the positions) is done in step 1, the velocity wrapping for crossing pbcs can also be applied inside the integrator. If the box gets updated in step 1, then the forces will be computed before step 2 using the deformed box shape, correctly capturing the relative motion of the boxes.

The common convention in azplugins is to use z as gradient direction and x as flow direction (see RNEMD implementation).

The lammps implementation can be used as a model, see documentation and corresponding source code

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions