Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

NASTRAN punch file parser

Project Description

parser of NASTRAN punch files.

Module currently support the following outputs:
  • solution sequences: SOL101, SOL111
  • requests: MPCF, SPCF, ACCELERATION, DISPLACEMENTS, FORCE (only for CBUSH and CELAS2)
  • sorting: SORT1 and SORT2
  • representation for frequency response: real/imaginary and magnitude/phase

Example:

import nastran_pch_reader
parser = nastran_pch_reader.PchParser('test-data/sol101.pch')
# summary of the forces at the elements
for element in [3000, 3001]:
        print('Element force at %d' % element)
        for subcase in parser.get_subcases():
                forces = parser.get_forces(subcase)
                fx, fy, fz, mx, my, mz = forces[element]
                print('\t subcase',subcase, '=>', (fx, fy, fz))
Release History

Release History

This version
History Node

1.0.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nastran_pch_reader-1.0.2.zip (6.5 kB) Copy SHA256 Checksum SHA256 Source Dec 5, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting