TAGGED: #fluent-#ansys
-
-
August 24, 2023 at 1:58 am
Yuanyuan Xiao
Subscriber答:操作步骤如下:
1. 新建文本文档,并修改后缀名为.bat。比如新建的文本文档名为”cyl.bat”.
该文档内容如下:
set path=c:\program files\ansys inc\v231\fluent\ntbin\win64
fluent 3d -g -i run1.jou
fluent 3d -g -i run2.jou
注意:
(1) batch文件里需要指定好环境变量,比如2023R1版本的环境变量如上文所述。
(2) 若需要指定hpc核数,则 增加“-tn”就可以,n是hpc数。比如,fluent 3d -g -i -t10 run1.jou
2. 创建与计算case数量相同的journal文件。比如,有两个case需要计算,分别是cyl10.cas.h5和cyl20.cas.h5。则编写两个journal文件run1.jou和run2.jou。内容分别如下:
run1.jou的内容:
/file/read-case cyl10.cas.h5
/solve/initialize/hyb-initialize
/solve/iterate 100
/file/write-case-data cyl-10.cas.h5
/exit
run2.jou的内容:
/file/read-case cyl20.cas.h5
/solve/initialize/hyb-initialize
/solve/iterate 100
/file/write-case-data cyl-20.cas.h5
/exit
3. 双击cyl.bat文件,就可后台启动fluent。
-
August 24, 2023 at 2:27 am
Yuanyuan Xiao
Subscriber已回答,见上文。
-
- 您必须登录才能回复此主题。

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- 如何开启SpaceClaim 的自带网格功能?
- Fluent创建好的材料如何保存下来?
- 如何从Fluent文件获取几何文件?
- 如何batch模式运行Fluent?
- CFX 如何进行参数化计算?
- 如何在Windows下用Fluent Remote Visualization Client 连接Linux 以查看正在计算的Fluent case?
- CFD-POST做瞬态动画如何显示时间?
- 在Fluent Meshing里如何固定边界的ID号?
- 如何后台启动Fluent Meshing并调用已有的workflow工作流文件?
- ICEM面网格拉伸为提网格时,为达到类似边界层的效果,如何控制每层网格厚度不一样?
-
7556
-
4424
-
2949
-
1414
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.