block.subcontact.energy

Syntax

f = block.subcontact.energy(bscp,s s)

Get the component of energy associated with the subcontact defined by s. Admissable values for s depend on the joint model. Mohr-coulomb based models have the following quantitites defined: * energy-strain-shear * energy-strain-compression * energy-strain-tension * energy-slip

Returns:f - energy
Arguments:bscp - block subcontact pointer s - string defining deesired energy quantity