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

kEqn in kEpsilon.C

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 20, 2011, 12:35
Default kEqn in kEpsilon.C
  #1
Member
 
fisch
Join Date: Feb 2010
Posts: 97
Rep Power: 16
fisch is on a distinguished road
Hello,

i try to understand the equations for the k-epsilon turb model.
the equation for k is:
tmp<fvScalarMatrix> kEqn
(
fvm::ddt(k_)
+ fvm::div(phi_, k_)
- fvm::Sp(fvc::div(phi_), k_)
- fvm::laplacian(DkEff(), k_)
==
G
- fvm::Sp(epsilon_/k_, k_)
);

i understand all terms except the second and the third...
As far as i get it these terms should represent div(k*phi)
But how can
+ fvm::div(phi_, k_) - fvm::Sp(fvc::div(phi_), k_) == div(k*phi) ???



Thanks for any advice,
rupert
fisch is offline   Reply With Quote

 


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
How to get reference to k and epsilon in the epsEqn and kEqn cfd_explorer OpenFOAM Programming & Development 0 March 10, 2011 10:16
How to get reference to k and epsilon in the epsEqn and kEqn cfd_explorer OpenFOAM 0 March 10, 2011 09:58
About devReff() and divDevReff() in kEpsilon.C Zheng.Zhi OpenFOAM 0 August 24, 2009 02:05
Source term divRhoRU tangd OpenFOAM Running, Solving & CFD 2 December 7, 2007 07:54


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