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: DU=fvc::grad(U); DUT=DU.T(); 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() Regards, António Martins |
All times are GMT -4. The time now is 06:27. |