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

SU2 Turbulence Model Coefficients

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2018, 15:39
Default SU2 Turbulence Model Coefficients
  #1
New Member
 
Ankara
Join Date: May 2018
Posts: 2
Rep Power: 0
mcangul is on a distinguished road
Hello, I would like to change the Betastar which is in the k-w turbulence model equation. How can I do it?
mcangul is offline   Reply With Quote

Old   May 16, 2018, 09:16
Default
  #2
New Member
 
Laurent van den Bos
Join Date: Jun 2015
Posts: 4
Rep Power: 11
LaurentvdB is on a distinguished road
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
LaurentvdB 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
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


All times are GMT -4. The time now is 16:31.