- 积分
- 0
- 注册时间
- 2021-7-21
- 仿真币
-
- 最后登录
- 1970-1-1
|
我想在usermat中获得主程序的单元SMISC数据,可以通过调用函数“emsget”来实现。ansys帮助文档中对emsget的介绍如下:
*deck,emsget
function emsget (ielem,value)
c *** primary function: get element misc summable data.
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c ielem (int,sc,in) - element number
c output arguments:
c emsget (int,func,out) - status of element.
c = 0 - element is undefined
c > 0 - number of data items returned
c value (dp,ar(*),out) - element misc summed data.
c NOTE: the contents of this record is element
c dependent. See SMISC on ETABLE command
这里面的value值是我想要获得的,不知道我下面的调用形式正不正确?
external emsget
INTEGER emsget
DOUBLE PRECISION wetness,CONCsum,value
value=emsget(elemID)
wetness=value
|
|