CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Source term divRhoRU

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

LinkBack Thread Tools Display Modes
Old   October 20, 2006, 03:15
Default In the file kEpsilon.C, the so
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 10
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
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 14
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, 08:54
Default Hi, I have a question cons
Posts: n/a

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


Can someone help me to translate it?

Thank you in andvance,
  Reply With Quote


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
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:09.