Skip navigation
  • Home
  • Browse
    • Communities
      & Collections
    • Browse Items by:
    • Publication Date
    • Author
    • Title
    • Subject
    • Department
  • Sign on to:
    • My MacSphere
    • Receive email
      updates
    • Edit Profile


McMaster University Home Page
  1. MacSphere
  2. Departments and Schools
  3. Faculty of Engineering
  4. Level 1 Engineering
  5. Level 1 Engineering Technical Reports
Please use this identifier to cite or link to this item: http://hdl.handle.net/11375/16648
Title: Using Automatic Differentiation to Implement a Family of Material Models
Authors: Mastragostino, Robert
Smith, Spencer
Keywords: automatic differentiation;constitutive equations;material testing
Publication Date: Jan-2015
Abstract: Virtlab is a virtual material testing laboratory that works with a variety of material models. These materials specify functions as part of their definition, some of which must be differentiated for use in the simulator. Virtlab can be extended with new models by the user, and as a result all functions needed will not be known at development time. To prevent the user from calculating large error-prone expressions by hand, general purpose methods for calculating these derivatives must be considered. Previously, Maple's symbolic computation and code generation facilities were used for this task. However, this creates a dependency on a commercial software package and an associated maintenance challenge if the Maple interface should be modified in the future. The goal of the current project is to use FADBAD++, an automatic differentiation package, for the same task and to compare the two methods. The refactored code proved to be faster in some cases, and slower in others. Enough changes were made to the underlying code that the particular reasons for this are unknown, and a more detailed analysis is needed to determine the direction of future development.
URI: http://hdl.handle.net/11375/16648
Appears in Collections:Level 1 Engineering Technical Reports

Files in This Item:
File Description SizeFormat 
VirtLab_AutoDiffVersusSymbolicTR.pdf
Open Access
Technical report file733.98 kBAdobe PDFView/Open
Show full item record Statistics


Items in MacSphere are protected by copyright, with all rights reserved, unless otherwise indicated.

Sherman Centre for Digital Scholarship     McMaster University Libraries
©2022 McMaster University, 1280 Main Street West, Hamilton, Ontario L8S 4L8 | 905-525-9140 | Contact Us | Terms of Use & Privacy Policy | Feedback

Report Accessibility Issue