Fluent is part of the Ansys suite of programs. It can be run either in batch mode or interactively.
We strongly advise that you run all production jobs in batch mode.
To run Fluent you need to be added to the
ansys group and have set up your floating license. Review the information in the following pages:
Running in batch mode
To do this you will need to output a journal file (refer to 2.15 Using Journaling and Scripting with FLUENT in Workbench (external site)). The journal file must be written for the TUI (text user interface), not the GUI (graphical user interface). The Fluent manual states that the language for the TUI is Scheme, which is a dialect of Lisp.
Preprocessing (such as mesh generation) and post-processing (for example, visualisation of results) are serial processes and should not be run on HPC systems like Setonix. This means you may need to switch to a Serial→Parallel (Setonix)→ Serial for your workflow. Alternatively, for small data sets, you may wish to use your own workstations and upload/download via
Below we provide a sample batch script.
Using user-defined functions
To run Fluent with user-defined functions (UDFs) you will need to compile Fluent. We have found that UDFs compile well using the Intel compiler. Thus, you will need to compile UDFs manually on the login node before submitting the batch job.
cd to the directory where your case file is located. Then launch the Fluent GUI after loading the appropriate modules.
Then load up your case file, and go into the user-defined functions menu entry. From there you can build the library. Use the default name (libudf). You need to add the
myudf.c file and then click the build button. Once the above is done successfully, you can submit your batch job and it shouldn't try to recompile the UDF.
To run an interactive remote visualisation session, first follow the steps outlined in Web-based Remote Visualisation.
Next, type the following commands into a terminal.
Remember to close your remote visualisation session when finished.