contact.energy

Syntax

f = contact.energy(c,s)

Get the current value of an energy partition. The second argument s refers to an energy partition name. If no such energy partition exists at the specified contact, then a zero value is returned (see the model energy command). Available contact energies are energy-adhesive, energy-dashpot, energy-pbstrain, energy-rrstrain, energy-rrslip, energy-slip, and energy-strain These are defined in the “Contacts and Contact Models” section.

Returns:

f - energy partition value

Arguments:

c - contact pointer

s - energy partition name