Dimensioned Tensor: having diagonal terms which are not predefined constant
Hello everyone,
I would like to ask if someone can tell me if it is possible to define a dimensionedSymmtensor having diagonal terms which are not predefined constant (variables, let say). In practice I would like to know if it is possible to define an "object " like this: Code:
D_ Thank you very much in advance. Regards, Paolo |
Hello,
I have just found another way to define the volumeTensorField Code:
{ Furthermore, I have another tensor field A, and my goal is to obtain D as the diagonal of the field A. Does anyone knows if there is a way around to get the diagonal of a tensor field? Thanks Paolo |
All times are GMT -4. The time now is 07:02. |