|
[Sponsors] |
February 6, 2009, 13:56 |
Hi everybody,
I am using Op
|
#1 |
Senior Member
|
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 |
|
February 6, 2009, 15:28 |
Hi !
Are you sure your term
|
#2 |
Member
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 17 |
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 |
|
|
|
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 05:34 |
problem with pump as source term | hari | FLUENT | 1 | September 19, 2005 12:38 |
Representing Efficiency in Wind Turbines | Jenny | FLUENT | 1 | May 28, 2005 15:34 |
Problem Buoyancy Term | Andreas | Main CFD Forum | 1 | March 4, 2004 01:35 |