-
-
September 9, 2023 at 4:47 am
Yuanyuan Xiao
Subscriber -
September 9, 2023 at 4:51 am
Yuanyuan Xiao
Subscriber(1) 首先您需要准备好workflow文件,本次用到的workflow文件名是testwkf.wft。如果要更换几何模型,可以文本方式打开workflow文件,修改几何名称即可。本次所用几何模型的名称为“geo.scdoc”
(2) 编写Journal文件(示例用的jou文件名称是read-workflow.jou)加载现有的workflow文件。其命令如下:
/file/set-tui-version "23.2"
(%py-exec "workflow.LoadWorkflow(FilePath=r'./testwkf.wft')")
(%py-exec "workflow.TaskObject['Generate the Volume Mesh'].ExecuteUpstreamNonExecutedAndThisTask()")
/file/write-mesh ./myfluent.msh
/exit
(3) 编写batch文件batch.bat(该文件可以用文本方式打开),用该文件来后台启动Fluent Meshing,并调用上一步准备好的journal文件read-workflow.jou
Batch文件的内容如下:
set path=c:\program files\ansys inc\v232\fluent\ntbin\win64
fluent 3ddp -g -meshing -tm4 -i read-workflow.jou
(4) 双击batch.bat,即可后台启动Fluent Meshing并生成网格,网格生成结束后,会把.msh文件保存到工作目录下,如下图所示myfluent.msh即生成的网格文件。
-
- 您必须登录才能回复此主题。

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面网格拉伸为提网格时,为达到类似边界层的效果,如何控制每层网格厚度不一样?
-
7592
-
4440
-
2953
-
1427
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.