fluent udf环境变量的设置(2)

2019-08-29 23:46

1. Keep the software installed on your computer, but also install Microsoft Visual C++ 2010 Express 2. Go to the following folder:

C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\include 3. From this folder copy the math.h file to

C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\include

4. Start Fluent as described above in (4.2). Now you will be using VS2013 as compiler but the math.h file from VS2010, which worked fine for me.

7. Setting the Environmental Variables

Many pages that you find dealing with the problem give suggestions like \your environmental variables are set\, it is not clear how to do that. I succeeded finally at making it work, however, before that I managed to ruin my Windows and I needed a network registry operation to fix it, so first of all:

0. DO NOT DELETE OR MODIFY WHAT IS ALREADY IN THE 'PATH' VARIABLE. 1. Right click on 'My computer'/'This PC' and click 'Properties' 2. On the left side of the screen click 'Advanced system settings' 3. On the bottom click 'Environmental variables'

4. In the bottom box look for the Variable named 'Path', select it and click 'Edit' 5. Be careful not to modify anything that is already there.

6. At the end, put a semicolon ( ; ) and after that paste the address of your Fluent executable, i.e. add to the end of the Path variable ;C:\\

7. Add to the end the folder where the 'vcvarsx86_amd64.bat' file of your Visual Studio 12 is found. By default this is:

;C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\bin\\x86_amd64 8. Click OK and OK your way out of the My computer properties. You are all set hopefully.

This will enable you to start fluent by simply typing the command \command prompt. You can also add the 2D and 3D executables separately to the Path variable.

8. Remarks and disclaimer

I would like to emphasize that I am in no way an expert in CFD/C++/UDFs/Windows SDK, only a beginner user. I do not take any responsibility for anything described or suggested on this page, or any damage caused by following these steps. This is merely a summary of my experiences with my system, and I cannot guarantee that the solutions will work in any other setup (or with this setup on other systems).

However, I do hope that some will find it useful and some people will save many hours of searching for the solutions.

Kind regards,

用户变量

FLUENT_INC

c:\\program files\\ansys inc\\v140\\fluent ICEM_ACN

C:\\Program Files\\ANSYS Inc\\v140\\icemcfd\\win64_amd include

d:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\include;C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Include; lib

d:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\lib\\amd64;C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Lib\\x64 MSDevDir

D:\\Program Files (x86)\\Microsoft Visual Studio\\Common\\MSDev98 Path

d:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\bin\\amd64;d:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE; PVX_INSTALL_DIR

D:\\proe_GB_ku\\MONLibs\\ TEMP

%USERPROFILE%\\AppData\\Local\\Temp TMP

%USERPROFILE%\\AppData\\Local\\Temp

系统变量

ADSK_3DSMAX_x64_2014

C:\\Program Files\\Autodesk\\3ds Max 2014\\ ANSYS_SYSDIR winx64

ANSYS_SYSDIR32 win32

ANSYS140_DIR

C:\\Program Files\\ANSYS Inc\\v140\\ANSYS ANSYSLIC_DIR

C:\\Program Files\\ANSYS Inc\\Shared Files\\Licensing AWP_LOCALE130 en-us

AWP_ROOT140

C:\\Program Files\\ANSYS Inc\\v140 CADOE_DOCDIR140

C:\\Program Files\\ANSYS Inc\\v140\\CommonFiles\\help\\en-us\\solviewer CADOE_LIBDIR140

C:\\Program Files\\ANSYS Inc\\v140\\CommonFiles\\Language\\en-us CM2014DIR

C:\\Program Files (x86)\\Common Files\\Autodesk Shared\\Materials\\ ComSpec

%SystemRoot%\\system32\\cmd.exe

D:\\Program Files (x86)\\Microsoft Visual Studio\\VC98\\Bin;

C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE; D:\\Program Files (x86)\\Microsoft Visual Studio\\VC98\\Lib;

C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Lib\\x64 DEVMGR_SHOW_DETAILS 1

FP_NO_HOST_CHECK NO

ICEMCFD_ROOT140

C:\\Program Files\\ANSYS Inc\\v140\\icemcfd IDTCOMMON

C:\\Program Files\\Common Files\\IDT ILBDIR

C:\\Program Files (x86)\\Common Files\\Autodesk Shared\\Materials\\ ILMDIR

C:\\Program Files (x86)\\Common Files\\Autodesk Shared\\Materials\\ include

d:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\include;C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Include; lib

d:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\lib\\amd64;C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Lib\\x64 LSTC_LICENSE ANSYS

MONLIBS_DIR

D:\\proe_GB_ku\\MONLibs

NUMBER_OF_PROCESSORS 4 OS

Windows_NT P_SCHEMA

C:\\Program Files\\ANSYS Inc\\v140\\AISOL\\CADIntegration\\Parasolid\\PSchema path

d:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\bin\\amd64;d:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE; PATHEXT

.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

pro_library_dir D:\\proe_GB_ku

PROCESSOR_ARCHITECTURE AMD64

PROCESSOR_IDENTIFIER

Intel64 Family 6 Model 42 Stepping 7, GenuineIntel PROCESSOR_LEVEL 6

PROCESSOR_REVISION 2a07

PSModulePath

%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\Modules\\ TEMP C:\\temp TMP C:\\temp

VS100COMNTOOLS

D:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\Tools\\


fluent udf环境变量的设置(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:一年级下册苏教版数学教案全册

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: