Verification Research: The method of manufactured solutions (MMS)

MMS stands for “Method of Manufactured Solutions,” which is a rather sleazy sounding name for what is actually a respected and rigorous method of verifying that a finite element (or other) code is correctly solving the governing equations.

A simple introduction to MMS may be found on page 11 of The ASME guide for verification and validation in solid mechanics. The basic idea is to analytically determine forcing functions that would lead to a specific, presumably nontrivial, solution (of your choice) for the dependent variable of a differential equation.  Then you would verify a numerical solver for that differential equation by running it using your analytically determined forcing function.  The difference between the code’s prediction and your selected manufactured solution provides a quantitative measure of error.

Continue reading