JuliaFEM / ModelReduction.jl

ModelReduction is a repository of JuliaFEM to reduce the dimension of a model for multibody dynamics problems. The package includes e.g. the Guyan reduction and the Craig-Bampton method.
https://juliafem.github.io/ModelReduction.jl/latest/
MIT License
10 stars 7 forks source link

Create function reading ABAQUS .mtx file format #5

Closed ahojukka5 closed 6 years ago

ahojukka5 commented 7 years ago

Format of the operator matrix

The assembled sparse matrix operator data are written to the text file as a series of comma-separated lists. Each row in the file represents a single matrix entry; a row is written as a comma-separated list with the following elements:

1) Row node label 2) Degree of freedom for row node 3) Column node label 4) Degree of freedom for column node 5) Matrix entry

We want to read this file format and create sparse matrices from that using I,J,V vectors.

Sample:

1,1, 1,1,  1.000000000000000e+00
2,1, 1,1, -1.000000000000000e+00
1,2, 1,2,  0.000000000000000e+00
2,1, 2,1,  2.000000000000000e+00
3,1, 2,1, -1.000000000000000e+00
2,2, 2,2,  0.000000000000000e+00
3,1, 3,1,  2.000000000000000e+00
4,1, 3,1, -1.000000000000000e+00
3,2, 3,2,  0.000000000000000e+00
4,1, 4,1,  2.000000000000000e+00
5,1, 4,1, -1.000000000000000e+00
4,2, 4,2,  0.000000000000000e+00
5,1, 5,1,  1.000000000000000e+00
5,2, 5,2,  0.000000000000000e+00
ahojukka5 commented 6 years ago

Looks not going to happen.