CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

Method to set environment variables for linking ANSYS Fluent 19.1 and visual studio 1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2019, 07:17
Default Method to set environment variables for linking ANSYS Fluent 19.1 and visual studio 1
  #1
New Member
 
Ren Yang
Join Date: Nov 2018
Posts: 1
Rep Power: 0
renrenxiong is on a distinguished road
I have solved the 'nmake' problem for UDFs in ANSYS Fluent.

The main is to set the environment variables for linking ANSYS Fluent and Visual studio 2012 as follows.

After installing ANSYS Fluent and Visual studio completely, three important environment variables need to add including INCLUDE, LIB and Path.

Firstly, make sure Microsoft SDKs and Microsoft Visual Studio 12.0 installed in the computer.

Then, add three variables in System variables.

(1) INCLUDE

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include

(2) LIB

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib\amd64
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\x64

(3) Path

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE
renrenxiong is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
does Hyperthreading affect the application of UDF? SJSW Fluent UDF and Scheme Programming 11 October 10, 2018 22:28
The udf.h headers are unable to open- in VISUAL STUDIO 13 sanjeetlimbu Fluent UDF and Scheme Programming 4 May 2, 2016 05:38
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25


All times are GMT -4. The time now is 07:13.