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

Problem in representing term of PDE

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 6, 2009, 13: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: 8
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, 15:28
Default Hi ! Are you sure your term
  #2
Member
 
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 76
Rep Power: 8
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

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
Problems in representing convected derivatives in OpenFoam titio OpenFOAM Running, Solving & CFD 1 February 16, 2009 16: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 01:35


All times are GMT -4. The time now is 22:21.