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

How to change realizable k-e model constant values

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By LuckyTran
  • 1 Post By vinerm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2020, 14:00
Default How to change realizable k-e model constant values
  #1
New Member
 
Moataz
Join Date: Nov 2019
Posts: 7
Rep Power: 7
motaz.medhat is on a distinguished road
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.
motaz.medhat is offline   Reply With Quote

Old   February 3, 2020, 14:19
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
What software....?
LuckyTran is offline   Reply With Quote

Old   February 3, 2020, 14:19
Default
  #3
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
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.
sbaffini is online now   Reply With Quote

Old   February 4, 2020, 03:31
Default
  #4
New Member
 
Moataz
Join Date: Nov 2019
Posts: 7
Rep Power: 7
motaz.medhat is on a distinguished road
fluent cfd
motaz.medhat is offline   Reply With Quote

Old   February 4, 2020, 12:02
Default
  #5
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
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
sbaffini is online now   Reply With Quote

Old   February 4, 2020, 12:11
Default
  #6
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
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
sbaffini is online now   Reply With Quote

Old   February 4, 2020, 12:45
Default
  #7
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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.
sbaffini likes this.
LuckyTran is offline   Reply With Quote

Old   February 5, 2020, 05:00
Default rpvar
  #8
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
C1\varepsilon used in all k-\varepsilon 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.
vinerm is offline   Reply With Quote

Old   February 5, 2020, 05:42
Default
  #9
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quote:
Originally Posted by vinerm View Post
C1\varepsilon used in all k-\varepsilon 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
Well, the point now is to know which term this C1e actually multiplies in the realizable epsilon equation: regular production as in the other k-epsilon models (unlikely and in contrast to what the manual says) or just the buoyancy term (more likely at this point)? And more importantly, what the original poster actually wants to achieve?
sbaffini is online now   Reply With Quote

Old   February 5, 2020, 05:58
Default Dissipation equation is different
  #10
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
One of the major differences in Realizable mode is the \varepsilon 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.
vinerm is offline   Reply With Quote

Old   August 20, 2024, 11:54
Default rpsetvar for swirl factor
  #11
New Member
 
Fernando Valenzuela-Calva
Join Date: Oct 2016
Posts: 2
Rep Power: 0
SergioChachoBatista is on a distinguished road
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?
SergioChachoBatista 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
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


All times are GMT -4. The time now is 14:06.