| 3 | 1/1 | 返回列表 |
| 查看: 1652 | 回復(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ā)表 | |
|---|---|---|---|---|
|
[考研] 0701-322 求調(diào)劑 +3 | jiliuxian 2026-03-06 | 5/250 |
|
|---|---|---|---|---|
|
[基金申請(qǐng)] 進(jìn)入個(gè)人成果庫(kù)好難,一下午都沒(méi)進(jìn)去 +6 | mi_dilee 2026-03-05 | 6/300 |
|
|
[考研] 348求調(diào)劑 +3 | wyx79618 2026-03-06 | 5/250 |
|
|
[考研] 0703化學(xué)求調(diào)劑學(xué)校 +3 | 一志愿京區(qū)211 2026-03-04 | 3/150 |
|
|
[考研] 材料專碩調(diào)劑 +5 | 慕辰123 2026-03-05 | 8/400 |
|
|
[考研] 085600材料與化工 298 調(diào)劑 +11 | 小西笑嘻嘻 2026-03-03 | 11/550 |
|
|
[考研] 306求調(diào)劑 +7 | Bahati 2026-03-05 | 7/350 |
|
|
[考研] 求調(diào)劑 +5 | danyyyy 2026-03-04 | 5/250 |
|
|
[考研] 328求調(diào)劑 +6 | vuzhdkfjkx 2026-03-04 | 7/350 |
|
|
[考研] 材料085601一志愿哈工大317 +4 | 壓迫感行 2026-03-04 | 4/200 |
|
|
[考研] 274環(huán)境工程求調(diào)劑 +6 | 扶柳盈江 2026-03-05 | 6/300 |
|
|
[考研] 283求調(diào)劑 +10 | 鹿沫笙 2026-03-02 | 11/550 |
|
|
[基金申請(qǐng)] 沒(méi)有青基直接申請(qǐng)面上,感覺(jué)自己瘋了 +6 | kevin63t 2026-03-02 | 12/600 |
|
|
[考研] 085601 材料305分求助 +4 | 泡泡郵件 2026-03-03 | 6/300 |
|
|
[考研] 材料工程269求調(diào)劑 +7 | 白刺玫 2026-03-02 | 7/350 |
|
|
[考研] 291求調(diào)劑 +3 | 咕嚕咕嚕123123 2026-03-02 | 4/200 |
|
|
[考研] 0854總分272 +5 | 打小就是老實(shí)人 2026-03-02 | 6/300 |
|
|
[考研] 0856材料工程,初試313調(diào)劑 +7 | 賣個(gè)關(guān)子吧 2026-03-03 | 7/350 |
|
|
[考研] 268求調(diào)劑 +10 | 簡(jiǎn)單點(diǎn)0 2026-03-02 | 14/700 |
|
|
[考研] 299求調(diào)劑 +5 | kkcoco25 2026-03-02 | 9/450 |
|