|
[Sponsors] |
May 10, 2018, 15:39 |
SU2 Turbulence Model Coefficients
|
#1 |
New Member
Ankara
Join Date: May 2018
Posts: 2
Rep Power: 0 |
Hello, I would like to change the Betastar which is in the k-w turbulence model equation. How can I do it?
|
|
May 16, 2018, 09:16 |
|
#2 |
New Member
Laurent van den Bos
Join Date: Jun 2015
Posts: 4
Rep Power: 11 |
Hi there,
This is not possible by default (at the time of writing, v6.0.1). The turbulence constants are hardcoded in the source. Recently I have been trying to do the same thing. Fortunately it is not too hard to change the constant. It is defined on line 3325 of the file solver_direct_turbulent.cpp, see: https://github.com/su2code/SU2/blob/...lent.cpp#L3325 If you want to change the constant very often, I suggest that you make it a configuration parameter. For that to happen, you can add the parameter in the following files: - Common/src/config_structure.cpp - Common/include/config_structure.inl - Common/include/config_structure.hpp All files already include countless examples of how configuration parameters can be added in this way. Note that SU2 is open source software under the LGPL license. This means that if you distribute your changed version in binary form you also have to redistribute your source code. I am not a lawyer and not an expert on licenses, so if you are going to redistribute your changes read the file LICENSE |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Use of k-epsilon and k-omega Models | Jade M | Main CFD Forum | 40 | January 27, 2023 08:18 |
NEW turbulence TRANSITIONAL model | giammy92 | OpenFOAM | 3 | June 30, 2016 10:47 |
Error in Two phase (condensation) modeling | adilsyyed | CFX | 15 | June 24, 2015 20:42 |
Overflow Error in Multiphase Modelling with Two Continuous Fluids | ashtonJ | CFX | 6 | August 11, 2014 15:32 |
Discussion: Reason of Turbulence!! | Wen Long | Main CFD Forum | 3 | May 15, 2009 10:52 |