声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 3954|回复: 3

[结构分析] 求助:ansys质量矩阵Harwell-Boeing格式的具体含义

[复制链接]
发表于 2006-11-19 15:17 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
在用ansys进行完模态分析之后,要提取他的质量矩阵供其他程序之用,但在提取出Harwell-Boeing格式的矩阵后,不知道是什么意思,哪位高手懂得望赐教。如一个一维杆件划分维两个单元其质量矩阵如下:
Mass matrix from ANSYS FULL file dumped into Harwell-Boeing formatokok.org
            17okok.org 4okok.org 5okok.org 5okok.org 3
RSAokok.org 3okok.org 3okok.org 5okok.org 0
(I14)okok.org (I14)okok.org (d25.15)okok.org (d25.15)okok.org
Fokok.org 1okok.org 3
             1
             3
             5
             6
             1
             3
             2
             0
             3
    0.666666666666667D+03
    0.166666666666667D+03
    0.666666666666667D+03
    0.166666666666667D+03
    0.333333333333333D+03
    0.000000000000000D+00
    0.000000000000000D+00
    0.000000000000000D+00
谁能帮忙还原维我们普通的矩阵形式,解释一下每一行代表什么意思?
回复
分享到:

使用道具 举报

发表于 2006-11-20 10:41 | 显示全部楼层
你好 bozhi
我想请教一下怎么输出总刚阵
谢谢
 楼主| 发表于 2006-11-20 21:41 | 显示全部楼层
点击file--list--binary--选择.full文件
发表于 2006-12-9 01:02 | 显示全部楼层
贴一段Harwell-Boeing格式的英文说明
The Harwell-Boeing format is the most popular mechanism for text-file exchange of sparse matrix data. The following information, taken from [ftp://ftp.cerfacs.fr/pub/harwell_boeing/userguide.ps.Z User's Guide for the Harwell-Boeing Sparse Matrix Collection] provides a specification for this format. Matrix data is held in an 80-column, fixed-length format for portability. Each matrix begins with a multiple line header block, which is followed by two, three, or four data blocks. The header block contains summary information on the storage formats and space requirements. From the header block alone, the user can determine how much space will be required to store the matrix. Information on the size of the representation in lines is given for ease in skipping past unwanted data.

If there are no right-hand-side vectors, the matrix has a four-line header block followed by two or three data blocks containing, in order, the column (or element) start pointers, the row (or variable) indices, and the numerical values. If right-hand sides are present, there is a fifth line in the header block and a fourth data block containing the right-hand side(s). The blocks containing the numerical values and right-hand side(s) are optional. The right-hand side(s) can be present only when the numerical values are present. If right-hand sides are present, then vectors for starting guesses and the solution can also be present; if so, they appear as separate full arrays in the right-hand side block following the right-hand side vector(s).

The first line contains the 72-character title and the 8-character identifier by which the matrix is referenced in our documentation. The second line contains the number of lines for each of the following data blocks as well as the total number of lines, excluding the header block. The third line contains a three character string denoting the matrix type as well as the number of rows, columns (or elements), entries, and, in the case of unassembled matrices, the total number of entries in elemental matrices. The fourth line contains the variable Fortran formats for the following data blocks. The fifth line is present only if there are right-hand sides. It contains a one character string denoting the storage format for the right-hand sides as well as the number of right-hand sides, and the number of row index entries (for the assembled case). The exact format is given by the following, where the names of the Fortran variables in the subsequent programs are given in parenthesis:



Line1 (A72,A8)

Col. 1 - 72 Title (TITLE)

Col. 73 - 80 Key (KEY)


Line 2 (5I14)

Col. 1 - 14 Total number of lines excluding header (TOTCRD)

Col. 15 - 28 Number of lines for pointers (PTRCRD)

Col. 29 - 42 Number of lines for row (or variable) indices (INDCRD)

Col. 43 - 56 Number of lines for numerical values (VALCRD)

Col. 57 - 70 Number of lines for right-hand sides (RHSCRD) (including starting guesses and solution vectors if present) (zero indicates no right-hand side data is present)

Line 3 (A3, 11X, 4I14)

Col. 1 - 3 Matrix type (see below) (MXTYPE)

Col. 15 - 28 Number of rows (or variables) (NROW)

Col. 29 - 42 Number of columns (or elements) (NCOL)

Col. 43 - 56 Number of row (or variable) indices (NNZERO) (equal to number of entries for assembled matrices)

Col. 57 - 70 Number of elemental matrix entries (NELTVL) (zero in the case of assembled matrices)

Line 4 (2A16, 2A20)

Col. 1 - 16 Format for pointers (PTRFMT)

Col. 17 - 32 Format for row (or variable) indices (INDFMT)

Col. 33 - 52 Format for numerical values of coefficient matrix (VALFMT)

Col. 53 - 72 Format for numerical values of right-hand sides (RHSFMT)

Line 5 (A3, 11X, 2I14) Only present if there are right-hand sides present

Col. 1 Right-hand side type: F for full storage or M for same format as matrix

Col. 2 G if a starting vector(s) (Guess) is supplied. (RHSTYP)

Col. 3 X if an exact solution vector(s) is supplied.

Col. 15 - 28 Number of right-hand sides (NRHS)

Col. 29 - 42 Number of row indices (NRHSIX) (ignored in case of unassembled matrices)
Note: For matrices in elemental form, the leading two dimensions in the header give the number of variables in the finite element application and the number of elements. It is common that not all of the variables in the application appear in the linear algebra subproblem; hence the matrix represented can be of lower order than the first parameter, described as the "number of variables (NROW)". The finite element variables are numbered from 1 to NROW, but only the subset of variables that actually appear in the list of variables for the elements define the rows and columns of the matrix. The actual order of the square matrix cannot be determined until all of the indices are read.


The three character type field on line 3 describes the matrix type. The following table lists the permitted values for each of the three characters. As an example of the type field, RSA denotes that the matrix is real, symmetric, and assembled.



First Character:

R Real matrix

C Complex matrix

P Pattern only (no numerical values supplied)

Second Character:

S Symmetric

U Unsymmetric

H Hermitian

Z Skew symmetric

R Rectangular

Third Character:

A Assembled

E Elemental matrices (unassembled)
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-5-25 05:09 , Processed in 0.080737 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表