General

General

In which directory does Fluent write out temporary files, and how can I change it?

    • FAQFAQ
      Participant

      When performing actions such as writing out zipped data (e.g. a *.cas.gz file instead of a *.cas file), Fluent will generate temporary data. This data is written to the temporary directory of your system, which is specified in the environment variable “TMP”. The temp-directory is usually set to /tmp on Linux and to C:UsersusernameAppDataLocalTemp on Windows. To change the directory, you can either set the environment variable “TMP” to another directory permanently (this will also affect other programs including the operating system), or you can set “TMP” during the startup of Fluent in the Fluent launcher on the “Environment” tab. Simply type TMP=D:mytmp in the field “Other environment variables” to overwrite the value of “TMP” with, e.g., the directory D:mytmp just for this Fluent session. Instead of using the Fluent launcher, you can also use the command line argument -setenv=”TMP=D:mytmp” when you start Fluent on the command line. Please be aware that when you run Fluent inside Workbench, some data might also be written to the Workbench temporary directory. This directory can be changed in the Workbench Options under Project Management -> Default Folder for Temporary Files.