| 查看: 1617 | 回复: 2 | ||
YEFU大人新虫 (小有名气)
|
[求助]
CFX批量计算 已有1人参与
|
|
请问有大佬可以将CFX-Pre计算的时候改成依次计算每一个.def文件吗?不是一次性让它都在计算,这样就可以算完一个先看一个 @wuming524 发自小木虫IOS客户端 |
» 猜你喜欢
西南交通大学国家级人才团队2026年博士研究生招生(考核制)—机械、材料、力学方向
已经有3人回复
救命帖
已经有6人回复
存款400万可以在学校里躺平吗
已经有37人回复
英文综述是否需要润色及查重
已经有5人回复
限项规定
已经有5人回复
为什么nbs上溴 没有产物点出现呢
已经有9人回复
招博士
已经有3人回复
最失望的一年
已经有18人回复
klzg77541812
专家顾问 (正式写手)
NVH-FEA工程师
- 应助: 117 (高中生)
- 金币: 2141.8
- 红花: 28
- 帖子: 621
- 在线: 606.2小时
- 虫号: 1479383
- 注册: 2011-11-06
- 性别: GG
- 专业: 固体力学
- 管辖: 计算模拟区
【答案】应助回帖
感谢参与,应助指数 +1
|
用command去控制吧,分为多行,算完一个,你就可以看一个了,具体命令如下,仔细看看 Answer: The steps below assume that ANSYS CFX 19.2 is installed on a supported operating system and no firewalls are blocking communication across multiple computers is that is in use, CFX and HPC licenses are available. This Solution could be reused for other recent versions going back to 18.2 with changes to the v### in the path This also assumes you have working knowledge of Command Prompt on Windows OR terminal on Linux. If you are not comfortable with command lines, please request assistance from your Organization's IT administrator. Installation and Paths On Windows Default Installation path is C:\Program Files\ANSYS Inc\ and CFX solver is in C:\Program Files\ANSYS Inc\v192\CFX\bin\ You can try including this to the PATH or use the full path to cfx5solve On Linux if /ansys_inc softlink was created to the installation location then below is the path to cfx5solve /ansys_inc/v192/CFX/bin/ Test model and working directory Create a Working Directory preferable a path without spaces or special characters on Windows say C:\temp\cfxtest\test1 on Linux try /home/cfxtest Copy the example file below to the working directory in above Windows C: cd \temp\cfxtest\test1 copy "C:\Program Files\ANSYS Inc\v192\CFX\examples\StaticMixer.def" . Linux cd /home cp /ansys_inc/v192/CFX/examples/StaticMixer.def ./ Here are the steps to run CFX solver in different modes Serial Mode, uses 1 core On Windows "C:\Program Files\ANSYS Inc\v192\CFX\bin\cfx5solve.exe" -batch -serial -def StaticMixer.def On Linux /ansys_inc/v192/CFX/bin/cfx5solve -batch -serial -def StaticMixer.def Local machine only (Shared Memory Parallel) on one node change the command line flags to -batch -par -def StaticMixer.def -par-local -part 10 Local machine only (Distributed Memory Parallel) on one node change the command line flags to -batch -par -def StaticMixer1.def -par-dist "node01*2" NOTE: if you are on a headnode or loginhnode say hostname node00, then do not run the above from node00. ssh to node01 and run from there. The first node in the list should be the node you are running the command line from. To run across nodes on Linux On Linux passwordless ssh needs to be enabled. -batch -par -def StaticMixer1.def -par-dist "node01*2,node02*2" To force a particular start method from command line, this example shows Intel MPI distributed Parallel -batch -par -def StaticMixer1.def -par-dist "node01*2" -start-method "Intel MPI Distributed Parallel" For Debugging purposes add flag "-v" at the beginning without quotes To stop an existing solve say the first run, you can use the command. Be sure to run the command in the folder which contains the directory being referenced. Windows "C:\Program Files\ANSYS Inc\v19.x\CFX\bin\cfx5stop.exe" -directory StaticMixer_001.dir Linux /ansys_inc/v19.x/CFX/bin/cfx5stop -directory StaticMixer_001.dir |
» 本帖已获得的红花(最新10朵)

2楼2019-07-17 09:38:31
YEFU大人
新虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 97.8
- 散金: 71
- 帖子: 107
- 在线: 53.5小时
- 虫号: 7877436
- 注册: 2018-02-03
- 性别: GG
- 专业: 工程热物理相关交叉领域
3楼2019-07-18 09:02:37













回复此楼
YEFU大人