5.7. Special Considerations for Parallel Ansys Fluent

If you are running serial or parallel Ansys Fluent on a Windows system and intend to compile a UDF, it is recommended that you install a supported version of Microsoft Visual Studio or Clang on your machine, preferably on the C: drive. If the compiler you installed is an older version that is not supported, then you should enable the use of a built-in compiler (Clang) that is provided as part of the Fluent installation by entering the following text command prior to compiling: define/user-defined/use-built-in-compiler? yes. If Fluent determines that you have not installed a compiler on your computer, the built-in compiler is used automatically, whether or not you have enabled this text command.

Also note that if you have compiled a UDF while running Ansys Fluent on a Windows parallel network, you must ‘share’ the folder where the UDF is located so that all computers on the cluster can see this folder. To share the folder in which the case, data, and compiled UDF reside, using the Windows Explorer right-click the folder, choose Sharing... from the menu, click Share this folder, and then click OK.


Important:  If you forget to enable the sharing option for the folder using the Windows Explorer, then Ansys Fluent will hang when you try to load the library in the Compiled UDFs dialog box.


See Common Errors When Building and Loading a UDF Library for a list of errors you can encounter that are specific to Windows parallel.