Documente Academic
Documente Profesional
Documente Cultură
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
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)
6. Starting the V2F turbulence model
The V2F model is available as an ‘add-on’ turbulence model in FLUENT. This model offers the
capability to take into account the anisotropy of near-wall turbulence while keeping a robust eddy
viscosity assumption, and is recommended in many separated flow conditions. The model is available in
the GUI only after using the Scheme command:
(allow-v2f-model)
Note: The V2F model requires an additional feature in the license key.
8. Specifying the smallest diameter and mass for discrete phase particles
FLUENT’s default values for smallest particle diameter and mass are 1e-8 m and 5.236e-25 kg/s,
respectively. In simulations that have particle diameter or mass smaller than these values, it is
recommended to set the values using the Scheme commands:
(rpsetvar 'dpm/lowest-diameter 1e-15)
(rpsetvar 'dpm/lowest-mass 1e-30)
• Changes made using TUI and Scheme commands are stored in the case file when it is saved. Hence,
there is no need to supply these commands again after reopening the case.
• The brackets and syntax used with Scheme commands are important. Errors will result if the
sequence of the brackets and syntax are not rigidly followed.
• The TUI commands mentioned above are not complete. The user may need to answer yes/no, etc., or
provide numbers as requested. For example, upon issuing the TUI command: grid/modify-
zones/matching-tolerance, the solver prints the default value of the tolerance as:
matching tolerance [0.05], and the user needs to provide a new tolerance limit. Thus, the
complete command will be: grid/modify-zones/matching-tolerance 0.1, as an
example.
• Some TUI commands may not be available with the parallel version of FLUENT. In such situations,
the case needs to be setup in the serial mode, but may then be partitioned and run using parallel
solver.
• Some of these commands may change with the product version. Verify that the command is
appropriate with your FLUENT version before using it.
References