Catalog PyPI
Back to packageRELEASE DETAILS

1.1.4

PyPI

abaqus-mtx-parser

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

Published23 Jan 2024
Direct dependencies1
Transitive dependenciesNot calculated

README

Version 1.1.4 documentation

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
)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
numpy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.7",
  "evaluation": "NOT_EVALUATED"
}
numpyruntime

Distribution files

2 collected
abaqus_mtx_parser-1.1.4-py3-none-any.whl

bdist_wheel · 123.31 KB · Python py3

Source file
abaqus-mtx-parser-1.1.4.tar.gz

sdist · 125.8 KB · Python source

Source file

Repository

PENDING
huang-lihao/abaqus-mtx-parser

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:10 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:2e8ec00c60b5126f3e53265a80888d58ef00d230c8ff0a74a514a269c9919530

Other collected versions

View all collected versions →