例子: 制作好的批处理文件cases.bat里键盘输入如下: cd C:\Program Files\Ansys Inc\v110\CFX\bin start/wait cfx5solve.exe -def case1.def -ini case0.res start/wait cfx5solve.exe -def case2.def -ini case0.res 说明: 1.首先,要把case0.res, case1.def, case2.def等文件事先放入文件夹C:\Program Files\Ansys Inc\v110\CFX\bin中; 2.批处理文件cases.bat也要先拷贝到文件夹C:\Program Files\Ansys Inc\v110\CFX\bin中; 3.经验证,可以后台运行 |
just create a batch file( ex. myrun.bat) which contents as follows cfx5solve -def run1.def cfx5solve -def run2.def
and just excute the myrun.bat , then it will batch run! (based on my experience, don't forget to press "ENTER" key many times while running, sometime, it cannot go to next run in Windows2000 OS, I use Linux and it can run thoughly all the time)
note: there're many options for this kind of batch run mode (pls refer to the manuals) cfx5solve -def run1.def -ini previousRun.res -par-local -partition 2 (use previousRun.res as initial file, to run run1.def, and local parallel run with 2 cpu ON) |
提问时间: | 2025-02-08 |
浏览量: | 2479 |
最近回答: | 2025-02-08 |