[Documentation] (http://pynastran-git.readthedocs.org/en/v0.7.2/index.html)
pyNastran is an interface library to the various Nastran file formats (BDF, OP2, OP4). Using the BDF interface, you can read/edit/write Nastran geometry without worrying about field formatting. Many checks are also performed to verify that your model is correct. Using the OP2 interface, you can read very large result files very quckly and very efficiently. Additionally, you can also extract a subset of the result data and write F06 result files.
Using the pyNastran GUI, you can read in Nastran models and quickly view results for a model. While it's no FEMAP/Patran, it can replace many tasks that would otherwise require a commercial program.
Also, check out the:
for more detailed information.
- BDF
- supports unicode
- ~270 cards supported
- OP2
- ~500x faster than v0.7.2
- non-vectorized OP2 option has being removed
- Matrix support
- Pandas DataFrame support for use in the Jupyter/iPython Notebook
- ~500x faster than v0.7.2
- GUI
- nodal and centroidal results supported at the same time
- deflection plot support
[Download pyNastran v0.7] (https://github.com/SteveDoyle2/pyNastran/releases)
Highlights:
- OP2
- superelement support
- vectorized support (uses much less memory; Element Forces not vectorized yet)
- additional results (e.g. grid point weight, eigenvalues)
PARAM,POST,-2
support- catching of most FATAL errors without needing to read the F06
- F06
- removed
- BDF
- 238 BDF cards
- large field format and double precision writing
- GUI
- much improved GUI with transient support (real only), a results sidebar, logging, and scripting support
- Other
- additional readers/converters to/from various other formats (e.g. STL, Cart3d, Panair) as well as GUI support
- autogenerated online documentation for pyNastran using readthedocs and Sphinx
Most op2 object were changed in order to eliminate errors, and be more consistent. For example, plateStress
has been replaced by ctria3_stress
, cquad4_stress
, ctria6_stress
, etc. Also, plate centroids now have a node_id
of 0
. This greatly simplifies F06 writing and vectorized data extraction.
Version 0.6 improves BDF reading. The reader is more robust and also requires proper BDF field formatting (e.g. a integer field can't be a float). Additionally, cards also have a comment() method.
Marcin Gąsiorek participated in the latest pyNastran under the European Space Agency's (ESA) "Summer of Code In Space" SOCIS program. The program provides a stipend to students to work on open-source projects. He did a great job of simplifying code and creating nicer documentation.
If anyone makes any specific requests I'll try to incorporate them. They need to be specific, such as read these cards from the BDF, read these results from this OP2, or write these results to an OP2. Any sample problems that you have (to test the software with) would be appreciated. I need small examples that are comprehensive that I can add as demo problems.