Question: The flow and the divergence of the tensor of the 2nd rank

Hello everyone. I have a few questions. For example, a tensor 1 and 2 ranks in some coordinate system. It is understood the equivalence 1 rank tensor and a vector. How to determine the flow and the divergence of the tensor. Maple is already in the package VectorCalculus command flux and divergence, as in the subpacket Vectors Physics package has a command divergence. But what about the tensors 2 and higher ranks? Is it possible to do these things a uniform manner? Under flow tensor mean surface integral of the scalar multiplication of the tensor of the 2nd rank in the normal vector, followed by contraction. My sketches in the attached file.

Flux_tensor_field.mw

Please Wait...