论文标题

我卡住了!如何有效调试计算固体力学模型,以便您享受模拟的美

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

论文作者

Comellas, Ester, Pelteret, Jean-Paul, Bangerth, Wolfgang

论文摘要

实际上,计算机建模者专用于开发其模型的时间实际上是在麻烦和调试其代码的一小部分。但是,很少谈论这个过程的发展,也许是因为很难表达出来,因为它主要依赖于我们构建的精神目录,而这些目录是在过去失败的经验中。为了帮助新移民到材料建模领域,我们在这里试图填补这一空白,并提供有关如何识别和修复计算固体力学模型中错误的观点。为了这个目的,我们描述了构成这样的模型然后确定可能的错误来源的组件。在实践中,通常考虑出了问题的症状通常可以更好地解决错误。结果,我们提供了基于观察结果和经常出现观察到的误差原因的目录,以在模型中缩小问题的位置缩小范围。在最后一部分中,我们还讨论了如何将一次性的无错误模型保持在持续开发的情况下,如何保持无错误的模型。我们希望这种方法和建议的集合可以用作“路线图”,以查找和修复计算模型中的错误,更重要的是,保持问题的解决,以便建模者可以享受材料建模和仿真的美感。

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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源