Abstract
A new, adjusted approach to code verification using the method of manufactured solutions is presented. It is applicable for the physical problems, represented by mathematical models that include partial differential governing equations, which contain one or more functions that can vary from case to case. For the verification of such codes it has to be presumed that the varying functions are arbitrary and that is why this adjusted method is called the MMS-A. The aim of the new approach is further simplification of the existing methods that can become complex, time consuming and less convenient in general, when used for problems with arbitrary functions. With some additional programming the MMS-A can also be used for verifying codes, in which it is difficult to access the right-hand side of the governing equations (black box codes). In the present article the new method is described in detail and it is compared to the original method of manufactured solutions. It is demonstrated that using the MMS-A, the additional source term can be omitted. The use of the MMS-A is shown through examples that display the effectiveness of the new method.
Similar content being viewed by others
References
Bond RB, Ober CC, Knupp PM, Bova SW (2007) Manufactured solution for computational fluid dynamics boundary condition verification. AIAA J 45(9):2224–2236
Eça L, Hoekstra M, Hay A, Pelletier D (2007) A manufactured solution for a two-dimensional steady wall-bounded incompressible turbulent flow. Int J Comput Fluid Dyn 21(3–4):175–188
Knupp P, Salari K (2003) Verification of computer codes in computational science and engineering. Discrete mathematics and its applications. Chapman & Hall, CRC, London
Malaya N (2012) MASA: a library for verification using manufactured and analytical solutions. Eng Comput 28:1–10
Oberkampf WL, Roy CJ (2010) Verification and validation in scientific computing. Cambridge University Press, Cambridge
Oliver TA, Estacio-Hirmos KC, Malaya N, Carey GF (2012) Manufactured solutions for the Favre-averaged Navier–Stokes equations with eddy viscosity turbulence models. In: 50th AIAA Aerospace Sciences Meeting, AIAA 2012-0080
Pautz SD (2001) Verification of transport codes by the method of manufactured solutions: the ATTILA experience. In: Proceedings ANS international meeting on mathematical methods for nuclear applications, M&C 2001. Salt Lake City, Utah
Powers JM, Aslam TD (2006) Exact solution for multidimensional compressible reactive flow for verifying numerical algorithms. AIAA J 45:337–344
Roache PJ (1998) Chapter 3.6. In: Roache PJ (ed) Verification and validation in computational science and engineering. Hermosa Publishers, Albuquerque, NM
Roache PJ (1999) Chapter 18. In: Roache PJ (ed) Fundamentals of computational fluid dynamics. Hermosa Publishers, Albuquerque, NM
Roache PJ (2002) Code verification by the method of manufactured solutions. J Fluids Eng 124:4–10
Roache PJ (2009) Chapter 3.6. In: Roache PJ (ed) Fundamentals of verification and validation. Hermosa Publishers, Albuquerque, NM
Roy CJ (2005) Review of code and solution verification procedures for computational simulation. J Comput Phys 205(1):131–156
Salari K, Knupp P (2000) Code verification by the method of manufactured solutions. In: SAND2000-1444. Sandia National Laboratories, Albuquerque, NM
Silva HG, Souza LF, Medeiros MAF (2009) Verification of a mixed high-order accurate DNS code for laminar turbulent transition by the method of manufactured solutions. Int J Numer Meth Fluids 64(3):336–354
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Brglez, Š. Code verification for governing equations with arbitrary functions using adjusted method of manufactured solutions. Engineering with Computers 30, 669–678 (2014). https://doi.org/10.1007/s00366-013-0315-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00366-013-0315-0