EigenVectors and volSymmTensorField
Hi, I am an OpenFOAM newbie using v1.6. I am modifying a solver I found on this forum and have a particular question, regarding the following code snippet.
// Investigate why I cant say just eigenVectors(A2) later.
eigenVectors(A2 & UnitTensor)
Where UnitTensor is (1 0 0 0 1 0 0 0 1). I have the following observations:
1. When I try to define the eigenVectors without "multiplying" by the UnitTensor ( as eigenVectors(A2) ), I get an error while compiling.
2. If I specify my A2 as volTensorField instead of volSymmTensorField, then I don't have the problem while compiling, even when I don't multiply by the UnitTensor.
What is going on? I'll be happy to furnish compiler errors, if required.
|All times are GMT -4. The time now is 16:47.|