scispace - formally typeset
Search or ask a question

Showing papers by "Garth N. Wells published in 2011"


Journal ArticleDOI
TL;DR: A library aimed at automating the solution of partial differential equations using the finite element method, from which low-level code is automatically generated, compiled and seamlessly integrated with efficient implementations of computational meshes and high-performance linear algebra.
Abstract: We describe here a library aimed at automating the solution of partial differential equations using the finite element method. By employing novel techniques for automated code generation, the library combines a high level of expressiveness with efficient computation. Finite element variational forms may be expressed in near mathematical notation, from which low-level code is automatically generated, compiled and seamlessly integrated with efficient implementations of computational meshes and high-performance linear algebra. Easy-to-use object-oriented interfaces to the library are provided in the form of a C++ library and a Python module. This paper discusses the mathematical abstractions and methods used in the design of the library and its implementation. A number of examples are presented to demonstrate the use of the library in application code.

563 citations



Journal ArticleDOI
TL;DR: In this work, stability of the formulation, in the form of an inf-sup condition for the hyperbolic limit and coercivity for the elliptic case, is proved, as is order $k+1/2$ order convergence for the advection-dominated case and order $ k+1$ converge for the diffusive limit in the $L^2$ norm.
Abstract: Analysis of an interface stabilized finite element method for the scalar advection-diffusion-reaction equation is presented. The method inherits attractive properties of both continuous and discontinuous Galerkin methods, namely, the same number of global degrees of freedom as a continuous Galerkin method on a given mesh and the stability properties of discontinuous Galerkin methods for advection-dominated problems. Simulations using the approach in other works demonstrated good stability properties with minimal numerical dissipation, and standard convergence rates for the lowest order elements were observed. In this work, stability of the formulation, in the form of an inf-sup condition for the hyperbolic limit and coercivity for the elliptic case, is proved, as is order $k+1/2$ order convergence for the advection-dominated case and order $k+1$ convergence for the diffusive limit in the $L^2$ norm. The analysis results are supported by a number of numerical experiments.

54 citations


Journal ArticleDOI
TL;DR: In this article, the authors examine aspects of the computation of finite element matrices and vectors which are made possible by automated code generation and present a number of optimisation strategies for a range of variational forms.
Abstract: We examine aspects of the computation of finite element matrices and vectors which are made possible by automated code generation. Given a variational form in a syntax which resembles standard mathematical notation, the low-level computer code for building finite element tensors, typically matrices, vectors and scalars, can be generated automatically via a form compiler. In particular, the generation of code for computing finite element matrices using a quadrature approach is addressed. For quadrature representations, a number of optimisation strategies which are made possible by automated code generation are presented. The relative performance of two different automatically generated representations of finite element matrices is examined, with a particular emphasis on complicated variational forms. It is shown that approaches which perform best for simple forms are not tractable for more complicated problems in terms of run time performance, the time required to generate the code or the size of the generated code. The approach and optimisations elaborated here are effective for a range of variational forms.

53 citations


Journal ArticleDOI
TL;DR: The design and implementation of a flexible, programmable software framework for assisting with numerical experiments in computational turbulence and the impact of various linearizations on the convergence properties of nonlinear solvers for a Reynolds-averaged Navier–Stokes model are investigated.

35 citations


Journal ArticleDOI
TL;DR: A non-isothermal phase field model that captures both displacive and diffusive phase transformations in a unified framework is presented in this paper, which provides guidance on admissible constitutive relationships and on the coupling of the numerous physical processes that are active.
Abstract: A non-isothermal phase field model that captures both displacive and diffusive phase transformations in a unified framework is presented. The model is developed in a formal thermodynamic setting, which provides guidance on admissible constitutive relationships and on the coupling of the numerous physical processes that are active. Phase changes are driven by temperature-dependent free-energy functions that become non-convex below a transition temperature. Higher-order spatial gradients are present in the model to account for phase boundary energy, and these terms necessitate the introduction of non-standard terms in the energy balance equation in order to satisfy the classical entropy inequality point-wise. To solve the resulting balance equations, a Galerkin finite element scheme is elaborated. To deal rigorously with the presence of high-order spatial derivatives associated with surface energies at phase boundaries in both the momentum and mass balance equations, some novel numerical approaches are used. Numerical examples are presented that consider boundary cooling of a domain at different rates, and these results demonstrate that the model can qualitatively reproduce the evolution of microstructural features that are observed in some alloys, especially steels. The proposed model opens a number of interesting possibilities for simulating and controlling microstructure pattern development under combinations of thermal and mechanical loading.

13 citations


Journal ArticleDOI
TL;DR: In this paper, a compiler approach for generating low-level computer code from high-level input for discontinuous Galerkin finite element forms is presented, which facilitates the rapid generation of efficient code for general equations in varying spatial dimensions.
Abstract: A compiler approach for generating low-level computer code from high-level input for discontinuous Galerkin finite element forms is presented. The input language mirrors conventional mathematical notation, and the compiler generates efficient code in a standard programming language. This facilitates the rapid generation of efficient code for general equations in varying spatial dimensions. Key concepts underlying the compiler approach and the automated generation of computer code are elaborated. The approach is demonstrated for a range of common problems, including the Poisson, biharmonic, advection--diffusion and Stokes equations.

8 citations