CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

kEpsilon divSchemes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2017, 08:15
Default kEpsilon divSchemes
  #1
New Member
 
Join Date: Oct 2017
Posts: 8
Rep Power: 8
pawlo is on a distinguished road
Hello everybody!

I am new to OpenFOAM (v2.3) and trying to do a transient turbulent simulation with kEpsilon RASModel with the PIMPLE solver. I have copied all settings from tutorial examples and changed the geometry to my problem-geometry.

Because of some convergence problems i tried to change some entries in the fvSchemes file.

In the fvSchemes file there are the following divSchemes:

Code:
divSchemes
{
    default         none;
    div(phi,U)      bounded Gauss linearUpwind grad(U);
    div(phi,k)      bounded Gauss upwind;
    div(phi,epsilon) bounded Gauss upwind;
    div((nuEff*dev(T(grad(U))))) Gauss linear;
}
After playing around for some time i recognized that if i remove the entries for "k" and "epsilon", so that divSchemes looks like this:

Code:
divSchemes
{
    default         none;
    div(phi,U)      bounded Gauss linearUpwind grad(U);
    div((nuEff*dev(T(grad(U))))) Gauss linear;
}
OpenFOAM still starts the simulation without complaining about the missing entries. Whereas when i delete "div((nuEff*dev(T(grad(U))))) Gauss linear;" the simulation does not start because OpenFOAM complains that this entry is missing.

Does somebody know why removing the entries for "k" and "epsilon" does not make any difference? Is there a default value in the standard "kEpsilon" model?

Regarding the turbulence model:

I have all files, like RASProperties, turbulenceProperties, and transportProperties defined. I you want to see them please tell me, but i think they are properly defined.
pawlo is offline   Reply With Quote

Old   November 28, 2017, 00:38
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

Maybe I am wrong, but how often do you ask your solver to solve for turbulence? Is it only at the end of the inner loops for the transient solver? If it is only at the end, then my guess is that you will get an error saying that div(phi,k) has not be defined etc.

You could give it a shot and see.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   November 28, 2017, 05:40
Default
  #3
New Member
 
Join Date: Oct 2017
Posts: 8
Rep Power: 8
pawlo is on a distinguished road
Thank you! Now OpenFOAM complains when the entries for k and epsilon are missing. The problem was that is was too impatient. The turbulence was only solved at the end of all pimple iterations and i was expecting OpenFOAM to complain right at the beginning of a time step.
pawlo is offline   Reply With Quote

Reply

Tags
divschemes, kepsilon


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
Modify turbulence kEpsilon for incompressible multiphase franciscofelis OpenFOAM Programming & Development 14 April 11, 2018 03:55
Make wall-function read a newly defined field inside modified kEpsilon model Radunz OpenFOAM Programming & Development 2 July 18, 2017 22:39
kEpsilon and RNGkEpsilon not converging with second order schemes alpha23 OpenFOAM Running, Solving & CFD 1 September 2, 2015 10:47
Implementing kEpsilon turbulance mode with the airfoil example..... tareqkh OpenFOAM Programming & Development 0 December 8, 2014 00:18
bubbleFoam kEpsilon not converging for k on tutorial case vbchris OpenFOAM 1 March 31, 2013 23:45


All times are GMT -4. The time now is 02:51.