CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

doubt in representation the transpose of the velocity gradient

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 19, 2009, 15:11
Default doubt in representation the transpose of the velocity gradient
  #1
Senior Member
 
Antonio Martins
Join Date: Mar 2009
Location: Porto, Porto, Portugal
Posts: 112
Rep Power: 8
titio is on a distinguished road
Send a message via MSN to titio Send a message via Skype™ to titio
Hi Foamers,

I have a problem where I have to use the gradient of the velocity and its transpose. To calculate the gradient of the velocity I can do it using the expression:

DU=fvc::grad(U);

However, the expression DUT=fvc::grad(U).T(); does not work. What I am doing is write DUT=DU.T();. Is this equivalent to the expression that I am writing. I believe it is as DUT as an variable will inherit all the characteristics of the variable DU. Both were defined as tensor fields initialized in the createFields.H file

If I am doing something, or there is a better way, please somebody tell how I can do this correctly.

Regards,

António Martins
titio is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inlet Velocity in CFX aeroman CFX 12 August 6, 2009 18:42
Velocity Under-relaxation in SIMPLE type methods Matt U. Main CFD Forum 6 July 4, 2005 05:29
Calculation of velocity gradient Chris Main CFD Forum 8 December 18, 2003 09:35
Velocity gradient Stephen Main CFD Forum 0 April 7, 2003 10:28
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 05:50.