Encyclopaedia Index
Back to start of article

3.2.2 Spalart-Allmaras One-Equation turbulence model

Contents

  1. Introduction
  2. Model Equations
  3. Boundary Conditions
    1. Wall
    2. Inlet
    3. Free-Stream
  4. Activation of the Model
  5. Sources of further information
    1. Library Cases
    2. References

1. Introduction

The Spalart-Allmaras model [1] is a one-equation turbulence model designed for aerodynamic applications involving wall-bounded flows, which solves a transport equation for the undamped turbulent kinematic viscosity. It is a low-Reynolds number model (i.e. it does not utilise wall functions), although it can be adapted for use with wall functions. Both of these options are available in PHOENICS as a high-Reynolds and low-Reynolds version.

The model has largely been used for wall-bounded aerodynamic and turbomachinery applications. It is not suited for free shear flows and decaying turbulence.

The Spalart-Allmaras model is considered to be more robust than the low-Reynolds number k-ε model, and requires much less computer time than the 2-equation models.

In the original model as proposed by Spalart and Allmaras [1], there are two trip terms included in the model. The "standard" version of the model most often employed does not use the first trip term. This first trip term is used to "start-up" the model in cases where no turbulence is present in the free-stream. PHOENICS uses this standard version of the model also without the second trip term included (see for example [2]). This second trip term is not required provided the appropriate boundary condition in the far field is employed.

2. Model Equations

The kinematic turbulent eddy viscosity, ν t , is given by,
ν t = ν ~ f v 1
where
f v 1 = χ 3 χ 3 + c v 1 3 , χ ν ~ ν

and ν is the molecular kinematic viscosity.

We solve for ν ~ , the undamped turbulent kinematic viscosity. PHOENICS uses the standard version of the Spalart-Allmaras model without the trip term [2], which obeys the following transport equation:

( ρ ν ~ ) t + ( ρ 𝐮 ν ~ ) = P ν D ν + 1 σ ( ρ ( ν + ν ~ ) ν ~ ) + c b 2 σ ρ ν ~ ν ~

where P ν is the production of ν ~ and D ν is the destruction of ν ~ . The last two terms of the transport equation (2.1.3) are the diffusion and diffusive source terms respectively.

The production term, P ν , is
P ν = c b 1 S ~ ρ ν ~

where

S ~ = m a x ( Ω + C r o t m i n ( 0 , S Ω ) + ν ~ κ 2 d 2 f v 2 , 0.3 Ω )

[3,4], and

f v 2 = 1 χ 1 + χ f v 1 .

Here, κ is von Karman's constant, and

S = 2 S i j S i j Ω = 2 Ω i j Ω i j

where S ij , Ω ij are the mean strain rate and mean rotation rate tensors respectively:

S i j = 1 2 ( 𝐮 + 𝐮 T ) Ω i j = 1 2 ( 𝐮 𝐮 T )

In this implementation of the production term, S ~ (2.1.5) uses a rotation correction [3], with limit of 0.3Ω imposed on S ~ as stated in [4].

The destruction term, D ν , is

D ν = c w 1 ρ f w ( ν ~ d ) 2
where d is the distance to the nearest wall,
c w 1 = c b 1 κ 2 + 1 + c b 2 σ
and
f w = g ( 1 + c w 3 6 g 6 + c w 3 6 ) 1 / 6 , g = r + c w 2 ( r 6 r ) , r = m i n ( ν ~ S ~ κ 2 d 2 , 10 )

The parameter r is truncated to 10 for large values as recommended in [1].

The values for the model constants are:

c b 1 = 0.1355 , c b 2 = 0.622 , c v 1 = 7.1 , σ = 2 / 3
c w 2 = 0.3 , c w 3 = 2.0 , κ = 0.41 , C r o t = 2.0

3. Boundary Conditions

3.1. Wall

For the high Reynolds-number model, the condition at the wall is

ν ~ = κ δ w u τ

where κ is von Karman's constant (=0.41), δ w is the distance between the wall and the first grid node, and u τ is the friction velocity, calculated from the wall shear-stress as

u τ = τ w ρ .

The relation (3.1.1) is valid throughout the log layer.

For the low Reynolds-number model, the boundary condition at the wall is ν ~ = 0 . This is due to there being no fluctuations at the wall.

In both cases, the wall boundary conditions are automatically set when selecting the model in PHOENICS.

3.2. Inlet

At the inlet, ν t should be specified, then

ν ~ = ν t ν

Alternatively, as in the free-stream (section 3.3), ν ~ can be set as a ratio of ν , i.e. ν ~ = ratio * ν .

In PHOENICS, the value of ν ~ at the inlet can be specified in the VR Viewer in a number of alternate ways, by choosing the appropriate option in the Attributes menu of the inlet object:

  1. Intensity+auto length scale: The user inputs the desired turbulent intensity and the length scale is automatically calculated within PHOENICS, with the inlet value of ν ~ calculated from:
    ν ~ = ( C μ C d ) 1 / 4 ( U I ) l m
    where C μ = 0.5478 , C d = 0.1643 such that C μ C d = 0.09 , U is the mean flow velocity, I is the turbulent intensity and l m is the turbulent mixing length. The turbulent mixing length is taken to be the hydraulic radius of the inlet. This is half the hydraulic diameter, which is calculated as 4*area/perimeter. The area and perimeter are always based on the bounding box of the object, so may not be accurate for a non-cuboid shape. If desired, the values of C μ and C d can be specified by the user from the Main Menu, under Models, Turbulence models, Settings.
  2. Viscosity ratio: The user specifies a multiplier of the kinematic viscosity, i.e. ν ~ = viscosity ratio * ν .

  3. Intensity+length scale: This is the same as option 1, with the value at the inlet calculated using equation (3.2.2), but the value of the mixing length is supplied by the user in addition to the intensity.

  4. User-set: The user can set a desired inlet value for ν ~ .

3.3. Free-Stream

Turbulence in the free-stream can be estimated from the turbulent Reynolds number

Re t = ν t ν

with ν ~ in the free-stream set as

ν ~ = Re t ν

where ν is the free-stream molecular kinematic viscosity.

It is recommended that ν ~ is set to 3 ν or greater. With this, the model will provide fully turbulent results, i.e. it becomes turbulent in regions containing shear.

4. Activation of the model

The one-equation Spalart-Allmaras model can be activated from the VR menu, or alternatively by inserting the PIL command TURMOD(SPALART-ALLMARAS) in the Q1 file, which is equivalent to the following PIL commands:

   TURMOD(SPALART-ALLMARAS); SOLVE(ENTI)
   ENUT=GRND2;IENUTA=21
   DISWAL;GENK=T
   STORE(VOR1);STORE(GEN1)
   STORE(DUDY,DUDZ,DVDX,DVDZ,DWDX,DWDY)
   PRT(ENTI)=2./3.
   PRNDTL(ENTI)=2./3.
   SOLUTN(ENTI,Y,Y,Y,N,N,Y)      
   
   PATCH(SASOPRO,PHASEM,1,NX,1,NY,1,NZ,1,LSTEP)
   COVAL(SASOPRO,ENTI,FIXFLU,GRND4)

   PATCH(SASODIS,PHASEM,1,NX,1,NY,1,NZ,1,LSTEP)
   COVAL(SASODIS,ENTI,GRND4,0.0)

   PATCH(SASODIF,PHASEM,1,NX,1,NY,1,NZ,1,LSTEP)
   COVAL(SASODIF,ENTI,FIXFLU,GRND4)

This activates the high Reynolds version of the Spalart-Allmaras model with wall functions, which has wall boundary conditions:

   COVAL(FIXVAL, 0.41*SQRT(STRS)*WDIS)

where STRS is the wall-shear stress divided by density, τ w ρ , and WDIS is the minimum distance to the wall.

The DISWAL command activates the solution of a scalar variable LTLS, from which WDIS is deduced.

The low-Reynolds version can be activated from the VR menu, or by inserting the PIL command TURMOD(SPALART-ALLMARAS-LOWRE). This is equivalent to the high-Reynolds, but with IENUTA=22, and wall boundary conditions:

	
	COVAL(1.,0.)

5. Sources of further information

5.1. Library Cases

The following cases demonstrating the use of the Spalart-Allmaras model are available from the PHOENICS library:

5.2. References

1. Spalart, P.R. & Allmaras, S.R. (1992). "A One-Equation Turbulence Model for Aerodynamic Flows" AIAA-92-0439

2. Aupoix, B. & Spalart, P. R. Extensions of the Spalart-Allmaras Turbulence Model to Account for Wall Roughness. International Journal of Heat and Fluid Flow. 2003; 24(4):454-462, https://doi.org/10.1016/S0142-727X(03)00043-2.

3. Dacles-Mariani, J., Zilliac, G. G., Chow, J. S., and Bradshaw, P. Numerical/Experimental Study of a Wingtip Vortex in the Near FieldAIAA Journal 1995; 33(9):1561-1568, https://doi.org/10.2514/3.12826

4. NASA. The Spalart-Allmaras Turbulence Model. https://turbmodels.larc.nasa.gov/spalart.html. [Accessed 21st March 2025]