You are on page 1of 2

Compiling and Loading FLUENT 64-bit UDFs using the "FREE" Microsoft Visual Studio 2010 32-bit Express

Edition and the 7.0 SDK


IMPORTANT SUPPORT NOTE: The 2010 Express Edition and the SDK will allow you to compile 64-bit UDFs for FLUENT. However, the installation and use of the Express and the SDK is not officially supported so we ask that you get your IT folks involved in the actual installation. RESTRICTIONS: Also, you CANNOT compile UDFs for FLUENT without first opening the SDK Command prompt window and starting FLUENT from this window.

Instructions
Download the Microsoft Visual Studio Express Edition (2010) performing a default installation http://www.microsoft.com/express/Downloads/#2010-Visual-CPP. Search for the text: Microsoft Visual C++ 2010 Express in your browser window.

7.0 SDK

Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1
http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=c17ba869-96714330-a63e-1fd44e0e2505&displayLang=en or search for the text: Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 in your browser window. IMPORTANT NOTE FROM MICROSOFT: if you are running a 64-bit version of Windows and Visual Studio 2008, please upgrade to Visual Studio 2008 SP1 before installing the Windows 7 SDK. Search for the text: Microsoft Visual Studio 2008 Service Pack 2 in your browser window. This prevents an issue where some platform configuration choices are unavailable in Visual Studios New Project Platform and New Solution Platform dialogs.

Starting FLUENT using the SDK 7.0 Command Prompt Window


1. Open up the SDK Command Window. This is required as this will set the compiler environment variables. 2. Choose the Start Menu > All Programs > Microsoft Windows SDK v7.0 > CMD Shell

3. Launch FLUENT 13.x from this window. (image below):

NOTE: Make sure the CMD window states the following a. Setting SDK Environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.x b. Targeting Windows Server 2003 x64 DEBUG c. Change to your Working directory (directory where your .cas, dat and .c file reside) d. Launch Fluent: C:\Program Files\ ANSYS Inc\v130\fluent\ntbin\win64\fluent