SearcharxivSearch

arXiv subjects

James R. Kermode

Publications and source records attributed to James R. Kermode.

16 recordsLinked to original sources

Multilevel radial basis function surrogates for noise-robust DSMC-CFD coupling

Hybrid methods for simulating rarefied gas flows reduce computational cost by coupling a particle-based model, typically the direct simulation Monte Carlo (DSMC) method, to a continuum-based solver, i.e. a computational fluid dynamics (CFD) code. However, widespread adoption of these methods is hindered by numerical instabilities caused by statistical noise and difficulties in applying them to complex, arbitrary geometries. To be effective, a hybrid framework must be robust to noise, reliable in not introducing errors to the flow physics, automated, and flexible enough for general spatial domains. Previous iterations of the micro-macro-surrogate-sparse (MMS-Sparse) method successfully addressed the first three requirements using Bayesian surrogate models to provide smooth, constitutive corrections to the CFD. However, they relied on global basis functions, limiting their applicability to relatively simple geometries. In this work, we address the fourth requirement - flexibility - by introducing a set of multilevel radial basis functions (RBFs) to represent the smooth corrections within the MMS-Sparse framework. Unlike global polynomials, multilevel RBFs can resolve broad and fine flow details locally, allowing the method to be applied to complex geometrical systems. We couple this approach with a finite-volume CFD solver (OpenFOAM) and validate it using the rarefied lid-driven cavity flow problem. This serves as a rigorous test case for spatially two-dimensional coupling. Our results demonstrate that this enhanced MMS-Sparse method produces estimates in good agreement with benchmarks while retaining the noise-robust and automated benefits of the Bayesian approach.

physics.flu-dyn

A foundation model for atomistic materials chemistry

Atomistic simulations of matter, especially those that leverage first-principles (ab initio) electronic structure theory, provide a microscopic view of the world, underpinning much of our understanding of chemistry and materials science. Over the last decade or so, machine-learned force fields have transformed atomistic modeling by enabling simulations of ab initio quality over unprecedented time and length scales. However, early ML force fields have largely been limited by: (i) the substantial computational and human effort of developing and validating potentials for each particular system of interest; and (ii) a general lack of transferability from one chemical system to the next. Here we show that it is possible to create a general-purpose atomistic ML model, trained on a public dataset of moderate size, that is capable of running stable molecular dynamics for a wide range of molecules and materials. We demonstrate the power of the MACE-MP-0 model - and its qualitative and at times quantitative accuracy - on a diverse set of problems in the physical sciences, including properties of solids, liquids, gases, chemical reactions, interfaces and even the dynamics of a small protein. The model can be applied out of the box as a starting or "foundation" model for any atomistic system of interest and, when desired, can be fine-tuned on just a handful of application-specific data points to reach ab initio accuracy. Establishing that a stable force-field model can cover almost all materials changes atomistic modeling in a fundamental way: experienced users get reliable results much faster, and beginners face a lower barrier to entry. Foundation models thus represent a step towards democratising the revolution in atomic-scale modeling that has been brought about by ML force fields.

physics.chem-ph

Integrated workflows and interfaces for data-driven semi-empirical electronic structure calculations

Modern software engineering of electronic structure codes has seen a paradigm shift from monolithic workflows towards object-based modularity. Software objectivity allows for greater flexibility in the application of electronic structure calculations, with particular benefits when integrated with approaches for data-driven analysis. Here, we discuss different approaches to create "deep" modular interfaces that connect big-data workflows and electronic structure codes, and explore the diversity of use cases that they can enable. We present two such interface approaches for the semi-empirical electronic structure package, DFTB+. In one case, DFTB+ is applied as a library and provides data to an external workflow; and in another, DFTB+ receives data via external bindings and processes the information subsequently within an internal workflow. We provide a general framework to enable data exchange workflows for embedding new machine-learning-based Hamiltonians within DFTB+, or to enabling deep integration of DFTB+ in multiscale embedding workflows. These modular interfaces demonstrate opportunities in emergent software and workflows to accelerate scientific discovery by harnessing existing software capabilities.

cond-mat.mtrl-sci

Kink-Helium Interactions in Tungsten: Increased Dislocation Mobility in the Infinitely Dilute Regime

Point defects such as interstitial atoms are known to be attracted to screw dislocations. Understanding these interaction mechanisms is key to predicting the plasticity of real materials. Using a new machine learning interatomic potential derived from ab initio calculations of helium in tungsten, we investigate the binding of small helium clusters ($He_{n}$, ${n}=1-3$) to screw dislocation kinks. We find that helium binds significantly more strongly to kinks than to straight dislocation segments. For a single helium atom, the preference reduces the kink pair nucleation energy from 1.58 eV in pure tungsten to 0.48 eV when helium binds to the vacancy kink, indicative of increased dislocation mobility (material softening). In the case of ${n}=2$, kink binding stabilises the kink pair configuration as the ground state, while the straight dislocation is metastable; the two are separated by a 0.60 eV barrier that is the rate determining step for dislocation motion. The energy difference between the ground state kink pair and the metastable straight dislocation increases for ${n}=3$, connected by a 1.00 eV barrier, indicating a progressive loss of the softening effect with increasing cluster size. Molecular dynamics simulations at 900 K support the proposed existence of helium-induced softening in this extremely dilute regime.

cond-mat.mtrl-sci

A collinear-spin machine learned interatomic potential for Fe$_{7}$Cr$_{2}$Ni alloy

We have developed a new machine learned interatomic potential for the prototypical austenitic steel Fe$_{7}$Cr$_{2}$Ni, using the Gaussian approximation potential (GAP) framework. This new GAP can model the alloy's properties with close to density functional theory (DFT) accuracy, while at the same time allowing us to access larger length and time scales than expensive first-principles methods. We also extended the GAP input descriptors to approximate the effects of collinear spins (Spin GAP), and demonstrate how this extended model successfully predicts structural distortions due to antiferromagnetic and paramagnetic spin states. We demonstrate the application of the Spin GAP model for bulk properties and vacancies and validate against DFT. These results are a step towards modelling the atomistic origins of ageing in austenitic steels with higher accuracy.

cond-mat.mtrl-sci

A Posteriori Error Estimate and Adaptivity for QM/MM Models of Crystalline Defects

Hybrid quantum/molecular mechanics (QM/MM) models play a pivotal role in molecular simulations. These models provide a balance between accuracy, surpassing pure MM models, and computational efficiency, offering advantages over pure QM models. Adaptive approaches have been developed to further improve this balance by allowing on-the-fly selection of the QM and MM subsystems as necessary. We propose a novel and robust adaptive QM/MM method for practical material defect simulations. To ensure mathematical consistency with the QM reference model, we employ machine-learning interatomic potentials (MLIPs) as the MM models. Our adaptive QM/MM method utilizes a residual-based error estimator that provides both upper and lower bounds for the approximation error, thus indicating its reliability and efficiency. Furthermore, we introduce a novel adaptive algorithm capable of anisotropically updating the QM/MM partitions. This update is based on the proposed residual-based error estimator and involves solving a free interface motion problem, which is efficiently achieved using the fast marching method. We demonstrate the robustness of our approach via numerical tests on a wide range of crystalline defects.

physics.comp-ph

A DSMC-CFD coupling method using surrogate modelling for low-speed rarefied gas flows

A new Micro-Macro-Surrogate (MMS) hybrid method is presented that couples the Direct Simulation Monte Carlo (DSMC) method with Computational Fluid Dynamics (CFD) to simulate low-speed rarefied gas flows. The proposed MMS method incorporates surrogate modelling instead of direct coupling of DSMC data with the CFD, addressing the limitations CFD has in accurately modelling rarefied gas flows, the computational cost of DSMC for low-speed and multiscale flows, as well as the pitfalls of noise in conventional direct coupling approaches. The surrogate models, trained on the DSMC data using Bayesian inference, provide noise-free and accurate corrections to the CFD simulation enabling it to capture the non-continuum physics. The MMS hybrid approach is validated by simulating low-speed, force-driven rarefied gas flows in a canonical parallel-plate system and shows excellent agreement with DSMC benchmark results. A comparison with the typical domain decomposition DSMC-CFD hybrid method is also presented, to demonstrate the advantages of noise-avoidance in the proposed approach. The method also inherently captures the uncertainty arising from micro-model fluctuations, allowing for the quantification of noise-related uncertainty in the predictions. The proposed MMS method demonstrates the potential to enable multiscale simulations where CFD is inaccurate and DSMC is prohibitively expensive.

physics.flu-dyn

Gaussian Approximation Potentials: theory, software implementation and application examples

Gaussian Approximation Potentials are a class of Machine Learned Interatomic Potentials routinely used to model materials and molecular systems on the atomic scale. The software implementation provides the means for both fitting models using ab initio data and using the resulting potentials in atomic simulations. Details of the GAP theory, algorithms and software are presented, together with detailed usage examples to help new and existing users. We review some recent developments to the GAP framework, including MPI parallelisation of the fitting code enabling its use on thousands of CPU cores and compression of descriptors to eliminate the poor scaling with the number of different chemical elements.

cond-mat.mtrl-sci

Massively Parallel Fitting of Gaussian Approximation Potentials

We present a data-parallel software package for fitting Gaussian Approximation Potentials (GAPs) on multiple nodes using the ScaLAPACK library with MPI and OpenMP. Until now the maximum training set size for GAP models has been limited by the available memory on a single compute node. In our new implementation, descriptor evaluation is carried out in parallel with no communication requirement. The subsequent linear solve required to determine the model coefficients is parallelised with ScaLAPACK. Our approach scales to thousands of cores, lifting the memory limitation and also delivering substantial speedups. This development expands the applicability of the GAP approach to more complex systems as well as opening up opportunities for efficiently embedding GAP model fitting within higher-level workflows such as committee models or hyperparameter optimisation.

cond-mat.mtrl-sci

Compressing local atomic neighbourhood descriptors

Many atomic descriptors are currently limited by their unfavourable scaling with the number of chemical elements $S$ e.g. the length of body-ordered descriptors, such as the Smooth Overlap of Atomic Positions (SOAP) power spectrum (3-body) and the Atomic Cluster Expansion (ACE) (multiple body-orders), scales as $(NS)^ν$ where $ν+1$ is the body-order and $N$ is the number of radial basis functions used in the density expansion. We introduce two distinct approaches which can be used to overcome this scaling for the SOAP power spectrum. Firstly, we show that the power spectrum is amenable to lossless compression with respect to both $S$ and $N$, so that the descriptor length can be reduced from $\mathcal{O}(N^2S^2)$ to $\mathcal{O}\left(NS\right)$. Secondly, we introduce a generalized SOAP kernel, where compression is achieved through the use of the total, element agnostic density, in combination with radial projection. The ideas used in the generalized kernel are equally applicably to any other body-ordered descriptors and we demonstrate this for the Atom Centered Symmetry Functions (ACSF). Finally, both compression approaches are shown to offer comparable performance to the original descriptor across a variety of numerical tests.

cond-mat.mtrl-sci

Synergistic coupling in ab initio-machine learning simulations of dislocations

Ab initio simulations of dislocations are essential to build quantitative models of material strength, but the required system sizes are often at or beyond the limit of existing methods. Many important structures are thus missing in the training or validation of interatomic potentials, whilst studies of dislocation-defect interactions must mitigate the effect of strong periodic image interactions along the line direction. We show how these restrictions can be lifted through the use of linear machine learning potentials in hybrid simulations, where only a subset of atoms are governed by ab initio forces. The linear form is exploited in a constrained retraining procedure, qualitatively expanding the range of training structures for learning and giving precise matching of dislocation core structures, such that lines can cross the quantum/classical boundary. We apply our method to fully three dimensional studies of impurity segregation to edge and screw dislocations in tungsten. Our retrained potentials give systematically improved accuracy to QM/ML reference data and the three dimensional geometry allows for long-range relaxations that qualitatively change impurity-induced core reconstructions compared to simulations using short periodic supercells. More generally, the ability to treat arbitrary sub-regions of large scale simulations with ab initio accuracy opens a vast range of previously inaccessible extended defects to quantitative investigation.

cond-mat.mtrl-sci

A numerical-continuation-enhanced flexible boundary condition scheme applied to Mode I and Mode III fracture

Motivated by the inadequacy of conducting atomistic simulations of crack propagation using static boundary conditions that do not reflect the movement of the crack tip, we extend Sinclair's flexible boundary condition algorithm [Philos. Mag. 31, 647-671 (1975)] and propose a numerical-continuation-enhanced flexible boundary (NCFlex) scheme, enabling full solution paths for cracks to be computed with pseudo-arclength continuation, and present a method for incorporating more detailed far-field information into the model for next to no additional computational cost. The new algorithms are ideally suited to study details of lattice trapping barriers to brittle fracture and can be incorporated into density functional theory and multiscale quantum/classical QM/MM calculations. We demonstrate our approach for Mode III fracture with a 2D toy model and mploy it to conduct a 3D study of Mode I fracture of silicon using realistic interatomic potentials, highlighting the superiority of the new approach over employing a corresponding static boundary condition. In particular, the inclusion of numerical continuation enables converged results to be obtained with realistic model systems containing a few thousand atoms, with very few iterations required to compute each new solution. We also introduce a method to estimate the lattice trapping range of admissible stress intensity factors $K_- < K < K_+$ very cheaply and demonstrate its utility on both the toy and realistic model systems.

physics.comp-ph

Quantitative prediction of the fracture toughness of amorphous carbon from atomic-scale simulations

Fracture is the ultimate source of failure of amorphous carbon (a-C) films, however it is challenging to measure fracture properties of a-C from nano-indentation tests and results of reported experiments are not consistent. Here, we use atomic-scale simulations to make quantitative and mechanistic predictions on fracture of a-C. Systematic large-scale K-field controlled atomic-scale simulations of crack propagation are performed for a-C samples with densities of $ρ=2.5, \, 3.0 \, \text{ and } 3.5~\text{g/cm}^{3}$ created by liquid quenches for a range of quench rates $\dot{T}_q = 10 - 1000~\text{K/ps}$. The simulations show that the crack propagates by nucleation, growth, and coalescence of voids. Distances of $ \approx 1\, \text{nm}$ between nucleated voids result in a brittle-like fracture toughness. We use a crack growth criterion proposed by Drugan, Rice \& Sham to estimate steady-state fracture toughness based on our short crack-length fracture simulations. Fracture toughness values of $2.4-6.0\,\text{MPa}\sqrt{\text{m}}$ for initiation and $3-10\,\text{MPa}\sqrt{\text{m}}$ for the steady-state crack growth are within the experimentally reported range. These findings demonstrate that atomic-scale simulations can provide quantitatively predictive results even for fracture of materials with a ductile crack propagation mechanism.

cond-mat.mtrl-sci

Sensitivity and Dimensionality of Atomic Environment Representations used for Machine Learning Interatomic Potentials

Faithfully representing chemical environments is essential for describing materials and molecules with machine learning approaches. Here, we present a systematic classification of these representations and then investigate: (i) the sensitivity to perturbations and (ii) the effective dimensionality of a variety of atomic environment representations, and over a range of material datasets. Representations investigated include Atom Centred Symmetry Functions, Chebyshev Polynomial Symmetry Functions (CHSF), Smooth Overlap of Atomic Positions, Many-body Tensor Representation and Atomic Cluster Expansion. In area (i), we show that none of the atomic environment representations are linearly stable under tangential perturbations, and that for CHSF there are instabilities for particular choices of perturbation, which we show can be removed with a slight redefinition of the representation. In area (ii), we find that most representations can be compressed significantly without loss of precision, and further that selecting optimal subsets of a representation method improves the accuracy of regression models built for a given dataset.

cond-mat.mtrl-sci

A preconditioning scheme for Minimum Energy Path finding methods

Popular methods for identifying transition paths between energy minima, such as the nudged elastic band and string methods, typically do not incorporate potential energy curvature information, leading to slow relaxation to the minimum energy path for typical potential energy surfaces encountered in molecular simulation. We propose a preconditioning scheme which, combined with a new adaptive timestep selection algorithm, substantially reduces the computational cost of transition path finding algorithms. We demonstrate the improved performance of our approach in a range of examples including vacancy and dislocation migration modelled with both interatomic potentials and density functional theory.

physics.comp-ph

Computing energy barriers for rare events from hybrid quantum/classical simulations through the virtual work principle

Hybrid quantum/classical techniques can flexibly couple ab initio simulations to an empirical or elastic medium to model materials systems that cannot be contained in small periodic supercells. However, due to electronic non-locality a total energy cannot be defined, meaning energy barriers cannot be calculated. We provide a general solution using the principle of virtual work in a modified nudged elastic band algorithm. Our method enables the first ab initio calculations of the kink formation energy for <100> edge dislocations in molybdenum and lattice trapping barriers to brittle fracture in silicon.

cond-mat.mtrl-sci