Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Code Verification by the Method of Manufactured Solutions

Technical Report ·
DOI:https://doi.org/10.2172/759450· OSTI ID:759450

A procedure for code Verification by the Method of Manufactured Solutions (MMS) is presented. Although the procedure requires a certain amount of creativity and skill, we show that MMS can be applied to a variety of engineering codes which numerically solve partial differential equations. This is illustrated by detailed examples from computational fluid dynamics. The strength of the MMS procedure is that it can identify any coding mistake that affects the order-of-accuracy of the numerical method. A set of examples which use a blind-test protocol demonstrates the kinds of coding mistakes that can (and cannot) be exposed via the MMS code Verification procedure. The principle advantage of the MMS procedure over traditional methods of code Verification is that code capabilities are tested in full generality. The procedure thus results in a high degree of confidence that all coding mistakes which prevent the equations from being solved correctly have been identified.

Research Organization:
Sandia National Labs., Albuquerque, NM (US); Sandia National Labs., Livermore, CA (US)
Sponsoring Organization:
US Department of Energy (US)
DOE Contract Number:
AC04-94AL85000
OSTI ID:
759450
Report Number(s):
SAND2000-1444
Country of Publication:
United States
Language:
English

Similar Records

VERIFICATION OF TRANSPORT CODES BY THE METHOD OF MANUFACTURED SOLUTIONS: THE ATTILA EXPERIENCE
Conference · 2001 · OSTI ID:775968

Local Truncation Error-Informed Code Verification
Journal Article · 2020 · Journal of Verification, Validation and Uncertainty Quantification · OSTI ID:1760462

A verification regime for the spatial discretization of the SN transport equations
Conference · 2012 · OSTI ID:22105882