| 3 | 1/1 | 返回列表 |
| 查看: 1653 | 回復(fù): 2 | ||
YEFU大人新蟲(chóng) (小有名氣)
|
[求助]
CFX批量計(jì)算 已有1人參與
|
|
請(qǐng)問(wèn)有大佬可以將CFX-Pre計(jì)算的時(shí)候改成依次計(jì)算每一個(gè).def文件嗎?不是一次性讓它都在計(jì)算,這樣就可以算完一個(gè)先看一個(gè) @wuming524 發(fā)自小木蟲(chóng)IOS客戶端 |
專家顧問(wèn) (正式寫手)
NVH-FEA工程師
|
用command去控制吧,分為多行,算完一個(gè),你就可以看一個(gè)了,具體命令如下,仔細(xì)看看 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 |

新蟲(chóng) (小有名氣)
| 3 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 288求調(diào)劑 +5 | 好好- 2026-03-07 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 22408 275分求調(diào)劑 +3 | 宇智波比 2026-03-03 | 4/200 |
|
|
[考研] 083000,總分284,求調(diào)劑 +5 | 徐yr 2026-03-04 | 5/250 |
|
|
[考研] 348求調(diào)劑 +3 | wyx79618 2026-03-06 | 5/250 |
|
|
[考研] 085600材料與化工,一志愿廣州985,求調(diào)劑 +12 | qqyyaill 2026-03-05 | 12/600 |
|
|
[考研] 一志愿中國(guó)石油大學(xué)(華東) 本科齊魯工業(yè)大學(xué) 求調(diào)劑 +3 | snw石 2026-03-07 | 3/150 |
|
|
[考研] 一志愿西工大材料學(xué),英一數(shù)二總分321分,求調(diào)劑。 +4 | zz05zz 2026-03-02 | 6/300 |
|
|
[考研] 材料與化工304求B區(qū)調(diào)劑 +4 | 邱gl 2026-03-06 | 4/200 |
|
|
[考研]
|
zbcm_zbcm 2026-03-05 | 6/300 |
|
|
[考研] 287求調(diào)劑 +3 | 看看我. 2026-03-05 | 6/300 |
|
|
[考研] 085600,一志愿鄭州大學(xué),280分求調(diào)劑 +7 | Wuqi725 2026-03-05 | 7/350 |
|
|
[考研] 材料調(diào)劑 +4 | L9370 2026-03-05 | 4/200 |
|
|
[論文投稿]
100+4
|
Stray2021 2026-03-03 | 4/200 |
|
|
[考研] 一志愿985材料與化工 326分求調(diào)劑 +3 | Hz795795 2026-03-04 | 3/150 |
|
|
[考研] 能動(dòng)297求調(diào)劑,本科川大 +4 | 邵11 2026-03-04 | 4/200 |
|
|
[考研] 331求調(diào)劑 +3 | zzZ&zZ 2026-03-03 | 3/150 |
|
|
[考研] 085600求調(diào)劑 +4 | LRZZZZZZ 2026-03-02 | 6/300 |
|
|
[考研] 11408,學(xué)碩276求調(diào)劑 +3 | 崔wj 2026-03-02 | 5/250 |
|
|
[考研] 求調(diào)劑 +11 | yunziaaaaa 2026-03-01 | 13/650 |
|
|
[考研] 275求調(diào)劑 +3 | L-xin? 2026-03-01 | 6/300 |
|