compute velocity/mesh command

Warning

GPU support for this command has not been tested and may not work as expected.

Syntax

compute ID group-ID velocity/mesh general_keyword general_values mesh_id
  • ID, group-ID are documented in compute command

  • velocity/mesh = style name of this compute command

  • general_keywords general_values are documented in compute

  • mesh_id = ID of the mesh of which the velocity is to be computed

Examples

compute 1 all velocity/mesh my_mesh_id

Description

Define a computation that calculates the linear and rotational velocity of a mesh.

Output info:

This compute calculates a global vector, where the first three entries correspond to the linear and the last three to the angular velocity. These values can be used by any command that uses a global scalar value from a compute as input. See Section_howto 8 for an overview of Aspherix® output options.

Restrictions

None.

Default

None.