Distance

ExternalDistance #

It depends on the distance between particles and a structure such as a planner surface.

Example #

[[forcefields.external]]
interaction    = "Distance"
potential      = "LennardJonesWall"
shape.name     = "AxisAlignedPlane"
shape.axis     = "X"
shape.position = 0.0
shape.margin   = 0.5
parameters     = [
# ...
]

Input Reference #

shape #

  • name: String
    • The following shape is available.
    • "AxisAlignedPlane" requires the following fields.
      • axis: String
        • The axis that is parpendicular to the plane. like: "X", "Y", "Z".
      • position: Floating
        • The position of the plane along the axis specified.
  • margin: Floating
    • The margin of the neighborling list relative to the cutoff length.