ArticleslgStudy

mathematics

MPDATA

MPDATA 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 MPDATA rather than just read about it. In short: In numerical analysis of partial differential equations, MPDATA is a family of iterative finite-difference/finite-volume methods for numerical integration of hyperbolic differential equations modelling conservation laws of the form: where ψ ( x , t ) {\displaystyle \psi ({\mathbf {x}},t)} is an advected scalar field (or advectee); v = G x ˙ {\displaystyle {\mathbf {v}}=G{\dot {\mathbf {x}}}} is the flow velocity vec…

MPDATA — main illustration
MPDATA — illustration

Key takeaways

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

Reference excerpt

In numerical analysis of partial differential equations, MPDATA is a family of iterative finite-difference/finite-volume methods for numerical integration of hyperbolic differential equations modelling conservation laws of the form:

where ψ ( x , t ) {\displaystyle \psi ({\mathbf {x}},t)} is an advected scalar field (or advectee); v = G x ˙ {\displaystyle {\mathbf {v}}=G{\dot {\mathbf {x}}}} is the flow velocity vector field (or advector), G ( x ) {\displaystyle G({\mathbf {x}})} may either play the role of the fluid density, the Jacobian of coordinate transformation from Cartesian to curvilinear framework x {\displaystyle {\mathbf {x}}} , or their product; R ( x ) {\displaystyle R({\mathbf {x}})} combines all source terms. MPDATA stands for Multidimensional Positive Definite Advection Transport Algorithm. The algorithm was formulated by Piotr K. Smolarkiewicz (and is also referred to as Smolarkiewicz's method) at the US National Center for Atmospheric Research - NCAR (at the time, Smolarkiewicz was a fellow of the NCAR Advanced Study Program and a recent graduate from Krzysztof Haman's group at the University of Warsaw; the seminal 1983 and 1984 MPDATA publications mention both institutions). The crux of the method lies in iterative application of the upwind scheme. The first iteration employs the advective velocity v {\displaystyle {\mathbf {v}}} , while each subsequent iteration employs a so-called antidiffusive velocity which corrects solution from prior iteration reducing the numerical diffusion. The antidiffusive velocities can be derived through modified equation analysis of the upwind scheme and feature cross-dimensional dependencies (i.e., applying MPDATA in multiple dimensions is not equivalent to application of one-dimensional MPDATA in all dimensions), the scheme is thus not dimensionally split, hence "M" in the algorithm name. Since each iteration of the scheme constitutes a forward-in-time upwind pass, the scheme inherits characteristics of the upwind scheme: CFL stability criterion, conservativeness, embarrassingly parallel domain decomposition, and sign-preservation. For non-negative fields ψ {\displaystyle \psi } , sign-preservation translates to positive definiteness, hence the "PD" in the algorithm name. Application of the corrective iterations improves scheme convergence rate compared with first-order upwind. Depending on the MPDATA variant, convergence of up to third-order in time and space can be achieved. While the original formulation of MPDATA employed structured grids, the algorithm has been subsequently also formulated for unstructured grids. Despite being formulated for and named in reference to advection problems, as any other advection numerical scheme, MPDATA also applies to solutions of advection-diffusion as well as diffusion-only problems if Fickian diffusive terms are expressed as advective fluxes (approach referred to as the pseudo-velocity technique).

Description of the basic scheme in 1D MPDATA is inherently multi-dimensional, and primarily used in computational fluid dynamics where the advective volocities and problem geometries are variable in time. Still, the key idea underlying the MPDATA approach can be conveyed with a basic example of solenoidal stationary flow in one dimension (i.e., v = [ u ] {\displaystyle {\mathbf {v}}=[u]} constant in time and space), without coordinate transformation ( G = 1 {\displaystyle G=1} ), for the case of homogeneous advection ( R = 0 {\displaystyle R=0} ) of a nonnegative scalar field ( ψ ≥ 0 {\displaystyle \psi \geq 0} ), with the following flux form of the advection equation:

Upwind discretisation of the problem on a regular staggered grid with a time step Δ t {\displaystyle \Delta t} and a grid step Δ x {\displaystyle \Delta x} , with n = t / Δ t {\displaystyle n=t/\Delta t} , i = x / Δ x {\displaystyle i=x/\Delta x} , and the half-integer spatial indices corresponding to grid-cell walls:

can be formulated with:

with the flux function defined using positive and negative parts of u i ± 1 / 2 {\displaystyle u_{i\pm 1/2}} as:

Introducing the non-dimensional Courant number C = u Δ t / Δ x {\displaystyle C=u{\Delta t}/{\Delta x}} , the resultant explicit-in-time scheme (referred to as "upwind", "upstream" or "donor-cell"), for a constant C {\displaystyle C} reads:

… excerpt ends here. Continue reading the full article.

Illustrations

MPDATA: Comparison of UPWIND (top panel), basic MPDATA (middle panel) and 3-iteration non-oscillatory MPDATA (bottom panel) applied to transport of a cone-shaped signal in a two-dimensional stationary rotational flow ("Molenkamp test")
Comparison of UPWIND (top panel), basic MPDATA (middle panel) and 3-iteration non-oscillatory MPDATA (bottom panel) applied to transport of a cone-shaped signal in a two-dimensional stationary rotational flow ("Molenkamp test")

Worked examples

Example 1 — a first encounter with MPDATA

Start with the simplest possible case. Write down what MPDATA 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 MPDATA 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 MPDATA 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 MPDATA

In research
MPDATA 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 MPDATA 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
MPDATA is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational fluid dynamics, Conservation equations, Flow regimes, so understanding it makes those chapters shorter.
In everyday life
Look for MPDATA 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 MPDATA in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what MPDATA 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 MPDATA out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is MPDATA in simple terms?

In numerical analysis of partial differential equations, MPDATA is a family of iterative finite-difference/finite-volume methods for numerical integration of hyperbolic differential equations modelling conservation laws of the form: where ψ ( x , t ) {\displaystyle \psi ({\mathbf {x}},t)} is an adv…

Why does MPDATA 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 MPDATA?

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 MPDATA.

Tags

  • Computational fluid dynamics
  • Conservation equations
  • Flow regimes
  • Iterative methods
  • Numerical analysis
  • Numerical differential equations

Keep exploring