Hacker News new | ask | show | jobs
by dranudin 49 days ago
Normal finite elemts does not care. The mesh ist just put on your 3d body that can be an stl or a step or whatever. The FEM only knows the nodes and nothing else. The mesh geometry is completely separate from the CAD file.

Now there is a method called Isogeometric Analysis (IGA) that was meant to improve this. It uses NURBS functions (just like CAD) for the shape functions of traditional FEM. The idea was that now, if you have NURBS describing the CAD geometry you can skip meshing and just directly calculate on the real geometry. But it did not catch on. The reason being basically, as far as I remember, was that most CAD geometries of interest are not pure NURBS. But they are operations of NURBS (think cube minus some other cube - trimmed surfaces). And IGA has problems with that.

This is a problem that openSCAD will probably also not be able to overcome. Maybe at times it might be easier to create NURBS geometries without trimmed surfaces. But most probably that cannot be done in most cases of real world significance.

3 comments

> Normal finite elemts does not care. The mesh ist just put on your 3d body that can be an stl or a step or whatever. The FEM only knows the nodes and nothing else. The mesh geometry is completely separate from the CAD file.

I have to disagree somewhat. Engineers rarely run a single simulation, rather they do convergence studies. For some problems, it might be fine to refine while keeping the same geometry (since you have no arbitrarily accurate continuous representation), but not all.

So, yes, you can run toy simulations on any mesh, but I don't think any serious shop will consider a workflow where CAD is completely inaccessible.

There are some ways around it but the cure might be worse than (or rather just as sophisticated as) the poison. Like extrapolating what the geometry might be with high-order elements or fitting NURBs.

That was not my point. Sorry if I did not make it clear enough: The point is, the mesh is a completely separate entity. It is an attempt to make a copy of the CAD geometry. Whereas with IGA you can actually calculate on the CAD geometry itself (at least for easy geometry without trimmed surfaces).
Ah, that makes sense. I think Isogeometric Analysis was the idea I was circling (the though process being “of course you can always export to a mesh, but the OpenSCAD model seems to encode more designer intent so why not use that for simulations directly”). I’ll have to read up on what was tried and why it didn’t catch on. Thanks!
The next edition of STEP AP242 will contain support for IGA.