Question about twoSymm Function
In some turbulence models it is used the function twoSymm. I think that when applied to a tensor field
representing the gradient of the velocity, this function gives as a result the deformation rate. In OpenFoam
volTensorField DU = fvc :: grad (U);
volSymmTensorField DR = twoSymm (DU) ;
DR will be equal to grad(U) + transpose (grad (U)), right?
If I am wrong, can anyone explain what the function twoSymm does when applied to a tensor field. I looked in the
manuals, either in PDF and online and I did not find nothing.
have a look here:
//- Return twice the symmetric part of a tensor
template <class Cmpt>
inline SymmTensor<Cmpt> twoSymm(const Tensor<Cmpt>& t)
2*t.xx(), (t.xy() + t.yx()), (t.xz() + t.zx()),
2*t.yy(), (t.yz() + t.zy()),
|All times are GMT -4. The time now is 18:34.|