Lax–Wendroff method
The Lax–Wendroff method, named after Peter Lax and Burton Wendroff,[1] is a numerical method for the solution of hyperbolic partial differential equations, based on finite differences. It is second-order accurate in both space and time. This method is an example of explicit time integration where the function that defines the governing equation is evaluated at the current time.
Definition
Suppose one has an equation of the following form: where Template:Mvar and Template:Mvar are independent variables, and the initial state, u(x, 0)Script error: No such module "Check for unknown parameters". is given.
Linear case
In the linear case, where f(u) = AuScript error: No such module "Check for unknown parameters"., and AScript error: No such module "Check for unknown parameters". is a constant,[2] Here refers to the dimension and refers to the dimension. This linear scheme can be extended to the general non-linear case in different ways. One of them is letting
Non-linear case
The conservative form of Lax-Wendroff for a general non-linear equation is then: where is the Jacobian matrix evaluated at .
Jacobian free methods
To avoid the Jacobian evaluation, use a two-step procedure.
Richtmyer method
What follows is the Richtmyer two-step Lax–Wendroff method. The first step in the Richtmyer two-step Lax–Wendroff method calculates values for f(u(x, t))Script error: No such module "Check for unknown parameters". at half time steps, tn + 1/2Script error: No such module "Check for unknown parameters". and half grid points, xi + 1/2Script error: No such module "Check for unknown parameters".. In the second step values at tn + 1Script error: No such module "Check for unknown parameters". are calculated using the data for tnScript error: No such module "Check for unknown parameters". and tn + 1/2Script error: No such module "Check for unknown parameters"..
First (Lax) steps:
Second step:
MacCormack method
Script error: No such module "Labelled list hatnote". Another method of this same type was proposed by MacCormack. MacCormack's method uses first forward differencing and then backward differencing:
First step: Second step:
Alternatively, First step: Second step:
References
<templatestyles src="Reflist/styles.css" />
Script error: No such module "Check for unknown parameters".
- Michael J. Thompson, An Introduction to Astrophysical Fluid Dynamics, Imperial College Press, London, 2006.
- Script error: No such module "citation/CS1".