LIGGGHTS(R)-PUBLIC WWW Site - LIGGGHTS(R)-PUBLIC Documentation - LIGGGHTS(R)-PUBLIC Commands

compute rigid command

compute multisphere command

Syntax:

compute ID group-ID rigid (or multisphere) property property_name 

Examples:

compute xcm all rigid property xcm  
compute xcm all multisphere property xcm 

Description:

Define a computation that calculates properties of individual multi-sphere bodies (clumps) in the similation that were defined via fix particletemplate/multisphere

The local data stored by this command is generated by looping over the all the bodies owned on a process.

IMPORTANT NOTE: the group-ID is ignored for this command, as group data is atom-based, not clump-based.

Output info:

This compute calculates a local vector or local array depending on the length of the data (see above). The vector or array can be accessed by any command that uses local values from a compute as input. See this section for an overview of LIGGGHTS(R)-PUBLIC output options.

Restrictions:

Can only be used together with a granular pair style. For accessing particle-wall contact data, only mesh walls can be used.

Related commands:

dump local, compute property/local

Default: none