Unlike a RANS approach which models most or all of the turbulent fluctuations, LES directly solves for all resolved turbulent length scales and only models the smallest scales below the grid size. In this way, a majority of the problem-dependent, energy-containing turbulent structure is directly solved in a model-free fashion. The subgrid scales are closer to being isotropic than the resolved scales, and they generally act to dissipate turbulent kinetic energy cascaded down from the larger scales in momentum-driven turbulent flows. Modeling of these small scales is generally more straightforward than RANS approaches, and overall solutions are usually more tolerant to LES modeling errors because the subgrid scales comprise such a small portion of the overall turbulent structure. While LES is generally accepted to be much more accurate than RANS approaches for complex turbulent flows, it is also significantly more expensive than equivalent RANS simulations due to the finer grid resolution required. Additionally, since LES results in a full unsteady solution, the simulation must be run for a long time to gather any desired time-averaged statistics. The tradeoff between accuracy and cost must be weighed before choosing one method over the other.
The separation of turbulent length scales required for LES is obtained by using a spatial filter rather than the RANS temporal filter. This filter has the mathematical form
which is a convolution integral over physical space x with the spatially-varying filter function G. The filter function has the normalization property ∫ − ∞ + ∞G(x) dx = 1, and it has a characteristic length scale Δ so that it filters out turbulent length scales smaller than this size. In the present formulation, a simple “box filter” is used for the filter function,
where V is the volume of control volume 𝒱 whose central node is located at x. This is essentially an unweighted average over the control volume. The length scale of this filter is approximated by
Similar to the RANS temporal filter, a variable can be represented in terms of its filtered and subgrid fluctuating components as
ϕ = ϕ̄ + ϕ′.
For most forms of the filter function G(x), repeated applications of the grid filter to a variable do not yield the same result. In other words,
As with the RANS formulation, modeling is much simplified in the presence of large density variations if a Favre-filtered approach is used. A Favre-filtered variable ϕ̃ is defined as
and a variable can be decomposed in terms of its Favre-filtered and subgrid fluctuating component as
ϕ = ϕ̃ + ϕ″.
Again, note that the useful identities for the Favre-filtered RANS variables do not apply, so that
The standard Smagorinsky LES closure model approximates the subgrid turbulent eddy viscosity using a mixing length-type model, where the LES grid filter size Δ provides a natural length scale. The subgrid eddy viscosity is modeled simply as (Smagorinsky)
μt = ρ(CsΔ)2|S̃|,
The constant coefficient Cs typically varies between 0.1 and 0.24 and should be carefully tuned to match the problem being solved (Rogallo and Moin, Rogallo:1984
). The default value of 0.17 is assigned in the code base.
Although this model is desirable due to its simplicity and efficiency, care should be taken in its application. It is known to predict subgrid turbulent eddy viscosity proportional to the shear rate in the flow, independent of the local turbulence intensity. Non-zero subgrid turbulent eddy viscosity is even predicted in completely laminar regions of the flow, sometimes even preventing a natural transition to turbulence. The model also does not asymptotically replicate near wall behavior without either dampening or a dynamic procedure.
The WALE model of Ducros el al., Ducros:1998
, properly captures the asymptotic behavior for flows that are wall bounded. In this model, the turbulent viscosity is given by,
with the constant Cw of 0.325 and a standard filter, Δ related to the volume,
while Sijd is,
Finally, the velocity gradient squared ters are
and
See ksgs PDE <theory_ksgs_les_model>
section.
As noted, Nalu does support a SST RANS-based model (the reader is referred to the SST equation set description).
Flows are either expected to be fully resolved or, alternatively, under-resolved where wall functions are used. A classic law of the wall has been implemented in Nalu. Wall models to handle adverse pressure gradients are planned. For more information of the form of wall models, please refer to the boundary
condition <theory_boundary_conditions>
section of this manual.