tr() of a volSymmTensorField ??
I have modified the vorticity.C file to create an application to calculate the strain rate tensor:
This compiled fine and ran. However as a sanity check I calculated:
...hoping it would be close to zero, (i am running an incompressible case)
and it wasn't, for the pisoFoam cavity case ~11, ~-39 were recorded.
So I ran,
To expect exactly the same value, however this gave ~7 and ~7.
I think I have misinterpreted some behaviour somewhere.
Any help would be greatly appreciated!
|All times are GMT -4. The time now is 02:59.|