Box averaging filter 2026-11-05
A box averaging filter gives equal weight to all positions within a specified window and zero weight outside it. In one spatial dimension, its normalized kernel and action areThis is a spatial averaging filter expressed as a convolution. In several dimensions, averaging over an axis-aligned rectangular box uses the product of the one-dimensional kernels.
The discrete counterpart averages a fixed number of samples. On an infinite sequence that is zero except for value ten at index zero, a centred five-sample box average produces value two at indices and zero elsewhere. The total remains ten, while the isolated peak spreads. On a finite array, boundary extension must be specified; reflection, zero padding and wrapping can give different edge values.[ref]
uniform_filter1d in the SciPy documentation. Parameters size, mode and origin: window length, boundary extension and centring
Applying the same box average twice is not the same operation as applying it once. The new kernel is the convolution of the two kernels:Indeed, the integral counts the length of overlap of two intervals, divided by . The resulting support has width , and the weight decreases away from its centre.
For a Fourier mode , one application multiplies the amplitude by ; two applications square this multiplier. The sinc function response explains why a box average smooths a signal without implementing an ideal sharp frequency cutoff. In large eddy simulation, that distinction matters when relating a grid filter to a coarser test filter.
Germano identity 2026-11-05
The Germano identity is an exact relation between stresses at two filtering levels and a stress computable from the resolved field. Let a bar denote a grid filter and a hat a test filter. With the subgrid-scale stress conventionthe identity statesIt follows by substituting and cancelling the common term. Massimo Germano and collaborators used this relation to construct a dynamic subgrid-scale model.[ref]
A dynamic subgrid-scale eddy viscosity model by Massimo Germano and others (1990). §2, equations 8–10, resolved stress and algebraic two-filter identity
A scalar block-average example makes every term visible. Start with four velocity values grouped as and . Averaging within each group gives and , hence . A test average over the two groups then givesThus reads . The resolved group averages contain enough information for , although they alone do not determine the original within-group variances.
The identity has no fitted coefficient. To estimate a missing subgrid-scale stress, a closure assumes some model form at both filtering levels and tries to make their difference agree with the known . Extracting a varying coefficient from a filter, choosing a filter width and stabilizing a fit are modeling decisions; they do not enter the cancellation proof.
Grid filter 2026-11-05
A grid filter defines the resolved field associated with a large eddy simulation, commonly written . Its name reflects the connection between resolved scales and a computational grid, but the filtering operator and the mesh are different specifications. An explicit spatial averaging filter states its kernel; in other methods the retained representation and numerical operations supply an implicit scale selection.[ref]
A dynamic subgrid-scale eddy viscosity model by Massimo Germano and others (1990). §2, original filtered field and coarser test-filter construction
A characteristic width is often related to cell dimensions. One possible three-dimensional convention isCells with widths , and then have . This single number preserves the volume scale but does not describe the strong directional differences of the cell. The filter shape and directional resolution still matter.
Sampling alone also cannot determine which unresolved oscillations were present. At eight equally spaced points on a periodic interval of length , the modes with indices ten and two have identical sine samples:This is aliasing. Removing the high mode by a specified filter before sampling and merely sampling the unfiltered field are different operations.
The subgrid-scale stress depends on the filter actually adopted. A test filter then applies an additional operation to the already resolved data. Reporting only a grid spacing, without the filtering and discretization choices, can leave the mathematical meaning of the resolved field and its closure ambiguous.
Test filter 2026-11-05
A test filter is an additional spatial averaging filter applied to already resolved data in a dynamic subgrid-scale model. If is the field after the grid filter, a test kernel givesIt probes interactions within the available resolved motion at a coarser analysis level. It does not measure the original subgrid motion directly.[ref]
A dynamic subgrid-scale eddy viscosity model by Massimo Germano and others (1990). §2, grid and test filter construction and two-level stress definitions
For example, suppose two resolved values of one velocity component are and . A test average gives and , so the resolved differenceis nonzero. This quantity is computable from the resolved samples; a dynamic subgrid-scale model uses such information to constrain a closure.
The combined filter is , so its width cannot always be identified with the width of alone. A centred box averaging filter of width has second moment . Combining it with one of width gives second moment , because centred convolution kernels add their second moments. A single box of width has the same second moment, but not the same kernel shape.
Choosing a width convention is therefore part of the model. The Germano identity holds for the filters actually defined; an assumed relation between modeled stresses at those levels is an additional approximation. Near boundaries, the test operation also needs a specified treatment of data outside the available region.