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

Problem in representing term of PDE

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2009, 12:56
Default Hi everybody, I am using Op
  #1
Senior Member
 
Antonio Martins
Join Date: Mar 2009
Location: Porto, Porto, Portugal
Posts: 112
Rep Power: 17
titio is on a distinguished road
Send a message via MSN to titio Send a message via Skype™ to titio
Hi everybody,

I am using OpenFoam to solve a flow problem where the oldroyd derivative (Time convected derivative) has to be taken into account. In it there are two terms, tensor*grad(u) and Grad(Transpose U)*Tensor, where I am having problems. Tensor is a tensorial field and U is the velocity.

For the first term was reprented in the formm tensor & fvc::grad(U). It worked. However, for the second term if I represent it in the form fvc::grad(U.T()) & tensor, it does not work.

What am I doing wrong? Should I define the transpose before aplying the fvc?

António Martins
titio is offline   Reply With Quote

Old   February 6, 2009, 14:28
Default Hi ! Are you sure your term
  #2
Member
 
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 17
mathieu is on a distinguished road
Hi !

Are you sure your term is not transpose(grad(U)). If it is the case, then use the following code:

volTensorField gradU = fvc::grad(U);

//First term:
(tensor & gradU)

//Second term:
(gradU.T() & tensor)


Mathieu
mathieu is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems in representing convected derivatives in OpenFoam titio OpenFOAM Running, Solving & CFD 1 February 16, 2009 15:01
Representing real length in Gambit souzan FLUENT 4 May 20, 2008 04:34
problem with pump as source term hari FLUENT 1 September 19, 2005 11:38
Representing Efficiency in Wind Turbines Jenny FLUENT 1 May 28, 2005 14:34
Problem Buoyancy Term Andreas Main CFD Forum 1 March 4, 2004 00:35


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