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/)
-   -   Question about term representation (http://www.cfd-online.com/Forums/openfoam-solving/65937-question-about-term-representation.html)

titio July 1, 2009 10:49

Question about term representation
 
Hi Foamers,

I have a question concerning tensors manipulation and how to represent two terms in OpenFoam. In particular
I need to do the following sum of terms:

tension & grad(U) + transpose (grad(U)) & tension

where tension is volTensorField. I am writing in OpenFoam exactly as I wrote before. However, I wondered if
it is possible to represent the same term in the form

volTensorField A = tension & grad(U);
volTensorField B = twoSymmn(A);

As the previous sum will give a symmetric tensor. My question is are they the same?

Regards,

Titio


All times are GMT -4. The time now is 09:13.