179 points · by leephillips · 4y ago · 45 comments
The lead developer (at the time) once said that the biggest software failure we can have is not incorrect results, but incorrect results without the user knowing. This is probably why I am so bothered by silent failures in my big company role now.
I wonder what that means for the accuraccy of the climate models...
For starters, some problems do have analytical solutions. Yo can compare a FEM model of these problems with the known analytical solution and see if it's close enough or not. One of them is the elasto-plastic plate with a hole.
You can also run unit tests at the element level.
http://hplgit.github.io/num-methods-for-PDEs/doc/web/index.h...
http://hplgit.github.io/num-methods-for-PDEs/doc/pub/index.h...
Indeed, was blown away when I saw it for the first time over a decade ago, compared to the convoluted C++ FEM libraries I had seen before that.
They cleared a university classroom of all the chairs and desks, and rolled out pieces of paper to cover the floor. The team took their shoes off proceeded from one corner of the room to the other. If you found that someone had made a mistake, you had a record available to find it, and you could simply rip up the paper at the point where the mistake was made and roll out fresh paper to take its place.
Apparently a triangle took a few days.
SolidWorks does the same math today.
I never had the pleasure of taking classes from Juan Carlos Simo, but he was known to have outstanding classes. His was a very brilliant light & life cut too short by cancer at the young age of 42.
[1]. DLEARN is a linear static and dynamic finite element code written in Fortran. https://github.com/fit087/fem_hughes
https://www.math.hu-berlin.de/~cc/cc_homepage/download/1999-...
Some of this is summarised in this paper in 2. model problem & 3. Galerkin discretisation of the problem, but not in a way that will communicate the mathematical ideas to anyone who hasn't already taken a course on the theory -- probably need a couple of courses on real analysis & a course on PDE as pre-reqs.
It's clear the underlying techniques are very powerful any time you have a thing whose rate of change varies as other things change. Once I understand everything better I will try it on e.g. capacity planning cloud resources and such.
I worked as a structural analyst on passenger train cars (metros, LRVs, etc) for a while, as my first job after grad school actually.
Depending on the project (client requirements), we designed for 25-35 year lifetimes, with 12-24h operation typical. That usually amounted to millions of kilometers.
We had load cases with varying numbers of cycles. Eg curves with light loading might have been millions of cycles, but max (or even over max) loading might have been 10s or 100s of thousands of cycles.
All load cases were determined based on on usage stats from the operator and testing conducted to measure accelerations on the operator's infrastructure.