2025-02-08 10:46:32

关于cfx 的batch model,是什么??

请问 cfx 的batch model是什么??

有什么用处??

我需要用下指令的方式

来进行求解(设定皆已完成后)

然后再将结果当输出

都是自动处理 并非手去按指令

如何完成

谢谢~


回答 0 评论
您已邀请来回答问题
工程热物理× 动力工程×

3个回答

例子:

制作好的批处理文件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.经验证,可以后台运行

2025-02-08 10:58:12

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 11:07:21

looking for "CFX5_Solver_Manager.pdf"  it's at sheet page 60

2025-02-08 11:08:22

你的回答