Version | Docs | Status |
---|---|---|
Master |
Download GUI (latest is from 2018/6/22)
Download GUI (latest is from 2017/5/25)
Also, check out the:
- Discussion forum (intended for questions about the latest release)
- Developer forum (intended for questions about the master branch)
- Docs (the version isn't quite right, but it's close)
for more detailed information.
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.
This is a major release. The focus this time has been on robustness and testing. Hopefully, it shows. The software has also been relicensed to be BSD-3, which is a more permissive license and is the same one that numpy, scipy, and matplotlib use.
Unfortunately, the GUI is more complicated.
- For open source projects : GPL 2/3
- For companies that pay a license to Riverbank : proprietary
- For companies that don't pay a license fee : GPL 2/3
However, you may distribute an unmodified binary.
-
Programmatics:
- Dropping Python 3.3 support
- Adding Python 3.6 support
-
- preliminary random results (ATO/CRM/PSD/RMS/NO)
- improved geometry support
- MONPNT1/MONPNT3 reading
- MATPOOL matrices
-
F06 scripts
- added a preliminary flutter (SOL 145) parser
- supports multiple subcases
- PK and PKNL methods supported
plot_Vg_Vf(...)
,plot_Vg(...)
,plot_root_locus(...)
- input/output units
- mode switching not fixed yet
- added a preliminary flutter (SOL 145) parser
-
GUI:
- complex displacement support
- animation support
- vector results (real/complex)
- SPC Forces, MPC Forces, Load Vector, Applied Load
- minimal control presently
- No Grid Point Forces (e.g., freebody loads, interface loads)
- SPC Forces, MPC Forces, Load Vector, Applied Load
- signficant speedups
-
-
312 cards supported
-
faster node transforms using:
>>> icd_transform, icp_transform, xyz_cp, nid_cp_cd = get_displacement_index_xyz_cp_cd(dtype='float64, sort_ids=True) >>> xyz_cid0 = transform_xyzcp_to_xyz_cid(xyz_cp, icp_transform, cid=0, in_place=False)
-
simplified card adding
>>> model.add_grid(nid, xyz=[4.,5.,6.], comment='nid, cp, x, y, z')
-
-
comments can now be created without worrying about
$
signs>>> model.add_card(['GRID', 10, None, 4.0, 5.0, 6.0], comment='GRID comment\ngrid,nid,cp,x,y,z')
$GRID comment $grid,nid,cp,x,y,z GRID,10,,4.0,5.0,6.0
- unit conversion
-
- buttons for picking, rotation center, distance
- PyQt5 support
- QScintilla & pygments support for scripting code editor
-
Matlab integration
- pyNastran works with Matlab 2014a+
Version | Docs | Status |
---|---|---|
v0.8.0 |
See v0.8.0 for information regarding enhancements.
Version | Docs |
---|---|
v0.7.2 |
See v0.7.2 for information regarding enhancements.
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.