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

Default values of turbulent kinetic energy and turbulent dissipation rate

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 2 Post By LuckyTran
  • 2 Post By LuckyTran
  • 2 Post By LuckyTran
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2019, 07:06
Default Default values of turbulent kinetic energy and turbulent dissipation rate
  #1
New Member
 
Join Date: Feb 2018
Posts: 29
Rep Power: 8
Manu4CFD is on a distinguished road
In an indoor airflow simulation, supply air through the diffuser comes in to the room through a rectangular duct. While setting up the velocity inlet boundary condition for the supply air, if in case the turbulent intensity is not known in prior, is it deemed okay to use the Ansys Fluent default values of K and epsilon, which is 1?
Manu4CFD is offline   Reply With Quote

Old   February 12, 2019, 09:59
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
No way in hell!

By the way, there is an intensity and hydraulic diameter option that will then use some cute formulas and correlations for fully developed pipe flows to calculate some values for k and epsilon. These will work way better than using the defaults.
Manu4CFD and arashjkh like this.
LuckyTran is offline   Reply With Quote

Old   February 12, 2019, 11:37
Default
  #3
New Member
 
Join Date: Feb 2018
Posts: 29
Rep Power: 8
Manu4CFD is on a distinguished road
Thanks for your kind reply LuckyTran.
I had given a simulation run based on turbulent intensity of 10% and hydraulic diameter (2ab/a+b), where ‘a’ is width and ‘b’ is height of the duct. Based on these settings, the TKE and TDR were observed to be quite small as compared to the default values. As expected the simulation with default values of TKE and TDR had given a different flow distribution within the computational domain as compared to the simulation run based on TI and Hydraulic Diameter. Although, the residuals got converged way faster in the former case as compared to the latter case. The latter case(i.e., TI and hydraulic diameter) took around 600 more iterations to get a converged solution. What would have been the likely possibilities for observing such a scenario?
Manu4CFD is offline   Reply With Quote

Old   February 12, 2019, 14:32
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
The default tke of 1 is super super high for most flow scenarios. A more typical value is like 0.1 or 0.5. The default tdr of 1 is super super super low for most flow scenarios. A more typical value is like 100 or 1000. This is a big of a gross simplification because k and tdr are very low in the core of the flow and super high near walls (k approaches infinity near walls).

Results with different inlet boundary conditions will be different.

How many iterations it takes to converge will depend on your initial condition. Normally you guess a uniform field. The actual solution will not be a uniform field and also can be very different than your initial guess (especially if you are using the default values for the guess). You can expect the same geometric case with different BC's and initial conditions to differ vastly in how many iterations it takes to converge.
arashjkh and Lennart.H like this.
LuckyTran is offline   Reply With Quote

Old   February 13, 2019, 04:23
Default
  #5
New Member
 
Join Date: Feb 2018
Posts: 29
Rep Power: 8
Manu4CFD is on a distinguished road
[QUOTE=LuckyTran;724531] This is a big of a gross simplification because k and tdr are very low in the core of the flow and super high near walls (k approaches infinity near walls).

Thanks a lot for your valuable comments.

Would you please elaborate a bit on this comment?
Manu4CFD is offline   Reply With Quote

Old   February 13, 2019, 04:25
Default
  #6
New Member
 
Join Date: Feb 2018
Posts: 29
Rep Power: 8
Manu4CFD is on a distinguished road
[QUOTE=Manu4CFD;724586]
Quote:
Originally Posted by LuckyTran View Post
This is a big of a gross simplification because k and tdr are very low in the core of the flow and super high near walls (k approaches infinity near walls).
Thanks a lot for your valuable comments.

Would you please elaborate a bit on this comment?
Manu4CFD is offline   Reply With Quote

Old   February 13, 2019, 04:29
Default
  #7
New Member
 
Join Date: Feb 2018
Posts: 29
Rep Power: 8
Manu4CFD is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post

How many iterations it takes to converge will depend on your initial condition. Normally you guess a uniform field. The actual solution will not be a uniform field and also can be very different than your initial guess (especially if you are using the default values for the guess).
But, wouldn't the results of simulation run with default values of TKE and TDR serve as an initial guess for running the simulation with TI and Hydraulic diameter???

While setting the TI and Hydraulic Diameter for inlet, is it necessary to set similar settings for outlet as well? Do turbulent specifications in the outlet impact the solution in anyway??
Manu4CFD is offline   Reply With Quote

Old   February 13, 2019, 08:58
Default
  #8
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
[QUOTE=Manu4CFD;724587]
Quote:
Originally Posted by Manu4CFD View Post

Thanks a lot for your valuable comments.

Would you please elaborate a bit on this comment?
For all variables... velocity, temperature, k, tdr, etc... You specify uniform profiles at inlets and initial guesses but in reality there is a profile. For example, with velocity, it is 0 at walls but some positive number away from walls (and it can be an arbitrarily high number).

At inlets this profile is often ignored for simplification. For initial conditions, you often ignore the profiles due to laziness. Because you can iterate away the initial condition and eventually get the solution anyway. It takes some more iterations to converge with a bad guess than a good guess, but because the machine is doing all the work it saves you time.

Quote:
Originally Posted by Manu4CFD View Post
But, wouldn't the results of simulation run with default values of TKE and TDR serve as an initial guess for running the simulation with TI and Hydraulic diameter???
Are you talking about boundary conditions or initial conditions? They are separate things.

For boundary conditions: the default values for k and tdr (1 and 1) are absolute garbage. The default values for TI and hydraulic diameter are also garbage. You need to set it to something that makes sense for your problem. It's easy to pick a TI and hydraulic diameter that makes sense... For TI you just pick a number between 1 and 10%. And hydraulic diameter you just set to the geometric scale of your inlet. But it's a lot harder for people to pick a k and tdr that makes sense. Because they have no idea what these numbers are.

For initial conditions: Take your best guess or use the defaults. If it doesn't diverge it probably converges eventually...

Quote:
Originally Posted by Manu4CFD View Post

While setting the TI and Hydraulic Diameter for inlet, is it necessary to set similar settings for outlet as well? Do turbulent specifications in the outlet impact the solution in anyway??
At outlets, these are backflow properties (not just turbulence, but also temperature and all transported variables) for when the outlet is not an outlet but becomes an inlet because the flow is going back into the domain. You can ignore these if you don't have any reversed flow.
Manu4CFD and arashjkh like this.
LuckyTran is offline   Reply With Quote

Old   February 14, 2019, 03:42
Default
  #9
New Member
 
Join Date: Feb 2018
Posts: 29
Rep Power: 8
Manu4CFD is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Are you talking about boundary conditions or initial conditions? They are separate things.

For boundary conditions: the default values for k and tdr (1 and 1) are absolute garbage. The default values for TI and hydraulic diameter are also garbage. You need to set it to something that makes sense for your problem. It's easy to pick a TI and hydraulic diameter that makes sense... For TI you just pick a number between 1 and 10%. And hydraulic diameter you just set to the geometric scale of your inlet. But it's a lot harder for people to pick a k and tdr that makes sense. Because they have no idea what these numbers are.

For initial conditions: Take your best guess or use the defaults. If it doesn't diverge it probably converges eventually....
I was referring to the initial conditions.
It is a common practice to use flow variables obtained from steady state airflow simulation as initial conditions for running unsteady airflow simulations, as it provides good convergence, solution robustness and realistic initial values for transient case.
Likewise, I was thinking whether it is reasonable to use the flow variables obtained through steady state simulation run with default values of TKE and TDR as initial conditions for running another steady state airflow simulation with TI set as 10% and Hydraulic diameter specified through geometric scale of inlet. Would such an approach provide us with a good initial guess???
Manu4CFD is offline   Reply With Quote

Old   February 14, 2019, 03:48
Default
  #10
New Member
 
Join Date: Feb 2018
Posts: 29
Rep Power: 8
Manu4CFD is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
At outlets, these are backflow properties (not just turbulence, but also temperature and all transported variables) for when the outlet is not an outlet but becomes an inlet because the flow is going back into the domain. You can ignore these if you don't have any reversed flow.
So, its safe to ignore turbulence specifications at pressure-outlet boundary conditions. Kindly correct me, if what I inferred is wrong.
Manu4CFD is offline   Reply With Quote

Old   February 14, 2019, 12:56
Default
  #11
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by Manu4CFD View Post
So, its safe to ignore turbulence specifications at pressure-outlet boundary conditions. Kindly correct me, if what I inferred is wrong.

Right. Unless you have reversed flow. Note that it's not just turbulence, but all transport variables (temperature for example).


Also be careful that sometimes you have reversed flow during the simulation at intermediate iterations. If you put non-sensical values into the backflow properties your solution can easily diverge. Just keep this in mind. It shouldn't matter (when everything is going well), but sometimes it does (when everything is going badly).
LuckyTran is offline   Reply With Quote

Old   February 15, 2019, 06:00
Default
  #12
New Member
 
Join Date: Feb 2018
Posts: 29
Rep Power: 8
Manu4CFD is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Right. Unless you have reversed flow. Note that it's not just turbulence, but all transport variables (temperature for example).


Also be careful that sometimes you have reversed flow during the simulation at intermediate iterations. If you put non-sensical values into the backflow properties your solution can easily diverge. Just keep this in mind. It shouldn't matter (when everything is going well), but sometimes it does (when everything is going badly).
My case involves an incompressible flow with density approximated by using the boussinesq model. I use "Velocity-Inlet" condition for inlet and "Pressure-outlet" at the outlet. After a few iterations, I tend to get reverse flow in a few faces during the simulation run, but the analysis eventually gets solution convergence.

As I understand, after reading through posts on reverse flow conditions, the best way to overcome the reversed flow is to to set:
1) Outlet far from my region of interest. But, what if you cannot change position of outlet?
2) Change "pressure-outlet" boundary condition to Outflow".
And if we change to outflow, would the results be affected vastly or would it be marginal?
3) Lastly, like you said, it is advisable to provide realistic backflow properties?
* But how to set one? Any guidelines?
Manu4CFD is offline   Reply With Quote

Old   February 15, 2019, 09:24
Default
  #13
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
1) Moving the outlet to another location applies in some situations where the outlet can be arbitrarily moved to another location. If your boundary is where it is supposed to be, then you cannot and should not move it.
2) Pressure outlet vs outflow is a very subtle difference. Use the right boundary condition for your problem and stick with it.

These recommendations apply more to modeled situations where there is freedom in the type of BC being used. For example, flow around an airplane or a car where the BC is a natural boundary condition and not a hard constraint on any variable.

3) the guideline is to make them realistic! And sometimes this means setting the values of the stuff coming in to be the same as the stuff going out. But just to give an example. If I have a combustion problem and the outflow should be at a temperature of 2000K and I leave the backflow properties at their default of 300K... well, that would not make sense. I should probably set it to something like 2000K. There is even an option in Fluent that takes values from adjacent neighbors. You should have an idea of what makes sense for your problem and what doesn't make sense. Otherwise, what really you are doing that is different than clicking random buttons?


That is not to say that reversed flow is always a problem. Sometimes you get reversed flow in some cells but you just don't care.
arashjkh likes this.
LuckyTran is offline   Reply With Quote

Old   February 15, 2019, 11:27
Default
  #14
New Member
 
Join Date: Feb 2018
Posts: 29
Rep Power: 8
Manu4CFD is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
1) Moving the outlet to another location applies in some situations where the outlet can be arbitrarily moved to another location. If your boundary is where it is supposed to be, then you cannot and should not move it.
2) Pressure outlet vs outflow is a very subtle difference. Use the right boundary condition for your problem and stick with it.

These recommendations apply more to modeled situations where there is freedom in the type of BC being used. For example, flow around an airplane or a car where the BC is a natural boundary condition and not a hard constraint on any variable.

3) the guideline is to make them realistic! And sometimes this means setting the values of the stuff coming in to be the same as the stuff going out. But just to give an example. If I have a combustion problem and the outflow should be at a temperature of 2000K and I leave the backflow properties at their default of 300K... well, that would not make sense. I should probably set it to something like 2000K. There is even an option in Fluent that takes values from adjacent neighbors. You should have an idea of what makes sense for your problem and what doesn't make sense. Otherwise, what really you are doing that is different than clicking random buttons?


That is not to say that reversed flow is always a problem. Sometimes you get reversed flow in some cells but you just don't care.
Thank you so much for your insightful comments.

May I know about the option in Fluent that would enable to take values from the adjacent cell Neighbors.

And in terms of reverse flow, I guess as long as the solution convergence is achieved with proper mass balance, the concern/warning can be neglected.
Manu4CFD is offline   Reply With Quote

Old   February 15, 2019, 13:43
Default
  #15
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Sorry I lied. Or maybe I got my software confused.


In backflow direction specification method you can choose from neighboring cell, which is something else than what I was saying. There isn't an option to take values from neighboring cells.
LuckyTran is offline   Reply With Quote

Old   February 18, 2019, 06:37
Default
  #16
New Member
 
Join Date: Feb 2018
Posts: 29
Rep Power: 8
Manu4CFD is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Thank you so much for your time and valuable comments on my queries.
Manu4CFD is offline   Reply With Quote

Old   August 1, 2019, 10:08
Default
  #17
New Member
 
Join Date: May 2019
Posts: 18
Rep Power: 7
bumper is on a distinguished road
I have also a question about the turbulent dissipationrate epsilon. In Fluent, the definition of epsilon is:

\varepsilon=\frac{k^{3/2}}{l}

I don"t understand where the exponent \frac{3}{2} comes from.
bumper 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
UDF: call values of turbulent kinetic energy from previous time step nickgaoda Fluent UDF and Scheme Programming 0 July 31, 2018 15:25
Turbulent kinetic energy and energy dissipation at boundary mshotm2000 FLOW-3D 4 December 12, 2016 10:44
how to define the turbulent kinetic energy and turbulent dissipation rate? fanke FLOW-3D 4 March 26, 2013 21:40
turbulent kinetic energy and turbulent dissipation rate D_L Main CFD Forum 5 July 17, 2010 03:35
turbulent kinetic energy and dissipation panneerselvam.R CFX 1 July 22, 2005 02:55


All times are GMT -4. The time now is 04:42.