文件套文件的解决方法
在进行分析过程中,我需要打开两个文件,而且这两个文件是嵌套在一起的,比如:*cfopen,file1,dat
*vrite,
.....
.....
*cfopen,file2,dat
......
*vwrite,
......
*cfclose
*cfclose
因为第二个文件必须在第一个文件写的过程中写进去,实际上是两个循环套循环的问题。
但是ansys好像不支持上述问题,至少*cfclose命令不支持上述问题。
所以,哪位能解决这个问题?或许apdl里面有另外的命令可以利用,但我目前还没有找到,请大家帮忙解决一下,多谢各位! You can try to put the second cfopen operation into a mac file with args. After you call the first cfopen, file1, dat, you can call the above mac file with desired input as arg... ok,thank you for your suggestion, i will try it! ok,thank you for your suggestion, i will try it!
页:
[1]