sandialabs / sdynpy

A Structural Dynamics Python Library
Other
22 stars 0 forks source link

missing example file - airplane-out.exo #7

Open nagordon opened 1 year ago

nagordon commented 1 year ago

your tutorial uses a file that is not available. Including it would make the example more instructive. Thanks

# Define the filename of our finite element model
filename = 'airplane-out.exo

https://sandialabs.github.io/sdynpy/example_problems/airplane_modal_test.html

dprohe commented 1 year ago

Thanks for highlighting this issue. The file you mention is unfortunately a large finite element results file, so not really conducive to sharing via github. We're still looking at how to best host these files. Admittedly these exodus files are not very useful for a lot of people, as most finite element codes do not use them... eventually I'd like to add readers for other FE codes.

Anyway, we hope to at least alleviate some of this issue in the next release of the software, which has updated documentation that utilizes only the files in the demonstration subpackagesdynpy.demo (https://github.com/sandialabs/sdynpy/tree/main/src/sdynpy/demo). There should then be no more reliance on large external files. If you want to poke around before then, in the sdynpy.demo.beam_airplane or sdynpy.demo.beam_plate modules there are geometry and system variables that you can play with to get a feel for the capabilities in this library.

nagordon commented 1 year ago

OK thanks. I think that is a great example and got me really excited about this project. Perhaps including a simpler model that can be included in the source code. A simple NASTRAN bdf should be a few KBs. I can help if interested.

dprohe commented 1 year ago

That would be nice. I think the last time I used Nastran was 10 years ago, so I don't have any examples to pull from to develop an interface. You are more than welcome to try!

nagordon commented 1 year ago

Here is silly and simple model. You can open it in gmsh, pynastran, or pyvista with the stl or convert the dat to stl with meshio.

I'll try and update the example with the nastran model, but it might take awhile.

https://github.com/nagordon/nastran_models/blob/main/skyhunter/skyhunter_modes-000.dat

dprohe commented 1 year ago

I added an example problem that does not rely on any external files. It's in the "SDynPy Showcase" on the Github Pages website. It uses a simple beam model from SDynPy's beam finite element code. It's definitely not as interesting as the airplane modal test in terms of coordinate system transformations and instrumentation optimization, but it does hit many of the same features. It also has a bit of substructuring at the end of it.

Thanks for sharing that Nastran model. I'll take a look at it. It looks like we should be able to use pynastran to develop a Nastran reader for SDynPy.