CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Representation of terms (

titio February 5, 2010 13:48

Representation of terms
Hi Foamers,

I have a doubt about how to represent two terms in OpenFoam.

One is the transpose of grad(U). From my point of view, I can do it simply by writing:


However, I believe DUT can be written as DUT=fvc::grad(U)().T(); Is there any difference between the two terms.

The second concerns the calculation of the strain rate DR=grad(U) + transpose of grad(U). Are the following forms equivalent of different

- DR=DUT+DUT.T(); where DUT=DU.T() and DU=fvc::grad(U)
- DR=DU+DUT, where DU=fvc::grad(U) and DUT=fvc::grad(U)().T()


António Martins

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