CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Problem in defining and using the deformation rate tensor (http://www.cfd-online.com/Forums/openfoam-solving/70298-problem-defining-using-deformation-rate-tensor.html)

titio November 19, 2009 13:50

Problem in defining and using the deformation rate tensor
 
Hi Foamers,

I am tying to represent the deformation rate tensor in OpenFoam. I know that some instalations use the following code, in the form:

DU=fvc::grad(U);
DUT=DU.T();
DR=DUT+DUT.T();

I know that other forms work just fine. However, when I solve the momentum equations, that include a term in the form constant*DR, why can not I write the following expression:

constant*(fvc::grad(U)+fvc::grad(U).T()).

Also, when I do DU.T() above, that is equivalent to do the fvc of the transpose of DU, he gradient of the velocities, right?

Your sincerely,

António Martins


All times are GMT -4. The time now is 21:03.