# Turbulence free-stream boundary conditions

### From CFD-Wiki

Tohoughton (Talk | contribs) (→Modified turbulent viscosity) |
|||

(10 intermediate revisions not shown) | |||

Line 5: | Line 5: | ||

==Formulas for computing the turbulence model variables== | ==Formulas for computing the turbulence model variables== | ||

- | Once an appropriate turbulence intensity and | + | 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. |

===Modified turbulent viscosity=== | ===Modified turbulent viscosity=== | ||

- | The modified turbulent viscosity, <math>\tilde{\nu}</math>, can be computed | + | The modified turbulent viscosity, <math>\tilde{\nu}</math>, can be computed using the following formulas: |

+ | |||

+ | ====From the turbulence intensity and length scale==== | ||

:<math>\tilde{\nu} = \sqrt{\frac{3}{2}} \; (U \, I \, l)</math> | :<math>\tilde{\nu} = \sqrt{\frac{3}{2}} \; (U \, I \, l)</math> | ||

Line 15: | Line 17: | ||

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]]. | 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]]. | ||

- | Ideally | + | 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. |

===Turbulent energy=== | ===Turbulent energy=== | ||

Line 29: | Line 31: | ||

The turbulent dissipation rate, <math>\epsilon</math>, can be computed using the following formulas: | The turbulent dissipation rate, <math>\epsilon</math>, can be computed using the following formulas: | ||

- | ====From the | + | ====From the turbulence length scale==== |

+ | |||

+ | :<math>\epsilon = C_\mu \, \frac{k^\frac{3}{2}}{l}</math> | ||

+ | |||

+ | <math>k</math> is the turbulent energy and <math>l</math> is the [[turbulent length scale]] | ||

+ | |||

+ | 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: | ||

:<math>\epsilon = C_\mu^\frac{3}{4} \, \frac{k^\frac{3}{2}}{l}</math> | :<math>\epsilon = C_\mu^\frac{3}{4} \, \frac{k^\frac{3}{2}}{l}</math> | ||

- | Where <math>C_\mu</math> is a turbulence model constant which usually has a value of <math>0.09</math> | + | Where <math>C_\mu</math> is a turbulence model constant which usually has a value of <math>0.09</math> |

====From the eddy viscosity ratio==== | ====From the eddy viscosity ratio==== | ||

Line 45: | Line 53: | ||

The specific turbulent dissipation rate, <math>\omega</math>, can be computed using the following formulas: | The specific turbulent dissipation rate, <math>\omega</math>, can be computed using the following formulas: | ||

- | ====From the | + | ====From the turbulence length scale==== |

- | :<math>\omega = | + | :<math>\omega = \frac{\sqrt{k}}{l}</math> |

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]] | 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]] | ||

+ | |||

+ | 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: | ||

+ | |||

+ | :<math>\omega = C_\mu^{-\frac{1}{4}} \, \frac{\sqrt{k}}{l}</math> | ||

+ | |||

====From the eddy viscosity ratio==== | ====From the eddy viscosity ratio==== |

## Revision as of 18:15, 6 February 2013

In most CFD simulations it is necessary to specify values of the turbulence variables at the inlets. For example, if you are using a model you have to specify values of and 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.

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.

## Contents |

## Formulas for computing the turbulence model variables

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 constant so it is a good idea to check the user manual if possible.

### Modified turbulent viscosity

The modified turbulent viscosity, , can be computed using the following formulas:

#### From the turbulence intensity and length scale

Where is the mean flow velocity, is the turbulence intensity and is the turbulent length scale.

Ideally with the Spalart-Allmaras model , but some solvers can have problem with that so can be used. This is if the trip term is used to "start up" the model. A convenient option is to set in the freestream. The model then provides fully turbulent results and any regions like boundary layers that contain shear become fully turbulent.

### Turbulent energy

The turbulent energy, , can be computed as:

Where is the mean flow velocity and is the turbulence intensity.

### Dissipation rate

The turbulent dissipation rate, , can be computed using the following formulas:

#### From the turbulence length scale

is the turbulent energy and is the turbulent length scale

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:

Where is a turbulence model constant which usually has a value of

#### From the eddy viscosity ratio

Where is a turbulence model constant which usually has a value of , is the turbulent energy, is the density, is the molecular dynamic viscosity and is the eddy viscosity ratio.

### Specific dissipation rate

The specific turbulent dissipation rate, , can be computed using the following formulas:

#### From the turbulence length scale

Where is a turbulence model constant which usually has a value of , is the turbulent energy and is the turbulent length scale

#### From the eddy viscosity ratio

Where is the turbulent energy, is the density, is the molecular dynamic viscosity and is the eddy viscosity ratio.