Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

abaqus-mtx-parser

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abaqus-mtx-parser

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

  • 1.1.4
  • PyPI
  • Socket score

Maintainers
1

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
)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc