Automatic Differentiation in MetaPhysicL and Its Applications in MOOSE. (3rd July 2021)
- Record Type:
- Journal Article
- Title:
- Automatic Differentiation in MetaPhysicL and Its Applications in MOOSE. (3rd July 2021)
- Main Title:
- Automatic Differentiation in MetaPhysicL and Its Applications in MOOSE
- Authors:
- Lindsay, Alexander
Stogner, Roy
Gaston, Derek
Schwen, Daniel
Matthews, Christopher
Jiang, Wen
Aagesen, Larry K.
Carlsen, Robert
Kong, Fande
Slaughter, Andrew
Permann, Cody
Martineau, Richard - Abstract:
- Abstract: Efficient solution via Newton's method of nonlinear systems of equations requires an accurate representation of the Jacobian, corresponding to the derivatives of the component residual equations with respect to the degrees of freedom. In practice these systems of equations often arise from spatial discretization of partial differential equations used to model physical phenomena. These equations may involve domain motion or material equations that are complex functions of the systems' degrees of freedom. Computing the Jacobian by hand in these situations is arduous and prone to error. Finite difference approximations of the Jacobian or its action are prone to truncation error, especially in multiphysics settings. Symbolic differentiation packages may be used, but often result in an excessive number of terms in realistic model scenarios. An alternative to symbolic and numerical differentiation is automatic differentiation (AD), which propagates derivatives with every elementary operation of a computer program, corresponding to continual application of the chain rule. Automatic differentiation offers the guarantee of an exact Jacobian at a relatively small overhead cost. In this work, we outline the adoption of AD in the Multiphysics Object Oriented Simulation Environment (MOOSE) via the MetaPhysicL package. We describe the application of MOOSE's AD capability to several sets of physics that were previously infeasible to model via hand-coded or Jacobian-freeAbstract: Efficient solution via Newton's method of nonlinear systems of equations requires an accurate representation of the Jacobian, corresponding to the derivatives of the component residual equations with respect to the degrees of freedom. In practice these systems of equations often arise from spatial discretization of partial differential equations used to model physical phenomena. These equations may involve domain motion or material equations that are complex functions of the systems' degrees of freedom. Computing the Jacobian by hand in these situations is arduous and prone to error. Finite difference approximations of the Jacobian or its action are prone to truncation error, especially in multiphysics settings. Symbolic differentiation packages may be used, but often result in an excessive number of terms in realistic model scenarios. An alternative to symbolic and numerical differentiation is automatic differentiation (AD), which propagates derivatives with every elementary operation of a computer program, corresponding to continual application of the chain rule. Automatic differentiation offers the guarantee of an exact Jacobian at a relatively small overhead cost. In this work, we outline the adoption of AD in the Multiphysics Object Oriented Simulation Environment (MOOSE) via the MetaPhysicL package. We describe the application of MOOSE's AD capability to several sets of physics that were previously infeasible to model via hand-coded or Jacobian-free simulation techniques, including arbitrary Lagrangian-Eulerian and level-set simulations of laser melt pools, phase-field simulations with free energies provided through neural networks, and metallic nuclear fuel simulations that require inner Newton loop calculation of nonlinear material properties. … (more)
- Is Part Of:
- Nuclear technology. Volume 207:Number 7(2021)
- Journal:
- Nuclear technology
- Issue:
- Volume 207:Number 7(2021)
- Issue Display:
- Volume 207, Issue 7 (2021)
- Year:
- 2021
- Volume:
- 207
- Issue:
- 7
- Issue Sort Value:
- 2021-0207-0007-0000
- Page Start:
- 905
- Page End:
- 922
- Publication Date:
- 2021-07-03
- Subjects:
- Finite element method -- automatic differentiation, MOOSE
Nuclear engineering -- Periodicals
Nuclear engineering
Nuclear Physics
Periodicals
Periodicals
621.48 - Journal URLs:
- http://www.ans.org/pubs/journals/nt/ ↗
http://www.tandfonline.com/toc/unct20/current?nav=tocList ↗
http://www.tandfonline.com/ ↗ - DOI:
- 10.1080/00295450.2020.1838877 ↗
- Languages:
- English
- ISSNs:
- 1943-7471
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 23788.xml