|
[Sponsors] |
June 6, 2011, 10:09 |
k-epsilon model - k term in the U-equation
|
#1 |
New Member
Gregory
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 15 |
Hi,
I am having a close look at the k-epsilon model implemented for incompressible flows in Openfoam. in the following piece of code: tmp<fvVectorMatrix> kEpsilon::divDevReff(volVectorField& U) const { return ( - fvm::laplacian(nuEff(), U) - fvc::div(nuEff()*dev(fvc::grad(U)().T())) ); } The k term in the Boussinesq eqauation ( 2/3 * k * delta_ij ) does not appear. Where can I find this term in the implementation? Thanks for your help! Gregory |
|
June 6, 2011, 11:11 |
|
#2 | |
Member
The True
Join Date: Dec 2010
Posts: 80
Rep Power: 15 |
You can find it in the file kEpsilon.C. I made a copy of it here:
Quote:
I see that the minus sign is reversed ~? maybe it is multiplied with minus somewhere else !!!!! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Use of k-epsilon and k-omega Models | Jade M | Main CFD Forum | 40 | January 27, 2023 07:18 |
Herschel-Bulkley non-Newtonian viscosity model has term with sign error | pbryant | OpenFOAM Bugs | 5 | June 18, 2013 23:53 |
Source Term on Scalar Transport Equation - crashing simulation | alessio.nz | OpenFOAM | 19 | February 8, 2011 07:38 |
Hentalpy equation openfoam - miss a term | lions85 | OpenFOAM | 2 | August 18, 2010 12:12 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 08:56 |