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

Source term divRhoRU

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2006, 03:15
Default In the file kEpsilon.C, the so
  #1
Member
 
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 17
tangd is on a distinguished road
In the file kEpsilon.C, the source term for momentum equation is defined as:

- fvm::laplacian(muEff(), U) - fvc::div(muEff()*dev2(fvc::grad(U)().T()))

But what does dev2() mean? What is the mathematical expression for the term dev2(fvc::grad(U)().T()))? Thanks!
tangd is offline   Reply With Quote

Old   October 20, 2006, 05:05
Default grep dev2 OpenFOAM-1.3/src/Ope
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
grep dev2 OpenFOAM-1.3/src/OpenFOAM/lnInclude/*

edit OpenFOAM-1.3/src/OpenFOAM/lnInclude/TensorI.H

line 396-401

//- Return the deviatoric part of a tensor
template <class>
inline Tensor<cmpt> dev2(const Tensor<cmpt>& t)
{
return t - SphericalTensor<cmpt>::twoThirdsI*tr(t);
}
eugene is offline   Reply With Quote

Old   December 7, 2007, 07:54
Default Hi, I have a question cons
  #3
mss
Guest
 
Posts: n/a
Hi,

I have a question conserning the operator "dev2". For example I am
interested in the following line:

fvc::div(muEff()*dev2(fvc::grad(U)().T()))

Can someone help me to translate it?

Thank you in andvance,
Rita
  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
Source term chris1980 OpenFOAM Running, Solving & CFD 10 August 27, 2007 06:04
UDF - Source term Andrew RONALD FLUENT 0 September 29, 2006 16:26
The source term of UDF summer FLUENT 0 August 24, 2006 17:44
Source Term Prakash Verma FLUENT 1 August 6, 2004 09:56
UDS source term Umesh Shah FLUENT 1 June 10, 2003 17:45


All times are GMT -4. The time now is 09:54.