i = contact.model.prop.index(sm,s)

Get a contact model property index. An exception is thrown if the contact model does not support the specified property. The contact model property index is preferred versus a string when in multithreaded computations. This index can be used with the contact.prop and contact.isprop functions.

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.


i - property index


sm - contact model name

s - property name