文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > FLUENT高手进阶—Text User Interface and Scheme Commands
侵权投诉

FLUENT高手进阶—Text User Interface and Scheme Commands

FLUENT高手进阶—

Commonly used TUI and Scheme Commands in FLUENT

Purpose: This document contains a brief description of some of the frequently used Text User Interface (TUI) and Scheme commands. It discusses the purpose of the commands and provides the syntax for their use. The document also contains references to Scheme language.

Introduction

FLUENT uses a dialect of Lisp called Scheme for creating the graphical user interface. All of the case setup related information is passed to the solver and retrieved via Scheme programming. The Graphical User Interface (GUI) is simple by design for better usability, but the use of Text User Interface (TUI) and Scheme commands allow access to many hidden features in the solver. These commands range from grid operations, solver settings, model selection, and even postprocessing. They can be executed by:

Typing the command in FLUENT’s console window

Reading a file containing a set of commands

1. Repairing the face handedness

The grid check operation may fail when the mesh file contains cells with left-handed faces. The face orientation can be corrected using the TUI command:

grid/modify-zones/repair-face-handedness

Note: Perform the GridÆ Check operation after using this command to ensure the corrections have been made.

2. Increasing the matching tolerance while creating periodic boundaries

FLUENT has a default tolerance value for matching the mesh on periodic boundaries. If the periodic boundary creation fails, the default tolerance value can be increased using the TUI command: grid/modify-zones/matching-tolerance

3. Enabling non-Newtonian fluid properties with turbulent flow conditions

FLUENT’s GUI does not allow for the selection of non-Newtonian viscosity options when the flow is modeled as turbulent. The user has to explicitly activate the formulation using the TUI command: define/models/viscous/turbulence-expert/turb-non-newtonian

Note: The Materials panel will be updated to include more options after this command has been issued.

4. Activating low-Reynolds-number turbulence models

In addition to the three k-ε models available in the GUI, FLUENT is equipped with six variants of the low-Reynolds-number turbulence model. The user can activate these models using the TUI command: define/models/viscous/turbulence-expert/low-re-ke

To select the required variant of the model, use the command:

define/models/viscous/turbulence-expert/low-re-ke-index

Specify the index between 0 to 5, per the table of index values for these models available at: Note: This command can only be issued after selecting the k-ε turbulence model in the Viscous Model panel.

5. Activating LES/DES in 2D

By default, the Large Eddy Simulation (LES) option is activated while working with 3D models. However, the LES option in 2D or axi-symmetric models can be enabled using the Scheme command: (rpsetvar ‘les-2d? #t)

第1页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email