|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Join Date: Jun 2020
Posts: 49
Rep Power: 7 ![]() |
Hi everyone,
does anyone know, if there is a way to access the model constants of your turbulence model, e.g. Cmu of the k-Epsilon model? It seems like there is no functions that returns those values. I could hard code them, but automatically using the correct values would be more elegant, if possible. |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 17 ![]() |
There is a member function (actually it is also public) which returns the coefficient dictionary: https://www.openfoam.com/documentati...8H_source.html
having the dictionary you can access also the entries Best Michael |
|
|
|
|
|
|
|
|
#3 |
|
Member
Join Date: Jun 2020
Posts: 49
Rep Power: 7 ![]() |
Ah, I missed that one. Perfect. Thank you very much!
|
|
|
|
|
|
![]() |
| Tags |
| turbulence models |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUIDE] Switching turbulence model to SpalartAllmaras | gabrielfelix | OpenFOAM Running, Solving & CFD | 1 | March 24, 2022 21:19 |
| Turbulence model activation | Scaty | Main CFD Forum | 8 | October 26, 2021 19:33 |
| Access turbulence model type | karim_mohamed | OpenFOAM Programming & Development | 0 | December 22, 2020 07:11 |
| Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 18:38 |
| changing model constants in k-e turbulence model | Sunil | CFX | 3 | October 3, 2006 13:12 |