1.5. The .fluent File

When Fluent first starts up, it will look in your home folder for a file called .fluent. If it finds the .fluent file in your home folder it will load it as a Scheme file. Just as UDFs are automatically loaded into Fluent when you read a case file that includes a UDF, Scheme files can be automatically loaded into Fluent each time the program starts by using the .fluent file. The following steps will walk you through the creation and use of the .fluent file. The specific .fluent file created in this example loads in three separate example Scheme files: Schemefile1.scm, Schemefile2.scm, and Schemefile3.scm.

(ti-menu-load-string "file read-journal Schemefile1.scm")
(ti-menu-load-string "file read-journal Schemefile2.scm")
(ti-menu-load-string "file read-journal Schemefile3.scm")

Note:  Be aware that Scheme files are read into Fluent in the order that they are requested in the .fluent file. Therefore, if one Scheme file creates a menu item for a dialog box that is defined in a different Scheme document, you should be sure to read in the Scheme file that defines the dialog box before you read in the Scheme file that creates the menu item for it. For more information on this issue, see the following:



Release 18.2 - © ANSYS, Inc. All rights reserved.