contact.prop

Syntax

a = contact.prop(c,ap)
contact.prop(c,ap) = a

Get/set a contact model property. An exception is thrown if the contact model does not support the specified property.

The list of mechanical contact models is given in the “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, flat joint, and fish property tables.

Returns:

a - property value

Accepts:

a - property value

Arguments:

c - contact pointer

ap - property name or index (see contact.prop.index and contact.model.prop.index)