Skip to main content

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))

Project details


Download files

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

Source Distribution

nastran_pch_reader-1.0.2.zip (6.5 kB view details)

Uploaded Source

File details

Details for the file nastran_pch_reader-1.0.2.zip.

File metadata

File hashes

Hashes for nastran_pch_reader-1.0.2.zip
Algorithm Hash digest
SHA256 7b6c5f12c70e05ff181a3508a20e61d4ec3925b6216ef9f9e3f7525a3e6ddf87
MD5 5551886ea60ea3b4cb36dfd431767a9f
BLAKE2b-256 19c9d373f79cea04576be1d383dcb181f1b9edaef3e30e6cec33d0103cf937ba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page