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

RANS - Calculate k&epsilon if there are not present

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2019, 14:34
Default RANS - Calculate k&epsilon if there are not present
  #1
Member
 
Join Date: Jun 2011
Location: Germany
Posts: 59
Rep Power: 14
Siassei is on a distinguished road
Hello,

I try to write an unverisal function for an challange and has no idea for the universal part.
If in the RANS simulation is
k := turbulent kinetic energy
or/and
epsilon := energy dissipation rate
are not present (e.g. k-omega turb. model), how can I calculate the values/fields. The formula are present (k, epsilon)

Please tell me an way to calculate the values in a function that are written to system/controlDict

Code:
...
functions
{
    calcSomething
    {
        libs        ("libutilityFunctionObjects.so");
        type coded;
        name abc;
        codeWrite
        #{
            // if epsilon is not present
               // do calc
            // if k is not present
               // do calc
            // ...
        #};
    }
}
Siassei 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
How to calculate Turbulent Intensity and Hydraulic Diameter for my problem? Roh FLUENT 1 June 17, 2018 03:12
RANS for transient simulation? CellZone Main CFD Forum 9 July 6, 2017 06:48
calculate friction factor & nusselt number soheil1991 FLUENT 3 March 11, 2017 09:30
calculate velocity difference helly OpenFOAM Post-Processing 0 June 21, 2016 08:49
calculate values for eps and k from Re or u????? sbar OpenFOAM Pre-Processing 5 August 16, 2010 04:10


All times are GMT -4. The time now is 06:50.