What is RANS
The Reynolds-averaged Navier–Stokes equations (RANS equations) for the three-dimensional incompressible viscous flow consists of the continuity equation and the momentum equations as follows:
where , i=1,2 in two-dimensional flow, denotes the velocity components along x-,y-axis, respectively. is the pressure. is the water density. is the dynamic viscosity of water. are the Reynolds stresses or the apparent turbulent shear stress.
Turbulence Modeling
The Reynolds stresses can be solved based on the Boussinesq hypothesis using the eddy viscosity turbulence models, or be solved from the transport equation based on Reynolds stress models. In the present studies, one-equation and two-equation eddy viscosity models as well as Reynolds stress models were employed to solve the RANS equations.
In the eddy viscosity models, it is assumed that the Reynolds stresses are related to the mean velocity gradients, the turbulence kinetic energy and eddy viscosity, i.e.,
where represents the eddy viscosity, is the Kronecker delta, is the turbulent kinetic energy that can be solved from the transport equations. The Reynolds stress tensor is linearly proportional to the mean strain rate. Note that the term equals to zero for incompressible flows.
The simple one-equation model, Spalart-Allmaras (SA) model is implemented. The SA turbulence model solves a transport equation for the modified diffusivity to determine the turbulence eddy viscosity, , i.e.,
where is a damping function. The transport equation for the modified diffusivity is:
where is the mean velocity, is a model coefficient, is the dynamic viscosity, is the production term and is the source term. SA model has good convergence and robustness for specialized flows. However, the turbulence length and time scales are not well defined as they are in other two-equation models.
Two-equation models are widely used solve the RANS equations, in which both the velocity and length scale are solved using separate transport equations. The turbulence length scale is estimated from the kinetic energy and its dissipation rate. The standard , standard and the Shear Stress Transport (SST) models are investigated.
In the model, the turbulent eddy viscosity is calculated as:
where is a model coefficient, is a damping function and is the turbulent time scale, which is calculated as:
where is the large-eddy time scale, is a model coefficient, is the kinematic viscosity. The transport equations for the turbulent kinetic energy and the turbulence dissipation rate are written as:
where , , and are model coefficients, and are production terms, is a damping function, and are source terms. In the realizable model, the equation for turbulence dissipation rate is modified and the coefficient is expressed as a function of mean flow and turbulence properties instead of constant in the standard model. The effect of the mean flow distortion on turbulent dissipation is introduced to improve the performance for rotation and streamline curvature. It also improves the boundary layer under strong adverse pressure gradients or separation. The renormalization group (RNG) model is based on renormalization group analysis of the Navier-Stokes equations. Different constants are used in the transportation equations for the turbulence kinetic energy and dissipation. The RNG model leads to lower turbulence levels and generated less viscous flows.
In the model, the turbulent eddy viscosity is related to the turbulence kinetic energy, , and the specific turbulence dissipation rate, , which is also referred to the mean frequency of the turbulence. The turbulent eddy viscosity is calculated as:
where is the turbulence time scale in the standard model. is a model coefficient. The transport equations for the turbulent kinetic energy and the specific dissipation rate are written as:
where , are model coefficients, and are production terms, is the free-shear modification factor.is the vortex-stretching modification factor, and are the ambient turbulence values that counteract turbulence decay, and are source terms. The model predicts strong vortices and the near-wall interactions more accurately than the models. The limitations of the original model include the over-prediction of shear stresses of adverse pressure gradient boundary layers, and the sensitivity to initial conditions and inlet boundary conditions.
For the SST model, the transport equations are the same as those of the standard model by setting the damped cross-diffusion derivative term as zero in the near region. In the far field, the transport equations are the same as those of the standard model, which can avoid the problem that the model is too sensitive to the inlet turbulence properties. Detailed formulations can be found in the work by Menter (1993). The SST model introduces the transport of the turbulence shear stress and improves the prediction of the onset and the flow separation under adverse pressure gradients.
In the Reynolds stress models (RSM), the transport equations are solved for all the components of the Reynolds stress tensor and the turbulence dissipation rate, i.e.,
where is the stress production, is the rotation production, is the turbulent diffusion, is the pressure strain tensor and is the dissipation rate tensor. The isotropic turbulent dissipation rate is solved from a transport equation analogous to the model with various model coefficients.
In order to resolve the viscous sublayer, two RSM models can be implemented, including the elliptic blending model (EB-RSM) and the linear pressure-strain two-layer model (LPS-RSM). EB-RSM model applies only one scalar elliptic equation instead of the original six transport equations for all stress components, which is based on the relaxation formulations of the pressure-strain tensor using a blending function. In the LPS-RSM model, the pressure-strain term comprises a slow term (also known as the return-to-isotropy term), a rapid term, and wall-reflection terms. The Reynolds stress models can predict complex flows with swirl rotation and high strain rates more accurately than eddy viscosity models.
Solve the RANS equations
The incompressible flow can be solved by the segregated solver for pressure-velocity coupling. The pressure-correction equation can be constructed from the continuity equation and the momentum equations. The SIMPLE (Semi-Implicit Method for Pressure Linked Equations) algorithm is used to solve the pressure and velocity for steady and unsteady problems. The PISO (Pressure-Implicit with Splitting of Operators) algorithm is applied for unsteady problems. The SIMPLE algorithm is summarized as follows.
- Set the boundary conditions.
- Compute the velocity and pressure gradients.
- Calculate the intermediate velocity field by solving the discretized momentum equation.
- Compute the uncorrected mass fluxes at faces.
- Solve the pressure correction equation, which is constructed from the continuity equation.
- Update the pressure field with the pressure correction.
- Correct the mass fluxes at faces.
- Correct the cell velocities using the gradient of pressure corrections.
- Update density due to pressure changes.
- Advancing to next step iteration.