I'm stuck! How to efficiently debug computational solid mechanics models so you can enjoy the beauty of simulations

09/09/2022
by   Ester Comellas, et al.
0

A substantial fraction of the time that computational modellers dedicate to developing their models is actually spent trouble-shooting and debugging their code. However, how this process unfolds is seldom spoken about, maybe because it is hard to articulate as it relies mostly on the mental catalogues we have built with the experience of past failures. To help newcomers to the field of material modelling, here we attempt to fill this gap and provide a perspective on how to identify and fix mistakes in computational solid mechanics models. To this aim, we describe the components that make up such a model and then identify possible sources of errors. In practice, finding mistakes is often better done by considering the symptoms of what is going wrong. As a consequence, we provide strategies to narrow down where in the model the problem may be, based on observation and a catalogue of frequent causes of observed errors. In a final section, we also discuss how one-time bug-free models can be kept bug-free in view of the fact that computational models are typically under continual development. We hope that this collection of approaches and suggestions serves as a "road map" to find and fix mistakes in computational models, and more importantly, keep the problems solved so that modellers can enjoy the beauty of material modelling and simulation.

READ FULL TEXT

page 5

page 6

research
10/17/2022

An introduction to programming Physics-Informed Neural Network-based computational solid mechanics

Physics-informed neural network (PINN) has recently gained increasing in...
research
01/21/2020

Automatic differentiation for solid mechanics

Automatic differentiation (AD) is an ensemble of techniques that allow t...
research
09/17/2021

What machine learning can do for computational solid mechanics

Machine learning has found its way into almost every area of science and...
research
02/16/2019

Method of Manufactured Solutions Code Verification of Elastostatic Solid Mechanics Problems in a Commercial Finite Element Solver

Much progress has been made in advancing and standardizing verification,...
research
05/06/2020

On Failure Diagnosis of the Storage Stack

Diagnosing storage system failures is challenging even for professionals...
research
01/12/2023

Bug Hunters' Perspectives on the Challenges and Benefits of the Bug Bounty Ecosystem

Although researchers have characterized the bug-bounty ecosystem from th...

Please sign up or login with your details

Forgot password? Click here to reset