From CFDWiki
Instantaneous equations
The instantaneous continuity equation (1), momentum equation (2) and energy equation (3) for a compressible fluid can be written as:
For a Newtonian fluid, assuming Stokes Law for monoatomic gases, the viscous stress is given by:

 (4) 
Where the traceless viscous strainrate is defined by:

 (5) 
The heatflux, , is given by Fourier's law:

 (6) 
Where the laminar Prandtl number is defined by:

 (7) 
To close these equations it is also necessary to specify an equation of state. Assuming a calorically perfect gas the following relations are valid:

 (8) 
Where , , and are constant.
The total energy is defined by:

 (9) 
Note that the corresponding expression (15) for Favre averaged turbulent flows contains an extra term related to the turbulent energy.
Equations (1)(9), supplemented with gas data for , , and perhaps , form a closed set of partial differential equations, and need only be complemented with boundary conditions.
Favre averaged equations
It is not possible to solve the instantaneous equations directly for most engineering applications. At the Reynolds numbers typically present in real cases these equations have very chaotic turbulent solutions, and it is necessary to model the influence of the smallest scales. Most turbulence models are based on onepoint averaging of the instantaneous equations. The averaging procedure will be described in the following sections.
Averaging
Let be any dependent variable. It is convenient to define
two different types of averaging of :


(10) 



 (11) 


Note that with the above definitions , but .
Open turbulent equations
In order to obtain an averaged form of the governing equations, the instantaneous continuity equation (1), momentum
equation (2) and energy equation (3) are timeaveraged. Introducing a density weighted time average decomposition (11) of and , and a standard time average decomposition (10) of and gives the following exact open equations:

 (12) 

 (13) 

 (14) 
The density averaged total energy is given by:

 (15) 
Where the turbulent energy, , is defined by:

 (16) 
Equation (12), (13) and (14) are referred to as the Favre averaged NavierStokes equations. , and are the primary solution variables. Note that this is an open set of partial differential equations that contains several unkown correlation terms. In order to obtain a closed form of equations that can be solver it is neccessary to model these unknown correlation terms.
Approximations and modeling
To analyze equation (12), (13) and (14) it is convenient to rewrite the unknown terms in the following way:

 (17) 

 (18) 

 (19) 

 (20) 
Where the perfect gas relations (8) and Fourier's law (6) have been used. Note also that fluctuations in the molecular viscosity, , have been neglected.
Inserting (17)(20) into (12), (13) and (14) gives:

 (21) 

 (22) 



 (23) 
The terms marked with are unknown, and have to be modeled in some way.
Term and can be modeled using an eddyviscosity assumption for the Reynolds stresses, :

 (24) 
Where is a turbulent viscosity, which is estimated with a turbulence model. The last term is included in order to ensure that the trace of the Reynolds stress tensor is equal to , as it should be.
Term and can be neglected if:

 (25) 
This is true for virtually all flows.
Term , corresponding to turbulent transport of heat, can be modeled using a gradient approximation for the turbulent heatflux:

 (26) 
Where is a turbulent Prandtl number. Often a constant is used.
Term and , corresponding to turbulent transport and molecular diffusion of turbulent energy, can be neglected if the turbulent energy is small compared to the enthalpy:

 (27) 
This is a reasonable approximation for most flows below the hypersonic regime. A better approximation might be a gradient expression of the form:

 (28) 
Where is a model constant. This approximation will not be included in the derived formulas below. Instead term and will be set to zero in the energy equation.
Term is an artifact from the Favre averaging. It is related to heat conduction effects associated with temperature fluctuations.It can be be neglected if:

 (29) 
This is true for virtually all flows, and has been assumed in all follwing equations.
Closed approximated equations
To summarize, the governing equations (21)(23), with assumptions (24), (25), (26), (27) and (29) can be written as in (30)(39). These equations are valid for a perfect gas. Note also that all fluctuations in the molecular viscosity have been neglected.

 (30) 

 (31) 

 (32) 
Where

 (33) 
 (34) 
 (35) 
 (36) 
 (37) 
 (38) 
 (39) 
If a separate turbulence model is used to calculate , and , and gas data is given for , and these equations form a closed set of partial differential equations, which can be solved numerically.