-
Efficient N-to-M Checkpointing Algorithm for Finite Element Simulations
Authors:
David A. Ham,
Vaclav Hapla,
Matthew G. Knepley,
Lawrence Mitchell,
Koki Sagiyama
Abstract:
In this work, we introduce a new algorithm for N-to-M checkpointing in finite element simulations. This new algorithm allows efficient saving/loading of functions representing physical quantities associated with the mesh representing the physical domain. Specifically, the algorithm allows for using different numbers of parallel processes for saving and loading, allowing for restarting and post-pro…
▽ More
In this work, we introduce a new algorithm for N-to-M checkpointing in finite element simulations. This new algorithm allows efficient saving/loading of functions representing physical quantities associated with the mesh representing the physical domain. Specifically, the algorithm allows for using different numbers of parallel processes for saving and loading, allowing for restarting and post-processing on the process count appropriate to the given phase of the simulation and other conditions. For demonstration, we implemented this algorithm in PETSc, the Portable, Extensible Toolkit for Scientific Computation, and added a convenient high-level interface into Firedrake, a system for solving partial differential equations using finite element methods. We evaluated our new implementation by saving and loading data involving 8.2 billion finite element degrees of freedom using 8,192 parallel processes on ARCHER2, the UK National Supercomputing Service.
△ Less
Submitted 11 January, 2024;
originally announced January 2024.
-
Absorbing boundary conditions for the Helmholtz equation using Gauss-Legendre quadrature reduced integrations
Authors:
Koki Sagiyama
Abstract:
We introduce a new class of absorbing boundary conditions (ABCs) for the Helmholtz equation. The proposed ABCs are obtained by using $L$ discrete layers and the $Q_N$ Lagrange finite element in conjunction with the $N$-point Gauss-Legendre quadrature reduced integration rule in a specific formulation of perfectly matched layers. The proposed ABCs are classified by a tuple $(L,N)$, and achieve refl…
▽ More
We introduce a new class of absorbing boundary conditions (ABCs) for the Helmholtz equation. The proposed ABCs are obtained by using $L$ discrete layers and the $Q_N$ Lagrange finite element in conjunction with the $N$-point Gauss-Legendre quadrature reduced integration rule in a specific formulation of perfectly matched layers. The proposed ABCs are classified by a tuple $(L,N)$, and achieve reflection error of order $O(R^{2LN})$ for some $R<1$. The new ABCs generalise the perfectly matched discrete layers proposed by Guddati and Lim [Int. J. Numer. Meth. Engng 66 (6) (2006) 949-977], including them as type $(L,1)$. An analysis of the proposed ABCs is performed motivated by the work of Ainsworth [J. Comput. Phys. 198 (1) (2004) 106-130]. The new ABCs facilitate numerical implementations of the Helmholtz problem with ABCs if $Q_N$ finite elements are used in the physical domain as well as give more insight into this field for the further advancement.
△ Less
Submitted 6 May, 2024; v1 submitted 23 August, 2023;
originally announced August 2023.
-
Machine learning materials physics: Deep neural networks trained on elastic free energy data from martensitic microstructures predict homogenized stress fields with high accuracy
Authors:
K. Sagiyama,
K. Garikipati
Abstract:
We present an approach to numerical homogenization of the elastic response of microstructures. Our work uses deep neural network representations trained on data obtained from direct numerical simulation (DNS) of martensitic phase transformations. The microscopic model leading to the microstructures is based on non-convex free energy density functions that give rise to martensitic variants, and mus…
▽ More
We present an approach to numerical homogenization of the elastic response of microstructures. Our work uses deep neural network representations trained on data obtained from direct numerical simulation (DNS) of martensitic phase transformations. The microscopic model leading to the microstructures is based on non-convex free energy density functions that give rise to martensitic variants, and must be extended to gradient theories of elasticity at finite strain. These strain gradients introduce interfacial energies as well as coercify the model, enabling the admission of a large number of solutions, each having finely laminated microstructures. The numerical stiffness of these DNS solutions and the fine scales of response make the data expensive to obtain, while also motivating the search for homogenized representations of their response for the purpose of engineering design. The high-dimensionality of the problem is reduced by training deep neural networks (DNNs) on the effective response by using the scalar free energy density data. The novelty in our approach is that the trained DNNs also return high-fidelity representations of derivative data, specifically the stresses. This allows the recapitulation of the classic hyperelastic response of continuum elasticity via the DNN representation. Also included are detailed optimization studies over hyperparameters, and convergence with size of datasets.
△ Less
Submitted 2 January, 2019;
originally announced January 2019.
-
A graph theoretic framework for representation, exploration and analysis on computed states of physical systems
Authors:
R. Banerjee,
K. Sagiyama,
G. H. Teichert,
K. Garikipati
Abstract:
A graph theoretic perspective is taken for a range of phenomena in continuum physics in order to develop representations for analysis of large scale, high-fidelity solutions to these problems. Of interest are phenomena described by partial differential equations, with solutions being obtained by computation. The motivation is to gain insight that may otherwise be difficult to attain because of the…
▽ More
A graph theoretic perspective is taken for a range of phenomena in continuum physics in order to develop representations for analysis of large scale, high-fidelity solutions to these problems. Of interest are phenomena described by partial differential equations, with solutions being obtained by computation. The motivation is to gain insight that may otherwise be difficult to attain because of the high dimensionality of computed solutions. We consider graph theoretic representations that are made possible by low-dimensional states defined on the systems. These states are typically functionals of the high-dimensional solutions, and therefore retain important aspects of the high-fidelity information present in the original, computed solutions. Our approach is rooted in regarding each state as a vertex on a graph and identifying edges via processes that are induced either by numerical solution strategies, or by the physics. Correspondences are drawn between the sampling of stationary states, or the time evolution of dynamic phenomena, and the analytic machinery of graph theory. A collection of computations is examined in this framework and new insights to them are presented through analysis of the corresponding graphs.
△ Less
Submitted 23 January, 2019; v1 submitted 23 November, 2018;
originally announced November 2018.
-
Unconditionally stable, second-order schemes for gradient-regularized, non-convex, finite-strain elasticity modeling martensitic phase transformations
Authors:
Koki Sagiyama,
Krishna Garikipati
Abstract:
In the setting of continuum elasticity martensitic phase transformations are characterized by a non-convex free energy density function that possesses multiple wells in strain space and includes higher-order gradient terms for regularization. Metastable martensitic microstructures, defined as solutions that are local minimizers of the total free energy, are of interest and are obtained as steady s…
▽ More
In the setting of continuum elasticity martensitic phase transformations are characterized by a non-convex free energy density function that possesses multiple wells in strain space and includes higher-order gradient terms for regularization. Metastable martensitic microstructures, defined as solutions that are local minimizers of the total free energy, are of interest and are obtained as steady state solutions to the resulting transient formulation of Toupin's gradient elasticity at finite strain. This type of problem poses several numerical challenges including stiffness, the need for fine discretization to resolve microsstructures, and following solution branches. Stable and accurate time-integration schemes are essential to obtain meaningful solutions at reasonable computational cost. In this work we introduce two classes of unconditionally stable second-order time-integration schemes for gradient elasticity, each having relative advantages over the other. Numerical examples are shown highlighting these features.
△ Less
Submitted 20 April, 2018; v1 submitted 11 September, 2017;
originally announced September 2017.
-
A numerical study of branching and stability of solutions to three-dimensional martensitic phase transformations using gradient-regularized, non-convex, finite strain elasticity
Authors:
Koki Sagiyama,
Shiva Rudraraju,
Krishna Garikipati
Abstract:
In the setting of continuum elasticity, phase transformations involving martensitic variants are modeled by a free energy density function that is non-convex in strain space. Here, we adopt an existing mathematical model in which we regularize the non-convex free energy density function by higher-order gradient terms at finite strain and derive boundary value problems via the standard variational…
▽ More
In the setting of continuum elasticity, phase transformations involving martensitic variants are modeled by a free energy density function that is non-convex in strain space. Here, we adopt an existing mathematical model in which we regularize the non-convex free energy density function by higher-order gradient terms at finite strain and derive boundary value problems via the standard variational argument applied to the corresponding total free energy, inspired by Toupin's theory of gradient elasticity. These gradient terms are to preclude existence of arbitrarily fine microstructures, while still allowing for existence of multiple solution branches corresponding to local minima of the total free energy; these are classified as metastable solution branches. The goal of this work is to solve the boundary value problem numerically in three dimensions, observe solution branches, and assess stability of each branch by numerically evaluating the second variation of the total free energy. We also study how these microstructures evolve as the length-scale parameter, the coefficient of the strain gradient terms in the free energy, approaches zero.
△ Less
Submitted 20 April, 2018; v1 submitted 17 January, 2017;
originally announced January 2017.
-
Unconditionally stable, second-order accurate schemes for solid state phase transformations driven by mechano-chemical spinodal decomposition
Authors:
Koki Sagiyama,
Shiva Rudraraju,
Krishna Garikipati
Abstract:
We consider solid state phase transformations that are caused by free energy densities with domains of non-convexity in strain-composition space; we refer to the non-convex domains as mechano-chemical spinodals. The non-convexity with respect to composition and strain causes segregation into phases with different crystal structures. We work on an existing model that couples the classical Cahn-Hill…
▽ More
We consider solid state phase transformations that are caused by free energy densities with domains of non-convexity in strain-composition space; we refer to the non-convex domains as mechano-chemical spinodals. The non-convexity with respect to composition and strain causes segregation into phases with different crystal structures. We work on an existing model that couples the classical Cahn-Hilliard model with Toupin's theory of gradient elasticity at finite strains. Both systems are represented by fourth-order, nonlinear, partial differential equations. The goal of this work is to develop unconditionally stable, second-order accurate time-integration schemes, motivated by the need to carry out large scale computations of dynamically evolving microstructures in three dimensions. We also introduce reduced formulations naturally derived from these proposed schemes for faster computations that are still second-order accurate. Although our method is developed and analyzed here for a specific class of mechano-chemical problems, one can readily apply the same method to develop unconditionally stable, second-order accurate schemes for any problems for which free energy density functions are multivariate polynomials of solution components and component gradients. Apart from an analysis and construction of methods, we present a suite of numerical results that demonstrate the schemes in action.
△ Less
Submitted 12 September, 2016; v1 submitted 2 August, 2015;
originally announced August 2015.