|
[Sponsors] |
RANS - Calculate k&epsilon if there are not present |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 21, 2019, 14:34 |
RANS - Calculate k&epsilon if there are not present
|
#1 |
Member
Join Date: Jun 2011
Location: Germany
Posts: 59
Rep Power: 14 |
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 // ... #}; } } |
|
|
|
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 |