fix centripetal#

Syntax#

fix ID group-ID centripetal centre cx cy cz magnitude fmag
  • ID, group-ID are documented in fix command

  • centripetal = style name of this fix command

  • centre = keyword specifying the center point * cx, cy, cz = coordinates of the center point (distance units)

  • magnitude = keyword specifying the force magnitude * fmag = magnitude of the centripetal acceleration/force

Examples#

fix 1 all centripetal centre 0.0 0.0 0.0 magnitude 9.81

Description#

Applies a centripetal force to each particle in the specified group, directing it towards the defined center point (cx, cy, cz) with a constant magnitude fmag. This can be used to simulate gravitational pull towards a central mass, rotating frames, or other radially symmetric force fields.

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

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

Restrictions#

none

Default#

none