Welcome to pyNastran’s documentation for v1.2!¶
The pyNastran software interfaces to Nastran’s complicated input and output files and provides a simplified interface to read/edit/write the various files. The software is compatible currently being used on Windows, Linux, and Mac.
The BDF reader/editor/writer supports 373 cards including coordinate systems. Card objects have methods to access data such as Mass, Area, etc. The BDF writer writes a small field formatted file, but makes full use of the 8-character Nastran field. The OpenMDAO BDF parametrization syntax is also supported.
The OP2 reader supports static/transient results, which unless you analyzing frequency response data should be good enough. It also supports F06 Writing for most of the objects. Results include: displacement, velocity, acceleration, temperature, eigenvectors, eigenvalues, SPC forces, MPC forces, grid point forces, load vectors, applied loads, strain energy, as well as stress and strain.
The Python OP4 reader/writer supports reading ASCII/binary sparse and dense matrices, and writing ASCII matrices.
A simple GUI has been developed that can view BDF models and display static/dynamic displacement/eignevectors (real/complex) and stress/strain (real) results from the OP2. Additionally, AVUS, Cart3d, Usm3d, Tetgen, STL, and Panair are somewhat supported and included for use.
- Installation
- Quick Start
- Overview
- BDF
- BDF Overview
- BDF Introduction
- We can also script the GUI!
- test_bdf demo
- OP2
- OP2 Overview
- OP2 Introduction
- OP2: Numpy Demo #1 (Displacement, Solid Stress)
- OP2: Numpy Demo #2 (Composite Plate Stress)
- test_op2
- Pandas
- Transient DataFrames in PyNastran
- Manipulating the Pandas DataFrame
- Static & Transient DataFrames in PyNastran
- OP4
- GUI
- Graphical User Interface (GUI)
- Other
- How To: pyNastran
- pyNastran Package
- pyNastran/bdf
errorsModule- Subpackages
bdfModulecase_control_deckModulesubcaseModule- bdf/field_writer Package
patran_rptModule- bdf/utils Package
- cards Package
- base_card Package
bdf_setsModulebdf_tablesModulecollpase_cardModuleconstraintsModulecontactModulecoordinate_systemsModuledmigModuledynamicModuleexpand_cardModulematerialsModulematerial_depsModulemethodsModulemsgmeshModulenodesModuleoptimizationModuleparamsModuleutilsModule- aero Package
- elements Package
- properties Package
- loads Package
- thermal Package
- bdf_interface
add_cardModuleadd_methodsModuleassign_typeModuleattributesModulebdf_cardModulecross_referenceModulesafe_cross_referenceModuleget_cardModuleget_methodsModuleinclude_fileModulepybdfModulereplicationModulestatsModulesubcase_cardsModulesubcase_utilsModuleverify_validateModuleutilsModuleuncross_referenceModulewrite_meshModulewrite_mesh_filesModule
- mesh_utils
bdf_equivalenceModulebdf_mergeModulebdf_renumberModulecollapse_bad_quadsModuleconvertModuledelete_bad_elementsModuleexport_mcidsModuleexport_caero_meshModulemirror_meshModuleextract_bodiesModulefind_closest_nodesModulefind_coplanar_elementsModuleforce_to_pressureModulefree_edgesModulefree_facesModuleget_omlModuleremove_unusedModulesplit_cbars_by_pin_flagModule- mesh_utils Package
bdf_equivalenceModulebdf_mergeModulebdf_renumberModulecollapse_bad_quadsModuleconvertModuledelete_bad_elementsModuleexport_mcidsModulemirror_meshModuleextract_bodiesModulefind_closest_nodesModulefind_coplanar_elementsModuleforce_to_pressureModulefree_edgesModulefree_facesModuleget_omlModuleremove_unusedModulesplit_cbars_by_pin_flagModulesplit_elementsModuleutilsModule
utilsModule
- pyNastran/op2
errorsModule- pyNastran/op2
- pyNastran/op2/op2_interface
- pyNastran/op2/result_objects
- pyNastran/op2/tables
- tables Package
ogpwgModuleutilsModule- pyNastran/op2/tables/geom
- pyNastran/op2/tables/lama_eigenvalues
- pyNastran/op2/tables/oee_energy
- pyNastran/op2/tables/oef_forces
- pyNastran/op2/tables/oes_stress_strain
- pyNastran/op2/tables/ogf_gridPointForces
- pyNastran/op2/tables/opg_appliedLoads
- pyNastran/op2/tables/oqg_constraintForces
- pyNastran/op2/tables/ogs_grid_point_stresses
- pyNastran/op2/tables/oug
- tables Package
- pyNastran/f06
- utils Package
- pyNastran/converters
- References to pyNastran
- pyNastran/bdf