Skip to main content

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
)

Release files for abaqus-mtx-parser 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abaqus-mtx-parser 1.1.4
File Size Uploaded
abaqus-mtx-parser-1.1.4.tar.gz 128.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for abaqus-mtx-parser 1.1.4
File Interpreter ABI Platform
abaqus_mtx_parser-1.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 255.1 kB

Release files / abaqus-mtx-parser-1.1.4.tar.gz

Download URL abaqus-mtx-parser-1.1.4.tar.gz
Size 128.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e5e6b46fc4e641a6fc6d0d5dbcd3322210db40e99be1ec4c6588e624f50053b1
BLAKE2b-256 checksum
How to use checksums
90f1c35199dc84db4ebf498a30d9d53e9e16dada96165758c9dea4943bd26149
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / abaqus_mtx_parser-1.1.4-py3-none-any.whl

Download URL abaqus_mtx_parser-1.1.4-py3-none-any.whl
Size 126.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0456cce6a937dcc67eb9b5c96db0e6d90f3439c4073c8fd50fcabe282ed0b4b9
BLAKE2b-256 checksum
How to use checksums
d6bdc8769b77b68c2c7f12952583c70fee06c4335c69f1e02a3d46ab9ce6f33c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

1.1.4 This release

2 release files

1.1.2

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page