!"D:\ANSYS\ANSYS Inc\v211\fluent\ntbin\win64\fluent.exe" 2ddp -t8 -g -wait -hidden -i A.jou
时间: 2023-09-25 10:13:12 浏览: 68
这是一个命令行指令,用于在 Windows 操作系统中启动 ANSYS Fluent 软件,并加载名为 A.jou 的脚本文件进行计算。其中,2ddp 表示使用双精度计算,-t8 表示使用 8 个线程进行并行计算,-g 表示在图形界面中运行,-wait 表示等待计算结束后自动退出软件,-hidden 表示隐藏图形界面,不显示计算过程。
相关问题
dos('"D:\software\ANSYS\ANSYS Inc\v211\fluent\ntbin\win64\fluent.exe" 3ddp -t6 -g -wait -hidden -i "A.jou“’)
这是一个DOS命令,作用是启动 ANSYS Fluent 软件,并使用 "A.jou" 文件作为输入文件进行计算。其中:
- "D:\software\ANSYS\ANSYS Inc\v211\fluent\ntbin\win64\fluent.exe":指定 ANSYS Fluent 软件的安装路径。
- 3ddp:指定使用 3D 双精度模式进行计算。
- -t6:指定使用 6 个线程进行计算。
- -g:指定以图形界面模式启动 ANSYS Fluent 软件。
- -wait:指定 ANSYS Fluent 软件启动后等待输入文件,直到输入文件被加载完成。
- -hidden:指定 ANSYS Fluent 软件窗口不显示在屏幕上。
- -i "A.jou":指定输入文件为 "A.jou" 文件。
fluent的路径D:\Program Files\ANSYS Inc\v202\fluent\ntbin\win64,写一个.bat来实现运行fluent脚本文件23456.jou
可以尝试以下的批处理脚本:
```
@echo off
cd "D:\Program Files\ANSYS Inc\v202\fluent\ntbin\win64"
fluent 3d -t4 -g < "D:\path\to\23456.jou"
```
其中,`cd`命令用于切换到Fluent所在的目录。`fluent`命令用于启动Fluent软件,并指定了一些参数。`<`符号用于将脚本文件作为输入文件传递给Fluent,使其自动运行。在运行脚本之前,需要将脚本文件的路径替换为实际的路径。将以上代码保存为`.bat`文件,就可以通过双击运行它来启动Fluent并运行脚本文件。
相关推荐
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)