Skip to main content

A python package to parse *.mtx files generated by the keyword *SUBSTRUCTURE MATRIX OUTPUT in Abaqus.

Project description

Parser for *.mtx files in Abaqus

GitHub release (with filter) Upload Python Package PyPI - Version PyPI - Downloads GitHub License

A python package to parse *.mtx files generated by the keyword *SUBSTRUCTURE MATRIX OUTPUT in Abaqus.

Install

Use PyPI to install abaqus-mtx-parser:

pip install abaqus-mtx-parser

Usage

Run the following script to parse the mtx file inner.mtx.

from importlib.resources import files

from abaqus_mtx_parser import parse_mtx

mtx = files(
    "abaqus_mtx_parser.mtx.unsymmetric"
).joinpath("inner.mtx") # Path to "inner.mtx"
result = parse_mtx(mtx)

print(
    result.nodes,       # node numbers: [2, 3, 4, 5, 6, 7]
    result.dof,         # node dofs: {2: [1, 2, 3, 4, 5, 6], 3: [1, 2, 3, 4, 5, 6], 4: [1, 2, 3, 4, 5, 6], 5: [1, 2, 3, 4, 5, 6], 6: [1, 2, 3, 4, 5, 6], 7: [1, 2, 3, 4, 5, 6]}
    result.stiffness,   # stiffness matrix
)

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

abaqus-mtx-parser-1.1.4.tar.gz (128.8 kB view details)

Uploaded Source

Built Distribution

abaqus_mtx_parser-1.1.4-py3-none-any.whl (126.3 kB view details)

Uploaded Python 3

File details

Details for the file abaqus-mtx-parser-1.1.4.tar.gz.

File metadata

  • Download URL: abaqus-mtx-parser-1.1.4.tar.gz
  • Upload date:
  • Size: 128.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for abaqus-mtx-parser-1.1.4.tar.gz
Algorithm Hash digest
SHA256 e5e6b46fc4e641a6fc6d0d5dbcd3322210db40e99be1ec4c6588e624f50053b1
MD5 ca1407a7791b1aa22fb90c741aa42447
BLAKE2b-256 90f1c35199dc84db4ebf498a30d9d53e9e16dada96165758c9dea4943bd26149

See more details on using hashes here.

File details

Details for the file abaqus_mtx_parser-1.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for abaqus_mtx_parser-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0456cce6a937dcc67eb9b5c96db0e6d90f3439c4073c8fd50fcabe282ed0b4b9
MD5 0c7eccb8b339594aa1a362f5f45e8a6d
BLAKE2b-256 d6bdc8769b77b68c2c7f12952583c70fee06c4335c69f1e02a3d46ab9ce6f33c

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