Nastran2fenicsx

Hi everyone,

I’ve been writing a small tool that reads a Nastran-style bulk data file (.bdf/.nas/.fem), turns it into a DOLFINx mesh with material / BC / load data attached, and runs the analysis with FEniCSx + SLEPc/PETSc. Code is here: GitHub - bayswiss/nastran2fenicsx: Read .bdf/.fem files and solve them with DOLFINx + SLEPc/PETSc. · GitHub

For now it just works for structural modal analysis (the famous SOL 103), solid 3D structures, CTETRA4 / CTETRA10, clamped boundaries.

It is a proof of concept for now, and I’ll extend the support for fancier nastran CARDS (like RBE2, RBE3, CBUSH etc.).

Disclaimer: just like most of my work, this is “glue software”. The actual work is happening in DOLFINx, basix, PETSc, SLEPc, and pyNastran. Which is exactly why I’d appreciate a sanity check from people who know what’s going on downstairs.

If I end up completing all the desired features, commercial software’s input files will be run by dolfinx. That would be a funny moment.

Antonio

1 Like