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.
Available contact energies are energy-dashpot, energy-pbstrain, energy-slip, and energy-strain. These are defined in the “Contacts and Contact Models” section.
By default, energies are not accumulated. See the “Energy Tracking” topic for further details.
Returns: f - energy partition value
Arguments: c - contact pointer
s - energy partition name
See also
Was this helpful? ... | PFC © 2019, Itasca | Updated: Apr 26, 2019 |