contact property command

Syntax

contact <sprocess> property s a<inheritance b > ...

Assign contact properties. The value a is assigned to the contact model property with name s. All contacts with a contact model that recognizes the s property are affected. Inheritance may also be modified with the optional inheritance keyword, followed by a boolean.

Note that a may refer to a FISH function. In this case, the function must take at least one argument which will be filled with the contact pointer. If the function takes multiple arguments, then the first argument will be filled with the contact pointer, and a must be followed by the remaining arguments of the function.

By default, only mechanical contacts are considered. If sprocess is specified, then it must correspond to a process name and contacts within this process are considered.

The list of built-in mechanical contact models is given in the “Built-in Contact Models” section. In the documentation for each contact model, a Properties table exists. These include: the linear, linear contact bond, linear parallel bond, hertz, hysteretic, smooth joint, and the flat joint property tables. Users may also implement custom contact models and properties (see “User-Defined Contact Models” for further information).