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

Can anyone explain the change in the code of mixtureKEpsilon turbulence model ?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2017, 15:18
Default Can anyone explain the change in the code of mixtureKEpsilon turbulence model ?
  #1
New Member
 
Rémi Demol
Join Date: Mar 2016
Location: Nancy, France
Posts: 10
Rep Power: 10
remidemol is on a distinguished road
Hello foamers,

I'm a bit confuse about the different formulations of mixtureKEpsilon models. It seems to me that in the version 3.0.1 mixtureKEpsilon model is written with an incompressible form, which is contradictory with the description of the twoPhaseEulerFoam I use.

Do anyone have an explanation ? Maybe it's written in an other way.

Thank you for your help !

In version 2.3 it's like this (I suppose compressible form)

Quote:
tmp<fvScalarMatrix> epsEqn
(
fvm::ddt(rhom, epsilonm)
+ fvm::div(phim, epsilonm)
- fvm::Sp(fvc::ddt(rhom) + fvc::div(phim), epsilonm)
- fvm::laplacian(DepsilonEff(rhom*nutm), epsilonm)
==
C1_*rhom*Gm*epsilonm/km
- fvm::SuSp(((2.0/3.0)*C1_)*rhom*divUm, epsilonm)
- fvm::Sp(C2_*rhom*epsilonm/km, epsilonm)
+ epsilonSource()
);




Whereas in version 3.0.1 it is (I suppose incompressible form)

Code:
    tmp<fvScalarMatrix> epsEqn
    (
        fvm::ddt(epsilonm)
      + fvm::div(phim, epsilonm)
      - fvm::Sp(fvc::div(phim), epsilonm)
      - fvm::laplacian(DepsilonEff(nutm), epsilonm)
     ==
        C1_*Gm*epsilonm/km
      - fvm::SuSp(((2.0/3.0)*C1_)*divUm, epsilonm)
      - fvm::Sp(C2_*epsilonm/km, epsilonm)
      + epsilonSource()
    );
remidemol is offline   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
Change turbulence model on engineFoam Chapelle OpenFOAM Running, Solving & CFD 4 January 26, 2018 11:14
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
change a variable in dissipation tem of turbulence model behest Fluent UDF and Scheme Programming 0 March 28, 2014 08:31
how to code Spalart-Allmaras turbulence model in unstructured mesh? ervasph Main CFD Forum 0 April 23, 2009 08:46
Turbulence model change msha OpenFOAM Running, Solving & CFD 2 September 28, 2007 03:08


All times are GMT -4. The time now is 05:57.