|
[Sponsors] |
looking for instructions on how to compile an udf in windows OS |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 21, 2015, 05:04 |
looking for instructions on how to compile an udf in windows OS
|
#1 |
New Member
Srinivasa Rao M
Join Date: Sep 2014
Location: Hyderabad
Posts: 10
Rep Power: 12 |
I used to compile udf in Linux machine.
If any one knows how to compile udf in windows operating system please guide me in doing so |
|
May 22, 2015, 07:25 |
|
#2 |
Member
Jim
Join Date: May 2015
Posts: 47
Rep Power: 11 |
Hi, I'm new here so, please bear with me
Compiling is a really easy first step to using UDFs in Fluent. I highly reccomend you log on to the Ansys customer portal and download the UDF course materials. This includes a series of tutorials that introduce you to how to apply UDFs. The first step to compiling a UDF is to make sure your .c file (your UDF code) is in the same folder as your fluent case file. in the GUI you then go to Define->user defined-> functions -> compiled. Add the file, click build, then click load. That's all there is to compiling. but once compiled, you then have to hook the UDF in order to let fluent know where you want to use it in the calculations. hooking the UDF is again trivial, but highly dependent on the UDF - hooking instructions are included in the Fluent UDF Manual for each UDF function. |
|
May 22, 2015, 11:00 |
|
#3 |
Senior Member
B_Kia
Join Date: May 2014
Location: Ir
Posts: 123
Rep Power: 12 |
hi,
you should first install micro soft visual studio , then call fluent from its cross tools command prompt x64 if you are working with a 64bit version of fluent. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compiling UDF in windows 64 bit | amir2920 | Fluent UDF and Scheme Programming | 1 | April 4, 2019 13:00 |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
udf windows 64 bit | somasundaram | Fluent UDF and Scheme Programming | 0 | October 4, 2011 00:37 |
The different UDF rules between linux system and windows system | TURNER GE | Main CFD Forum | 0 | September 6, 2011 06:13 |
Compile UDF with a C++ compiler | Luca | FLUENT | 7 | December 27, 2005 00:05 |