Edwardseu 发表于 2012-3-4 22:25

关于利用vc进行ansys二次开发

在使用vc进行二次开发时,调用ansys,在遇到某些命令出现如下错误,本人使用的是ansys11版本。
emunit,epzro,eps0! 选用用户定义的相对介电常数,8.854e-6,比标准的小6个数量级。
! The EMUNIT command is either not available for this version of ANSYS orthe appropriate product was not selected for this session.
et,2,109,1,! tran1092D机械电耦合单元,支持单元morph
! The element option TRANS109 was either not ordered with this ANSYSinstallation or the appropriate product was not selected for this    session.
ET,1,PLANE53
! The element option PLANE53 was either not ordered with this ANSYS installation or the appropriate product was not selected for thissession.
et,2,126,,2,0, ! tran126机械电耦合单元,支持单元morph
The element option TRANS126 was either not ordered with this ANSYS installation or the appropriate product was not selected for this   session.
这些命令在ansys里直接使用时没有任何错误。
但是采用vc调用就出现了错误,踌躇啊,有没有大侠相救,不甚感激。

页: [1]
查看完整版本: 关于利用vc进行ansys二次开发