CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Question about term representation (

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?



All times are GMT -4. The time now is 11:20.