找回密码
 注册
Simdroid-非首页
查看: 228|回复: 7

[命令和APDL] ansys定义数组时数据格式怎么写?

[复制链接]
发表于 2010-12-20 19:33:37 | 显示全部楼层 |阅读模式 来自 安徽合肥
我的数据第一行为
1,1.510160230E-002,2.122294158E-003,-5.000000354E-003,1.538461596E-001  
那么请问在下图中最后一空format怎么写呢

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2010-12-20 20:46:15 | 显示全部楼层 来自 河北秦皇岛
Simdroid开发平台
Reads data from a file and fills in an array parameter vector or matrix. Data are read from a formatted file or, if the menu is off [/MENU,OFF] and Fname is blank, from the next input lines. The format of the data to be read must be input immediately following the *VREAD command. The format specifies the number of fields to be read per record, the field width, and the placement of the decimal point (if none specified in the value). The read operation follows the available FORTRAN FORMAT conventions of the system (see your system FORTRAN manual). Any standard FORTRAN real format (such as (4F6.0), (E10.3,2X,D8.2), etc.) or alphanumeric format (A) may be used. Alphanumeric strings are limited to a maximum of 8 characters for any field (A8). For storage of string arrays greater than 8 characters, the *SREAD command can be used. Integer (I) and list-directed (*) descriptors may not be used. The parentheses must be included in the format and the format must not exceed 80 characters (including parentheses). The input line length is limited to 128 characters. A starting array element number must be defined for the result array parameter vector (numeric or character). For example, entering these two lines: *VREAD,A(1),ARRAYVAL (2F6.0)
回复 不支持

使用道具 举报

 楼主| 发表于 2010-12-20 21:14:29 | 显示全部楼层 来自 安徽合肥
楼上给点自己的心得啊
回复 不支持

使用道具 举报

发表于 2010-12-20 21:59:40 | 显示全部楼层 来自 河北秦皇岛
3# yishui85

APDL采用类似于FORTRAN的数据格式,详细资料参考FORTRAN
回复 不支持

使用道具 举报

 楼主| 发表于 2010-12-20 22:07:54 | 显示全部楼层 来自 安徽合肥
这个我知道啊,具体怎么写呢 4# greenhero
回复 不支持

使用道具 举报

发表于 2010-12-21 10:14:34 | 显示全部楼层 来自 上海
比如:(2F6.0)
回复 不支持

使用道具 举报

 楼主| 发表于 2010-12-21 10:41:06 | 显示全部楼层 来自 安徽合肥
哎根据我的数据特点写啊
回复 不支持

使用道具 举报

发表于 2010-12-21 15:56:36 | 显示全部楼层 来自 瑞典
你的数据格式是Ex.y
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-28 00:34 , Processed in 0.038077 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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