Professional Documents
Culture Documents
Instructions
1. Download the Microsoft Visual Studio Express Edition (2010) performing a default installation
http://www.microsoft.com/express/Downloads/#2010-Visual-CPP.
NOTE: If the links do not work please Google this download. 2. Install the SDK
Microsoft Windows SDK for Windows 7.1 and .NET Framework 4 (ISO) http://www.microsoft.com/download/en/details.aspx?id=8442
NOTE: If the links do not work please Google this download. 3. Install the SP1 Patch
Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=4422
FLUENT Requirements
1. Share the directory that the case, data, and compiled UDF reside. DO NOT COMPILE OR LOAD UDFS FROM FOLDERS WITH SPACES IN THE NAME AND DO NOT INCLUDE SPACES IN THE NAME OF YOUR CASE AND DATA FILES. a. Right-click on the directory and choose Sharing and Security from the menu. Click "Share this folder" Choose Permissions Make sure that you have Full Control Click OK. 2. Map a drive letter to the Working directory, for example, Z:\ (When compiling UDFs and running in parallel you must you a mapped drive letter to the Working Directory) a. Grant Full Permissions to the Working directory.
Note: When the directory is shared you will notice a "hand" under the directory. If you don't see the "Sharing and Security" option contact your System Administrator. The share name, by default, will be the name of the folder/directory. The share name can be changed.
1. Open up the SDK Command Window. This is required as this will set the compiler environment variables.
2. CD to your working directory (your working directory is the directory where your case, data file and udf
4. Select Parallel under Processing Options and then enter the number or Processes you will be using.
6. In the General Tab type in your mapped drive letter to your working directory, for example, Z:\ . 7. In the FLUENT_Root Path type in the name of the computer where Fluent is installed and where the directory is shared using UNC format.
8. Once Fluent Launches select Define, User Defined, Functions, Compiled. 9. Select the Add button to add your source file. 10. Select Build.
11. After the UDF has been successfully built it is necessary to type in the network path to the compiled UDF in the Library Name panel BEFORE loading the UDF. 12. In front of the directory, libudf, type in the name of the computer where the UDF resides using the \\ format and the name of the shared directory. In the example below, the shared directory name is "working". 13. Click Load.