wall attribute command

Syntax

wall attribute <facet> <vertex> keyword ... <range>

Set the value of wall attributes. This command is a synonym for the wall initialize command. Individual attributes can be listed with the wall list command and all attributes can be visualized. The optional vertex keyword can be used to with the velocity, velocity-x, velocity-y, or velocity-z keywords to set the vertex velocities for vertices in the specified range. The optional facet keyword can be used with the conveyor, conveyor-x, conveyor-y, or conveyor-z keywords to set the facet conveyor velocities for facets in the specified range.

cutoff-angle f

Set the cutoff angle (an angle in degrees) for walls. By default, the cutoff angle is 0. This angle controls contact state information propagation.

displacement v

Accumulated wall displacement vector as a result of cycling.

displacement-x f

The x-component of the accumulated wall displacement as a result of cycling.

displacement-y f

The y-component of the accumulated wall displacement as a result of cycling.

displacement-z f (3D ONLY)

The z-component of the accumulated wall displacement as a result of cycling.

euler v (3D ONLY)

Current orientation of Euler angles following the X,Y,Z convention (e.g., rotation about the x-axis followed by rotation about the y’-axis followed by rotation about the z’‘-axis) in degrees. The orientation is updated only when orientation tracking has been enabled (see model orientation-tracking command). When active, the current clump orientation can be visualized.

euler-x f (3D ONLY)

The x-euler angle (in degrees) of the current wall orientation. See the euler keyword for further details.

euler-y f (3D ONLY)

The y-euler angle (in degrees) of the current wall orientation. See the euler keyword for further details.

euler-z f (3D ONLY)

The z-euler angle (in degrees) of the current wall orientation. See the euler keyword for further details.

fragment i

Fragment ID (see “Fragment”).

position v

Wall location vector. This corresponds to the average position of all vertices. The center of rotation is not modified.

position-x f

The x-component of the wall location. This corresponds to the average position of all vertices. The center of rotation is not modified.

position-y f

The y-component of the wall location. This corresponds to the average position of all vertices. The center of rotation is not modified.

position-z f

The z-component of the wall location. This corresponds to the average position of all vertices. The center of rotation is not modified.

rotation-center v

Set the center of rotation for walls in the range. This is the position about which rotations occur when an angular velocity is supplied to a wall. The center of rotation translates with the wall if a translational velocity is supplied. The default center of rotation is the origin.

rotation-center-x f

Set the x-component of the center of rotation for walls in the range. This is the position about which rotations occur when an angular velocity is supplied to a wall. The center of rotation translates with the wall if a translational velocity is supplied. The default center of rotation is the origin.

rotation-center-y f

Set the y-component of the center of rotation for walls in the range. This is the position about which rotations occur when an angular velocity is supplied to a wall. The center of rotation translates with the wall if a translational velocity is supplied. The default center of rotation is the origin.

rotation-center-z f (3D ONLY)

Set the z-component of the center of rotation for walls in the range. This is the position about which rotations occur when an angular velocity is supplied to a wall. The center of rotation translates with the wall if a translational velocity is supplied. The default center of rotation is the origin.

spin fx fy fz (y- and z- components are 3D ONLY)

The wall angular velocity in radians per second. Walls rotate around their center of rotation.

spin-x f (3D ONLY)

The x-component of the wall angular velocity in radians per second. Walls rotate around their center of rotation.

spin-y f (3D ONLY)

The y-component of the wall angular velocity in radians per second. Walls rotate around their center of rotation.

spin-z f (3D ONLY)

The z-component of the wall angular velocity in radians per second. Walls rotate around their center of rotation.

velocity v

Wall translational velocity vector. If given with the vertex keyword, then this corresponds to the vertex velocity and the range applies to vertices.

velocity-x f

The x-component of the wall translational velocity. If given with the vertex keyword, then this corresponds to the x-component of the vertex velocity and the range applies to vertices.

velocity-y f

The y-component of the wall translational velocity. If given with the vertex keyword, then this corresponds to the y-component of the vertex velocity and the range applies to vertices.

velocity-z f (3D ONLY)

The z-component of the wall translational velocity. If given with the vertex keyword, then this corresponds to the z-component of the vertex velocity and the range applies to vertices.

velocity-conveyor v

Set the facet conveyor velocity vector. If given with the facet keyword, then the range applies to facets. Otherwise the conveyor velocity is set for all facets in each wall in the specified range. The conveyor velocity is a fictitious velocity that is added to the wall velocity when calculating the relative velocity between a facet and another piece. A conveyor velocity cannot be active when vertex velocities are active. Setting a nonzero conveyor velocity allows one to simulate conveyance of balls or clumps along facets without moving the facets.

velocity-conveyor-x f

Set the x-component of the facet conveyor velocity. If given with the facet keyword, then the range applies to facets. Otherwise the conveyor velocity is set for all facets in each wall in the specified range. The conveyor velocity is a fictitious velocity that is added to the wall velocity when calculating the relative velocity between a facet and another piece. A conveyor velocity cannot be active when vertex velocities are active. Setting a nonzero conveyor velocity allows one to simulate conveyance of balls or clumps along facets without moving the facets.

velocity-conveyor-y f

Set the y-component of the facet conveyor velocity. If given with the facet keyword, then the range applies to facets. Otherwise the conveyor velocity is set for all facets in each wall in the specified range. The conveyor velocity is a fictitious velocity that is added to the wall velocity when calculating the relative velocity between a facet and another piece. A conveyor velocity cannot be active when vertex velocities are active. Setting a nonzero conveyor velocity allows one to simulate conveyance of balls or clumps along facets without moving the facets.

velocity-conveyor-z f (3D ONLY)

Set the z-component of the facet conveyor velocity. If given with the facet keyword, then the range applies to facets. Otherwise the conveyor velocity is set for all facets in each wall in the specified range. The conveyor velocity is a fictitious velocity that is added to the wall velocity when calculating the relative velocity between a facet and another piece. A conveyor velocity cannot be active when vertex velocities are active. Setting a nonzero conveyor velocity allows one to simulate conveyance of balls or clumps along facets without moving the facets.

Usage Example

Be aware of the distinction between attributes and properties! The tutorial example “Attributes and Properties” discusses this issue in detail.