CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Representation of terms

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 5, 2010, 13:48
Default Representation of terms
  #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 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
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
Implicit treatment of advection terms and pressure correction nikosb Main CFD Forum 0 January 17, 2010 17:07
Using source terms jsm Main CFD Forum 4 August 20, 2009 06:44
Question in definition of terms in solve titio OpenFOAM Running, Solving & CFD 0 March 19, 2009 17:02
Source terms in local coordinate frames CF CFX 2 August 29, 2006 02:30
K-Epsilon model? Brindaban Ghosh Main CFD Forum 2 June 24, 2000 04:22


All times are GMT -4. The time now is 17:25.