
[Sponsors] 
July 27, 2011, 08:52 
RNG kepsilon model implementation

#1 
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Stockholm, Sweden
Posts: 366
Rep Power: 12 
Hej,
I was wondering why the implementation of the RNG kepsilon model in OpenFOAM looks so much different from the implementation of the standard kepsilon model? Even the kequation looks different, even though that one should be the same. kequation standard keps: Code:
tmp<fvScalarMatrix> kEqn ( fvm::ddt(k_) + fvm::div(phi_, k_)  fvm::Sp(fvc::div(phi_), k_) // missing from the kequation of RNG  fvm::laplacian(DkEff(), k_) == G  fvm::Sp(epsilon_/k_, k_) ); Code:
tmp<fvScalarMatrix> kEqn ( fvm::ddt(k_) + fvm::div(phi_, k_)  fvm::laplacian(DkEff(), k_) == G  fvm::Sp(epsilon_/k_, k_) ); epsequation RNG Code:
// Dissipation equation tmp<fvScalarMatrix> epsEqn ( fvm::ddt(epsilon_) + fvm::div(phi_, epsilon_)  fvm::laplacian(DepsilonEff(), epsilon_) // I expect another term here == (C1_  R)*G*epsilon_/k_ // why is the term R, which is part of the changed C_eps2 constant subtracted from C_eps1 // fvm::SuSp(R*G/k_, epsilon_)  fvm::Sp(C2_*epsilon_/k_, epsilon_) // C2 is a constant here, even though it should be a function of the strainrate tensor );
__________________
~roman 

November 23, 2011, 10:19 

#2  
Senior Member
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 364
Rep Power: 11 
Quote:
Best Regards V. 

Tags 
rngkepsilon, turbulence model 
Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Use of kepsilon and komega Models  Jade M  Main CFD Forum  13  June 24, 2016 11:57 
Superlinear speedup in OpenFOAM 13  msrinath80  OpenFOAM Running, Solving & CFD  18  March 3, 2015 06:36 
RNG (renormalized group) or RM(realizable model) based on Ke  heidar  FLUENT  0  April 17, 2010 04:21 
problems with a DES (kepsilon model) implementation  sven82  OpenFOAM Running, Solving & CFD  15  May 19, 2009 09:43 
How to define Epsilon in RSM model?  David  FLUENT  0  March 17, 2004 10:39 