Contents
Total variation diminishing
In numerical methods, total variation diminishing (TVD) is a property of certain discretization schemes used to solve hyperbolic partial differential equations. The most notable application of this method is in computational fluid dynamics. The concept of TVD was introduced by Ami Harten.
Model equation
In systems described by partial differential equations, such as the following hyperbolic advection equation, the total variation (TV) is given by and the total variation for the discrete case is, where. A numerical method is said to be total variation diminishing (TVD) if,
Characteristics
A numerical scheme is said to be monotonicity preserving if the following properties are maintained: proved the following properties for a numerical scheme,
Application in CFD
In Computational Fluid Dynamics, TVD scheme is employed to capture sharper shock predictions without any misleading oscillations when variation of field variable “\phi” is discontinuous. To capture the variation fine grids (\Delta x very small) are needed and the computation becomes heavy and therefore uneconomic. The use of coarse grids with central difference scheme, upwind scheme, hybrid difference scheme, and power law scheme gives false shock predictions. TVD scheme enables sharper shock predictions on coarse grids saving computation time and as the scheme preserves monotonicity there are no spurious oscillations in the solution.
Discretisation
Consider the steady state one-dimensional convection diffusion equation, where \rho is the density, \mathbf{u} is the velocity vector, \phi is the property being transported, \Gamma is the coefficient of diffusion and S_{\phi} is the source term responsible for generation of the property \phi. Making the flux balance of this property about a control volume we get, Here \mathbf {n} is the normal to the surface of control volume. Ignoring the source term, the equation further reduces to: Assuming The equation reduces to Say, From the figure: The equation becomes: The continuity equation also has to be satisfied in one of its equivalent forms for this problem: Assuming diffusivity is a homogeneous property and equal grid spacing we can say we getD_l=D_r=D.The equation further reduces toThe equation above can be written aswhere P is the Péclet number
TVD scheme
Total variation diminishing scheme makes an assumption for the values of \phi_r and \phi_l to be substituted in the discretized equation as follows: Where P is the Péclet number and f is the weighing function to be determined from, where U refers to upstream, UU refers to upstream of U and D refers to downstream. Note that f^+ is the weighing function when the flow is in positive direction (i.e., from left to right) and f^- is the weighing function when the flow is in the negative direction from right to left. So, If the flow is in positive direction then, Péclet number P is positive and the term (P-|P|)= 0, so the function f^- won't play any role in the assumption of \phi_r and \phi_l. Likewise when the flow is in negative direction, P is negative and the term (P+|P|)= 0, so the function f^+ won't play any role in the assumption of \phi_r and \phi_r. It therefore takes into account the values of property depending on the direction of flow and using the weighted functions tries to achieve monotonicity in the solution thereby producing results with no spurious shocks.
Limitations
Monotone schemes are attractive for solving engineering and scientific problems because they do not produce non-physical solutions. Godunov's theorem proves that linear schemes which preserve monotonicity are, at most, only first order accurate. Higher order linear schemes, although more accurate for smooth solutions, are not TVD and tend to introduce spurious oscillations (wiggles) where discontinuities or shocks arise. To overcome these drawbacks, various high-resolution, non-linear techniques have been developed, often using flux/slope limiters.
This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.
Wikipedia® is a registered trademark of the
Wikimedia Foundation, Inc.
Bliptext is not
affiliated with or endorsed by Wikipedia or the
Wikimedia Foundation.