An Application from Appendix B.1
Although some operations do not seem to be predefined in Maple, the necessary operations do work as expected, we can now use Appendix B.1 of Bird, Stewart, and Lightfoot to define the individual components of τ as functions of x, y, and z. However, before I do so, I note that the use of tensors is not compatible with the use of the divergence operator ∇. instead, we use our own function Divergence2 to accomplish the divergence operation.
> | ![]() ![]() |
> | ![]() ![]() |
> | ![]() ![]() |
> | ![]() |
> | ![]() |
> | ![]() |
> | ![]() |
> | ![]() |
> | ![]() |
We can now see that τMatrix is effectively a function of x, y, and z. Note if needed the function eval can be used to display a tensor or matrix, although in many cases it is unnecessary.
> | ![]() |
At least as far as the definitions in Appendix B.1 are concerned, τ also appears to posses the desired properties to display as expected.
> | ![]() |