fix insert/pack/multpos#

Syntax#

fix ID group-ID insert/pack/multpos keyword value ...
  • ID, group-ID are documented in fix command

  • insert/pack/multpos = style name of this fix command

  • keyword/value pairs can be the same as for fix insert/pack, with the addition of:

    • atP px py pz

      • px, py, pz = explicit coordinate at which to insert the particle pack

Examples#

fix ins all insert/pack/multpos atP 0.1 0.2 0.3 particles_in_region 1000

Description#

This fix is an extension of the standard fix insert/pack command. In addition to all the regular features for packing particles into a region, it allows you to specify an explicit insertion position using the atP keyword.

This is particularly useful when you need to insert identical packs of particles at multiple specific locations in the domain, without having to define a separate geometric region for each insertion point.

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

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

Restrictions#

none

Default#

none