https://www.cfd-online.com/W/index.php?title=Special:Contributions/Tikulju&feed=atom&limit=50&target=Tikulju&year=&month=CFD-Wiki - User contributions [en]2017-09-21T21:04:15ZFrom CFD-WikiMediaWiki 1.16.5https://www.cfd-online.com/Wiki/Talk:Turbulence_free-stream_boundary_conditionsTalk:Turbulence free-stream boundary conditions2013-02-07T07:01:46Z<p>Tikulju: </p>
<hr />
<div>Someone should double check the formulas here! It is easy to make a misstake and I typed them in from my head after midnight... :-) --[[User:Jola|Jola]] 17:09, 18 April 2006 (MDT)<br />
<br />
I tried to modify the omega equation, but for some reason it is not created. In the original text C_\mu was forgotten.<br />
- Timo<br />
<br />
We had a permission error on a directory that has now been fixed. I do not think that the correction you did is correct though. C_mu should not be in that formula I think. What reference did you have that said C_mu should be there? We went through these formulas in detail when we wrote the [http://www.cfd-online.com/Tools/turbulence.php turbulence properties] tool. --[[User:Peter|Peter]] 11:23, 6 February 2013 (MST)<br />
<br />
Ok, seemed to be my bad. The formula is correct indeed. I'll try to be more careful next time and double check my references. - Timo</div>Tikuljuhttps://www.cfd-online.com/Wiki/Talk:Turbulence_free-stream_boundary_conditionsTalk:Turbulence free-stream boundary conditions2013-02-06T15:18:33Z<p>Tikulju: </p>
<hr />
<div>Someone should double check the formulas here! It is easy to make a misstake and I typed them in from my head after midnight... :-) --[[User:Jola|Jola]] 17:09, 18 April 2006 (MDT)<br />
<br />
I tried to modify the omega equation, but for some reason it is not created. In the original text C_\mu was forgotten.<br />
- Timo</div>Tikuljuhttps://www.cfd-online.com/Wiki/Turbulence_free-stream_boundary_conditionsTurbulence free-stream boundary conditions2013-02-06T14:09:04Z<p>Tikulju: </p>
<hr />
<div>In most CFD simulations it is necessary to specify values of the turbulence variables at the inlets. For example, if you are using a <math>k-\epsilon</math> model you have to specify values of <math>k</math> and <math>\epsilon</math> at the inlets. This is often difficult and a source of uncertainty since the incoming turbulence is rarely known exactly. Most often you are forced to make a more or less educated guess of the incoming turbulence. <br />
<br />
Estimating the turbulence model variables, like turbulent energy, dissipation or Reynolds stresses, directly is often difficult. Instead it is easier to think in terms of variables like the incoming [[turbulence intensity]] and [[turbulent length scale]] or [[eddy viscosity ratio]]. These properties are more intuitive to understand and can more easily be related to physical characteristics of the problem. For some guidelines on how these variables can be estimated see the respective CFD-Wiki page describing them.<br />
<br />
==Formulas for computing the turbulence model variables==<br />
<br />
Once an appropriate turbulence intensity and turbulence length scale or eddy viscosity ratio have been estimated or measured, the primitive turbulence model variables can be computed from the following formulas. Some codes may not require the <math>C_\mu</math> constant so it is a good idea to check the user manual if possible.<br />
<br />
===Modified turbulent viscosity===<br />
<br />
The modified turbulent viscosity, <math>\tilde{\nu}</math>, can be computed using the following formulas:<br />
<br />
====From the turbulence intensity and length scale====<br />
<br />
:<math>\tilde{\nu} = \sqrt{\frac{3}{2}} \; (U \, I \, l)</math><br />
<br />
Where <math>U</math> is the mean flow velocity, <math>I</math> is the [[turbulence intensity]] and <math>l</math> is the [[turbulent length scale]].<br />
<br />
Ideally with the [[Spalart-Allmaras_model|Spalart-Allmaras model]] <math>\tilde{\nu}=0</math>, but some solvers can have problem with that so <math>\tilde{\nu}<=\frac{\nu}{2}</math> can be used. This is if the trip term is used to "start up" the model. A convenient option is to set <math>\tilde{\nu}=5{\nu}</math> in the freestream. The model then provides fully turbulent results and any regions like boundary layers that contain shear become fully turbulent.<br />
<br />
===Turbulent energy===<br />
<br />
The turbulent energy, <math>k</math>, can be computed as:<br />
<br />
:<math>k = \frac{3}{2} \; (U \, I)^2</math><br />
<br />
Where <math>U</math> is the mean flow velocity and <math>I</math> is the [[turbulence intensity]].<br />
<br />
===Dissipation rate===<br />
<br />
The turbulent dissipation rate, <math>\epsilon</math>, can be computed using the following formulas:<br />
<br />
====From the turbulence length scale====<br />
<br />
:<math>\epsilon = C_\mu \, \frac{k^\frac{3}{2}}{l}</math><br />
<br />
<math>k</math> is the turbulent energy and <math>l</math> is the [[turbulent length scale]]<br />
<br />
Please note that some CFD codes, Fluent, Phoenics and CFD-ACE for example, uses a different length-scale definition based on the mixing-length, and therefore the following formula should be used:<br />
<br />
:<math>\epsilon = C_\mu^\frac{3}{4} \, \frac{k^\frac{3}{2}}{l}</math><br />
<br />
Where <math>C_\mu</math> is a turbulence model constant which usually has a value of <math>0.09</math><br />
<br />
====From the eddy viscosity ratio====<br />
<br />
:<math>\epsilon = C_\mu \, \frac{\rho \, k^2}{\mu} \, (\frac{\mu_t}{\mu})^{-1}</math><br />
<br />
Where <math>C_\mu</math> is a turbulence model constant which usually has a value of <math>0.09</math>, <math>k</math> is the turbulent energy, <math>\rho</math> is the density, <math>\mu</math>is the molecular dynamic viscosity and <math>\frac{\mu_t}{\mu}</math> is the [[eddy viscosity ratio]].<br />
<br />
===Specific dissipation rate===<br />
<br />
The specific turbulent dissipation rate, <math>\omega</math>, can be computed using the following formulas:<br />
<br />
====From the turbulence length scale====<br />
<br />
:<math>\omega = C_\mu\frac{\sqrt{k}}{l}</math><br />
<br />
Where <math>C_\mu</math> is a turbulence model constant which usually has a value of <math>0.09</math>, <math>k</math> is the turbulent energy and <math>l</math> is the [[turbulent length scale]]<br />
<br />
Please note that some CFD codes, Fluent, Phoenics and CFD-ACE for example, uses a different length-scale definition based on the mixing-length, and therefore the following formula should be used:<br />
<br />
:<math>\omega = C_\mu^{-\frac{1}{4}} \, \frac{\sqrt{k}}{l}</math><br />
<br />
<br />
====From the eddy viscosity ratio====<br />
<br />
:<math>\omega = \frac{\rho \, k}{\mu} \, (\frac{\mu_t}{\mu})^{-1}</math><br />
<br />
Where <math>k</math> is the turbulent energy, <math>\rho</math> is the density, <math>\mu</math>is the molecular dynamic viscosity and <math>\frac{\mu_t}{\mu}</math> is the [[eddy viscosity ratio]].</div>Tikulju