Techniqueadvanced
Variational multiscale method
Also called VMS method.
Splits the solution into resolved and unresolved scales and models the effect of the unresolved ones, which explains stabilized finite element methods.
The variational multiscale (VMS) method splits the solution of a variational problem into a part that the finite element space resolves and a part that it does not, . It writes one equation for each part, solves the fine-scale equation approximately in terms of the residual of , and puts the result back into the coarse equation. With the simplest model of the fine scales, on each element, the coarse equation is a stabilized finite element method, and for advection-diffusion with linear elements it is the SUPG method. The parameter is then not a tuning constant: it is the element mean of the fine-scale Green's function. In 1D this choice makes the coarse solution exact at the nodes.
In plain words
A finite element mesh can only show features that are larger than its cells. The finer features still act on the coarse ones: in a flow with a thin boundary layer, the plain Galerkin method feels that something is missing and answers with wiggles. The variational multiscale method asks what the missing fine part looks like. It finds that, inside each cell, the fine part is driven by how badly the coarse solution fails the equation there, the residual. A simple model says the fine part is a constant times that residual. Adding the effect of this modeled fine part to the coarse equation gives extra terms, and these terms are exactly the stabilization terms that engineers had added by hand. The method thus explains them and tells how large they must be.
When it applies
- A linear or nonlinear problem in weak form , with a differential operator and its formal adjoint , solved by a finite element space that cannot resolve all scales of .
- Convection-dominated transport, where plain Galerkin oscillates when the mesh Peclet number exceeds 1.
- Incompressible flow with equal-order velocity and pressure elements, where the same model of the fine scales gives the pressure stabilization terms.
- Turbulent flow, where the unresolved scales are the small eddies and the method is a form of large eddy simulation without a filter.
The template
Let be the solution space and the finite element space. Choose a fine-scale space with , for example the functions that vanish at all mesh nodes.
VARIATIONAL-MULTISCALE(a, L, f, V_h)- 1
split u = ū + u' and v = v̄ + v' with ū, v̄ in V_h and u', v' in V' - 2
coarse equation: a(v̄, ū) + a(v̄, u') = (v̄, f) for every v̄ in V_h - 3
fine equation: a(v', u') = -(v', L ū - f) for every v' in V', so u' = -∫ g'(x, y) (L ū - f)(y) dy - 4
model u' ≈ -τ_K (L ū - f) on each element K, with τ_K = |K|⁻¹ ∫_K ∫_K g_K(x, y) dx dy - 5
solve a(v̄, ū) - Σ_K (L* v̄, τ_K (L ū - f))_K = (v̄, f) for every v̄ in V_h; return ū and u'
Lines L1 to L3. The test functions and split the single equation into two coupled equations. In the fine equation, acts as data: integration by parts on each element moves to when vanishes on the element boundaries. The fine-scale Green's function solves the fine equation for a point source, so is a linear map of the coarse residual . This step is exact, and the coarse equation of line L2 with this gives the exact , but is as hard to compute as the full solution.
Line L4. Replace by the Green's function of on one element with zero boundary values, and assume the residual is constant on . Then , where solves in and on , a residual-free bubble. The parameter is the mean of over .
Line L5. Integrate by parts on each element. Since vanishes on , , and the model of line L4 gives the stabilized equation. For and linear elements, on each element, so the added term is , the SUPG term.
The parameter in 1D. For on an element of length , the bubble is , and its mean is
This is the optimal SUPG parameter. For large it tends to , and for small it tends to .
Why 1D is exact. In 1D, the functions that vanish at all nodes are the sum of the bubble spaces of the elements, so on each element exactly. For the residual of a linear function is constant on each element. Lines L3 and L4 then agree, and is the nodal interpolant of .
Classic examples
- Advection-diffusion in 1D, by numbers. Take on , , , and 10 linear elements, so and . The exact solution has a boundary layer of width 0.01 and . Plain Galerkin gives the recurrence ratio and the values , , which oscillate. The VMS parameter is . With it the method adds the diffusion along the flow, and the computed is , the exact nodal value.
- SUPG and Galerkin/least squares. The SUPG method uses the advective part in place of , and Galerkin/least squares uses . For linear elements in 1D the three forms are the same. VMS gives the adjoint form and the value of .
- Bubbles and static condensation. If one enriches each element with the bubble and eliminates it by static condensation, the condensed coarse equation is the stabilized equation of line L5. This is the residual-free bubble view of the same method.
- Turbulence. For the Navier-Stokes equations, the fine scales modeled by times the momentum and continuity residuals give a residual-based large eddy simulation. Bazilevs, Calo, Cottrell, Hughes, Reali and Scovazzi described such a model in 2007; it needs no eddy viscosity and no filter.
Variations
- Algebraic subgrid scales. with an algebraic formula for in several dimensions that blends the two limits and of the 1D value. This is the common choice in practice; the constants differ between codes and element types.
- Orthogonal subgrid scales. Choose orthogonal to in and model by the projection of the residual onto that complement.
- Dynamic subgrid scales. In time-dependent problems, give its own ODE in time, , in place of the static model.
- Exact fine scales in a coarse space. If the fine-scale problem is solved numerically on patches, with the kernel of an interpolation, the method becomes localized orthogonal decomposition. The multiscale finite element method solves local problems in the same spirit for rough coefficients.
Pitfalls
- Treating as a free constant. A value much too small brings back the oscillations, and a value much too large smears the layers. The formula above gives the right limits in both regimes.
- Dropping terms of the residual. For linear elements, the second derivative of is zero inside each element, so the diffusive part of is lost. In several dimensions this reduces the accuracy at moderate Peclet numbers, and higher-order elements must keep all terms.
- Expecting nodal exactness in several dimensions. The element Green's function is then only a model of , because the fine scales do not vanish on element edges. The method is stable and consistent, but it is not exact at the nodes.
- Inconsistent stabilization. The added term must contain the full residual , not only . Without , the exact solution no longer satisfies the discrete equation, and the error does not go to zero with .
Exercises
- Solve on with , and check that the mean of is .
- Show that SUPG with the parameter for linear elements equals the central difference scheme with the diffusion , and that this scheme is exact at the nodes for .
- Show that for the limit of as gives the fully upwind scheme .
References
- Thomas J. R. Hughes, Multiscale phenomena, Green's functions, the Dirichlet-to-Neumann formulation, subgrid scale models, bubbles and the origins of stabilized methods, Computer Methods in Applied Mechanics and Engineering 127, 1995, 387-401, the split into resolved and unresolved scales, the fine-scale Green's function, the element approximation of it and the stabilization parameter as its element integral
- Thomas J. R. Hughes, Gonzalo R. Feijoo, Luca Mazzei and Jean-Baptiste Quincy, The variational multiscale method, a paradigm for computational mechanics, Computer Methods in Applied Mechanics and Engineering 166, 1998, 3-24, the general framework, the exact fine-scale solution in terms of the fine-scale Green's function, and the one-dimensional advection-diffusion example
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W3 standard |
|
Tag MGX1Q1 Edit this page History Report an error Markdown