Reynolds Averaged Simulation (RAS) Options
OpenFOAM includes Reynolds Averaged Simulation turbulence closures based on
linear and non-linear eddy viscosity models, and Reynolds stress transport
models.
Usage
RAS is selected by setting the simulationType entry
simulationType RAS;
RAS
{
// Model input parameters
}
Suitable for:
1-D, 2-D and 3-D cases
steady-state or transient
Initialisation
Care should be taken to provide an adequate initialisation of turbulence fields.
For open systems, the flow can evolve via the inlets. However, note that the
initial field values should be approximate for the flow medium, where
non-physical levels will result in non-physical turbulence viscosity
predictions and case instability.
Appropriate formulae and/or methods are provided in the documentation for
each model.
Background
Reynolds decomposition of the velocity into its mean and fluctuating
contributions takes the form
u ( x , t ) = u ‾ ( x , t ) + u ′ ( x , t ) \u(\vec{x}, t)
= \av{\u}(\vec{x}, t) + \u'(\vec{x}, t) u ( x , t ) = u ( x , t ) + u ′ ( x , t )
where the mean of the fluctuating component is defined as zero:
u ′ ‾ = 0 \av{\u'} = 0 u ′ = 0
Applied to the Navier Stokes equations, this leads to equations for the mean
velocity and pressure:
∂ ∂ t ( ρ ) + ∇ ∙ ( ρ u ‾ ) = 0 \ddt{\rho} + \div \left(\rho \av{\u} \right) = 0 ∂ t ∂ ( ρ ) + ∇ ∙ ( ρ u ) = 0
∂ ∂ t ( ρ u ‾ ) + ∇ ∙ ( ρ u ‾ ⊗ u ‾ ) = g + ∇ ∙ ( τ ) ‾ − ∇ ∙ ( ρ R ) \ddt{\rho \av{\u}}
+ \div \left( \rho \av{\u} \otimes \av{\u} \right)
=
\vec{g}
+ \div \av{\tensor(\tau)}
- \div \left( \rho \tensor{R} \right) ∂ t ∂ ( ρ u ) + ∇ ∙ ( ρ u ⊗ u ) = g + ∇ ∙ ( τ ) − ∇ ∙ ( ρ R )
where the averaged stress tensor, τ ‾ \av{\tau} τ , for Newtonian fluids is
given by:
τ ‾ = − ( p + 2 3 μ ∇ ∙ u ‾ ) I + μ ( ∇ u ‾ + ( ∇ u ‾ ) T ) \av{\tensor{\tau}}
=
- \left(p + \frac{2}{3}\mu \div \av{\u} \right) \tensor{I}
+ \mu \left(\grad \av{\u} + \left(\grad \av{\u} \right)^T \right) τ = − ( p + 3 2 μ ∇ ∙ u ) I + μ ( ∇ u + ( ∇ u ) T )
Using the relationship:
∇ ∙ u ‾ = t r ( ∇ u ‾ ) = t r ( ( ∇ u ‾ ) T ) \div \av{\u}
= \mathrm{tr} \left( \grad \av{\u} \right)
= \mathrm{tr} \left( \left( \grad \av{\u} \right)^T \right) ∇ ∙ u = tr ( ∇ u ) = tr ( ( ∇ u ) T )
the stress tensor becomes:
τ ‾ = − p I + μ [ ∇ u ‾ + ( ∇ u ‾ ) T − 2 3 t r ( ( ∇ u ‾ ) T ) I ] = − p I + μ [ ∇ u ‾ + d e v 2 ( ( ∇ u ‾ ) T ) ] \av{\tensor{\tau}}
=
- p \tensor{I}
+ \mu \left[\grad \av{\u} + \left( \grad \av{\u} \right)^T - \frac{2}{3} \mathrm{tr} \left( \left( \grad \av{\u} \right)^T \right) \tensor{I} \right]
=
- p \tensor{I}
+ \mu \left[\grad \av{\u} + \mathrm{dev2} \left( \left( \grad \av{\u} \right)^T \right) \right] τ = − p I + μ [ ∇ u + ( ∇ u ) T − 3 2 tr ( ( ∇ u ) T ) I ] = − p I + μ [ ∇ u + dev2 ( ( ∇ u ) T ) ]
and the d e v 2 \mathrm{dev2} dev2 operator is defined as:
d e v 2 ( ϕ ) = ϕ − 2 3 t r ( ϕ ) I \mathrm{dev2}\left(\phi\right)
=
\phi - \frac{2}{3} \mathrm{tr} \left(\phi\right) \tensor{I} dev2 ( ϕ ) = ϕ − 3 2 tr ( ϕ ) I
R \tensor{R} R , is the Reynolds stress tensor
R = u ′ ⊗ u ′ ‾ \tensor{R} = \av{\u' \otimes \u'} R = u ′ ⊗ u ′
The Reynolds stress tensor is further divided into isotropic and deviatoric
anisotropic contributions:
R = u ′ ⊗ u ′ ‾ = 2 3 k I ⏟ i s o t r o p i c + u ′ ⊗ u ′ ‾ − 2 3 k I ⏟ d e v i a t o r i c \tensor{R}
= \av{\u' \otimes \u'}
= \underbrace{\frac{2}{3}k \tensor{I}}_{\mathrm{isotropic}}
+ \underbrace{\av{\u' \otimes \u'} - \frac{2}{3}k \tensor{I}}_{\mathrm{deviatoric}} R = u ′ ⊗ u ′ = isotropic 3 2 k I + deviatoric u ′ ⊗ u ′ − 3 2 k I
where k k k is the turbulent kinetic energy, defined by
k = 1 2 u ′ ∙ u ′ ‾ = 1 2 t r ( R ) k = \frac{1}{2} \av{\u' \dprod \u'}
= \frac{1}{2} \mathrm{tr}\left( \tensor{R} \right) k = 2 1 u ′ ∙ u ′ = 2 1 tr ( R )
Only the anisotropic contribution of the Reynolds stress tensor transports
momentum, whereby the isotropic contribution can be added to the mean
pressure, leading to the full form:
∂ ∂ t ( ρ u ‾ ) + ∇ ∙ ( ρ u ‾ ⊗ u ‾ ) = g − ∇ p ‾ ′ + ∇ ∙ ( μ ∇ u ‾ ) + ∇ ∙ [ μ d e v 2 ( ( ∇ u ‾ ) T ) ] − ∇ ∙ ( ρ R d e v ) \ddt{\rho \av{\u}}
+ \div \left( \rho \av{\u} \otimes \av{\u} \right)
=
\vec{g}
- \grad \av{p}'
+ \div \left( \mu \grad \av{\u} \right)
+ \div \left[ \mu \, \mathrm{dev2}\left(\left(\grad \av{\u}\right)^T \right) \right]
- \div \left( \rho \tensor{R}_\mathit{dev} \right) ∂ t ∂ ( ρ u ) + ∇ ∙ ( ρ u ⊗ u ) = g − ∇ p ′ + ∇ ∙ ( μ ∇ u ) + ∇ ∙ [ μ dev2 ( ( ∇ u ) T ) ] − ∇ ∙ ( ρ R dev )
where
R d e v = u ′ ⊗ u ′ ‾ − 2 3 k I \tensor{R}_\mathit{dev}
= \av{\u' \otimes \u'} - \frac{2}{3}k \tensor{I} R dev = u ′ ⊗ u ′ − 3 2 k I
and
p ‾ ′ = p ‾ + 2 3 ρ k \av{p}' = \av{p} + \frac{2}{3} \rho k p ′ = p + 3 2 ρ k
The RAS family of turbulence models provide methods to approximate the
deviatoric anisotropic stress contribution due to R d e v \tensor{R}_\mathit{dev} R dev .
Wall modelling
Source code:
Related: