|
[Sponsors] |
How to change realizable k-e model constant values |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 3, 2020, 14:00 |
How to change realizable k-e model constant values
|
#1 |
New Member
Moataz
Join Date: Nov 2019
Posts: 7
Rep Power: 7 |
I use realizable k-e turbulence mخdel of fluent and I want to change the value of c1e which equal 1.44 to anthor value. I only found that I can edit values of c2e, tke prandtle,tdr prandtle....etc
Please advice Last edited by motaz.medhat; February 4, 2020 at 03:30. |
|
February 3, 2020, 14:19 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
What software....?
|
|
February 3, 2020, 14:19 |
|
#3 |
Senior Member
|
You are obviously using a cfd software. Now, there are three options:
1) It has a dedicated forum here. You should go there if you want to keep this information secret. 2) It doesn't have a dedicated forum here. We really have no chance to help if you don't tell us which software you are using. 3) Independently from which one of the two above applies, it is actually possible to change it by simply looking better. |
|
February 4, 2020, 03:31 |
|
#4 |
New Member
Moataz
Join Date: Nov 2019
Posts: 7
Rep Power: 7 |
fluent cfd
|
|
February 4, 2020, 12:02 |
|
#5 |
Senior Member
|
My apologies, I haven't looked at the turbulence models in a while.
The reason for C1e control missing is just because the realizable k-epsilon model doesn't actually have a C1e. Basically, the epsilon equation in the realizable model is different from the usual one and the production term, the one multiplied by C1e in the standard k-e model, is one of those terms that are different. See, for example, here: https://www.afs.enea.it/project/nept.../th/node60.htm And here (pages 9 and 10 and eqs. 23 and 25): https://www.researchgate.net/publica...and_Validation |
|
February 4, 2020, 12:11 |
|
#6 |
Senior Member
|
What the Fluent manual cites as C1e in the realizable model, at least the one I have access to at the moment, is actually a constant in the buoyancy term, which appears to have also C3e:
Pb = C1e * e/k * C3e * Gb If this is what you are referring to, then maybe try to activate buoyancy (both in general and in the k-e model if I recall correctly) and see if you have both C1e and C3e... then let us know |
|
February 4, 2020, 12:45 |
|
#7 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
Fluent has some limitations on the buoyancy term. Normally the buoyancy term in the epsilon equation is disabled (Gb is 0) and the C1e would never come into effect. If you enable the full buoyancy effects, then Gb is included. The way C3e is implemented in Fluent is also a bit special (following the work of Henkes et al.) and there is not user-definable C3e but instead involving a tanh. I don't have this paper right now to verify what happens to the C1e constant in this approach, it might not even be applicable. Regardless, there's no option to tune either C1e or C3e in the realizable k-epsilon model in Fluent.
Please make sure you actually care about this term. I was able to verify that there is no C1e specific to the rke model (there's no parameter for it). If it did exist, it would have to be hard-coded or reference by passing another variable (e.g. the C1e from the standard k-epsilon model). I don't think any developer would do this second option. If it did reference the standard model constant, then you could just change the constant in standard k-epsilon and then switch to rke. But again, that would be stupid. I would first read through Henkes' paper first to understand it better. |
|
February 5, 2020, 05:00 |
rpvar
|
#8 |
Senior Member
|
used in all models is same. It does not matter whether it is standard, RNG, or realizable. The only difference is in their values. For standard and realizable, value is set to 1.44 while for RNG, it is set to 1.42. It is not really a good idea to change these values, however, if you really want to see the effect, you can modify it using
(rpsetvar 'kec1 1.4) Default is 1.44, the command above changes it to 1.4
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
February 5, 2020, 05:42 |
|
#9 |
Senior Member
|
Quote:
|
|
February 5, 2020, 05:58 |
Dissipation equation is different
|
#10 |
Senior Member
|
One of the major differences in Realizable mode is the equation. It does not contain production term for turbulent kinetic energy per se; only the mean rate of strain tensor is included.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
August 20, 2024, 11:54 |
rpsetvar for swirl factor
|
#11 |
New Member
Fernando Valenzuela-Calva
Join Date: Oct 2016
Posts: 2
Rep Power: 0 |
Dear Community
By using Fluent, I want to use rpsetvar to evaluate the effects of changing Swirl Factor on RNG k-e Model. I am having troubles to find the exact 'var_name for Swirl Factor on (rpsetvar 'var_name value). Can you please help me? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Lagrangian Phase Change Model | craven.brent | OpenFOAM Programming & Development | 4 | December 25, 2022 20:22 |
Overflow Error in Multiphase Modelling with Two Continuous Fluids | ashtonJ | CFX | 6 | August 11, 2014 15:32 |
I want to Change Values in Existing UDF to Match my Model | mamkol | Fluent UDF and Scheme Programming | 1 | April 26, 2013 03:57 |
Ideal vs constant gas model | chris12345 | STAR-CCM+ | 1 | January 2, 2013 07:49 |
Realizable k-epsilon model for cavity flows | vasuaero1988 | FLUENT | 1 | September 27, 2010 04:06 |