『求助』请问如何用DMAP将一个矩阵输出到一个自己建立的文本文件

浏览:69185 回答:3
请问如何将一个矩阵输出到一个自己建立的文本文件 而不是f06文件?要用到哪些语句?DBFECH只能输出到f06文件 output2 output4好像也不能指定输出

邀请回答 我来回答

全部回答

(3)
默认 最新
qiuxiaoju
do not understand!:-|
2008年10月23日
评论 点赞
zhang
MATPCH Will write a matrix using DMI format to the ‘punch’ file
FORM:
MATPCH KGG// $
where:
KGG is the matrix to be punched
NOTE: the matrix will be in DMI format and there will be no labels to identify which dof each term is associated with

或者
MATMOD Creates DMIG in the ‘punch’ file for a matrix
Form:
  MATMOD KGGEXT,EQEXINS,,,,/M2,/16/1 $
  where:
KGGEXT = matrix to be written using DMIG (in external sort)
EQEXINS = MSC.Nastran table
M2 = table containing the DMIG in a form which can be read by the MTRXIN module (NOTE: this is a convenient way to send matrices without numeric truncation - see OUTPUT2)

这两种方法都可以输出矩阵到pch文件中,只是输出格式不同
然后在编一个简单的程序,读取pch文件的内容转化成你需要地格式就行了
很简单的
2007年4月20日
评论 点赞
zhang
可以用
matpch kgg等语句,输出到同名*.pch文件中
2007年4月20日
评论 点赞

没解决?试试专家一对一服务

换一批
    App下载
    技术邻APP
    工程师必备
    • 项目客服
    • 培训客服
    • 平台客服

    TOP