ArticleslgStudy

mathematics

MacCormack method

MacCormack method is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand MacCormack method rather than just read about it. In short: In computational fluid dynamics, the MacCormack method (/məˈkɔːrmæk ˈmɛθəd/) is a widely used discretization scheme for the numerical solution of hyperbolic partial differential equations. This second-order finite difference method was introduced by Robert W.

Key takeaways

  • MacCormack method belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect MacCormack method to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of MacCormack method from memory before moving on to harder problems.

Reference excerpt

In computational fluid dynamics, the MacCormack method (/məˈkɔːrmæk ˈmɛθəd/) is a widely used discretization scheme for the numerical solution of hyperbolic partial differential equations. This second-order finite difference method was introduced by Robert W. MacCormack in 1969. The MacCormack method is elegant and easy to understand and program.

The algorithm The MacCormack method is designed to solve hyperbolic partial differential equations of the form

∂ u ∂ t + ∂ f ( u ) ∂ x = 0 {\displaystyle {\frac {\partial u}{\partial t}}+{\frac {\partial f(u)}{\partial x}}=0}

To update this equation one timestep Δ t {\displaystyle \Delta t} on a grid with spacing Δ x {\displaystyle \Delta x} at grid cell i {\displaystyle i} , the MacCormack method uses a "predictor step" and a "corrector step", given below

u i p = u i n − Δ t Δ x ( f i + 1 n − f i n ) u i n + 1 = 1 2 ( u i n + u i p ) − Δ t 2 Δ x ( f i p − f i − 1 p ) {\displaystyle {\begin{aligned}&u_{i}^{p}=u_{i}^{n}-{\frac {\Delta t}{\Delta x}}\left(f_{i+1}^{n}-f_{i}^{n}\right)\\&u_{i}^{n+1}={\frac {1}{2}}(u_{i}^{n}+u_{i}^{p})-{\frac {\Delta t}{2\Delta x}}(f_{i}^{p}-f_{i-1}^{p})\end{aligned}}}

Linear Example To illustrate the algorithm, consider the following first order hyperbolic equation

∂ u ∂ t + a ∂ u ∂ x = 0. {\displaystyle \qquad {\frac {\partial u}{\partial t}}+a{\frac {\partial u}{\partial x}}=0.}

The application of MacCormack method to the above equation proceeds in two steps; a predictor step which is followed by a corrector step. Predictor step: In the predictor step, a "provisional" value of u {\displaystyle u} at time level n + 1 {\displaystyle n+1} (denoted by u i p {\displaystyle u_{i}^{p}} ) is estimated as follows

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with MacCormack method

Start with the simplest possible case. Write down what MacCormack method claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to MacCormack method before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about MacCormack method ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of MacCormack method

In research
MacCormack method appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses MacCormack method in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
MacCormack method is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational fluid dynamics, Numerical differential equations, so understanding it makes those chapters shorter.
In everyday life
Look for MacCormack method outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study MacCormack method in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what MacCormack method means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain MacCormack method out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is MacCormack method in simple terms?

In computational fluid dynamics, the MacCormack method (/məˈkɔːrmæk ˈmɛθəd/) is a widely used discretization scheme for the numerical solution of hyperbolic partial differential equations. This second-order finite difference method was introduced by Robert W.

Why does MacCormack method matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study MacCormack method?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on MacCormack method.

Tags

  • Computational fluid dynamics
  • Numerical differential equations

Keep exploring