| 3 | 1/1 | 返回列表 |
| 查看: 1660 | 回復(fù): 2 | |||
YEFU大人新蟲 (小有名氣)
|
[求助]
CFX批量計(jì)算 已有1人參與
|
|
請(qǐng)問(wèn)有大佬可以將CFX-Pre計(jì)算的時(shí)候改成依次計(jì)算每一個(gè).def文件嗎?不是一次性讓它都在計(jì)算,這樣就可以算完一個(gè)先看一個(gè) @wuming524 發(fā)自小木蟲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 |

新蟲 (小有名氣)
| 3 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 274求調(diào)劑0856材料化工 +8 | z2839474511 2026-03-11 | 8/400 |
|
|---|---|---|---|---|
|
[考研] 341求調(diào)劑 +3 | 搗蛋豬豬 2026-03-11 | 3/150 |
|
|
[考研] 一志愿河海大學(xué)085900土木水利專碩279求調(diào)劑不挑專業(yè) +3 | SunWwWwWw 2026-03-10 | 3/150 |
|
|
[考研] 0857環(huán)境調(diào)劑 +5 | 熠熠_11 2026-03-10 | 5/250 |
|
|
[考研] 308求調(diào)劑 +4 | 是Lupa啊 2026-03-08 | 7/350 |
|
|
[考研] 332材料求調(diào)劑 +6 | zjy101327 2026-03-05 | 8/400 |
|
|
[考研] 085602化工求調(diào)劑 +7 | 董boxing 2026-03-10 | 7/350 |
|
|
[考研] 一志愿天津大學(xué),英一數(shù)二305分求調(diào)劑,四六級(jí)已過(guò) +7 | 小小番的茄 2026-03-09 | 7/350 |
|
|
[考研] 求調(diào)劑! +3 | 朔朔話 2026-03-09 | 3/150 |
|
|
[考研] 一志愿南大化學(xué)339分求調(diào)劑,四六級(jí)已過(guò),有比賽,有文章 +7 | Gallantzhou 2026-03-07 | 7/350 |
|
|
[考研] 【求調(diào)劑】293分環(huán)境工程求調(diào)劑材料/化工,服從調(diào)劑,抗壓能力強(qiáng)! +13 | xiiiia 2026-03-04 | 14/700 |
|
|
[考研] 288求調(diào)劑085600材料與化工 +13 | Daunrin 2026-03-07 | 15/750 |
|
|
[考研] 347求調(diào)劑 +4 | 浮云滿足 2026-03-07 | 4/200 |
|
|
[考研] 303求調(diào)劑 +8 | forgman95 2026-03-05 | 10/500 |
|
|
[基金申請(qǐng)] 進(jìn)入個(gè)人成果庫(kù)好難,一下午都沒(méi)進(jìn)去 +6 | mi_dilee 2026-03-05 | 6/300 |
|
|
[考研] 復(fù)試調(diào)劑 +7 | 呼呼?~+123456 2026-03-05 | 10/500 |
|
|
[考研] 287求調(diào)劑 +3 | 看看我. 2026-03-05 | 6/300 |
|
|
[考研] 材料與化工304求調(diào)劑 +7 | 邱gl 2026-03-05 | 10/500 |
|
|
[考研] 304求調(diào)劑 +3 | 曼殊2266 2026-03-04 | 3/150 |
|
|
[考研] 293求調(diào)劑 +3 | 是樂(lè)渝哇 2026-03-04 | 3/150 |
|