用VC递归调用ansys是出现这种情况,不能运行,但是单独打开ansys能运行,这是怎么一回事呢?
*** ERROR ***
Another ANSYS job with the same job name (file) is already running in this
directory or the file.lock file has not been deleted from an abnormally
terminated ANSYS run. To disable this check, set the ANSYS_LOCK environment
variable to OFF.
这个提示已经很明确了,由于上次运行错误等原因导致生成file.lock文件,直接用命令启动时侯会有错误。解决办法:
1、the file.lock file has not been deleted from an abnormally terminated ANSYS run
2、set the ANSYS_LOCK environment variable to OFF