rblock.energy

Syntax

f = rblock.energy(s)

Get the rigid block total energy contribution. This is the sum over all rigid blocks of the energy with name s (see the model energy command). Available energies are: energy-body, energy-damp, and energy-kinetic.

Returns:f - rigid block total energy contribution
Arguments:s - name of the energy partition