CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

looking for instructions on how to compile an udf in windows OS

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2015, 05:04
Default 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
Srinivasa Rao is on a distinguished road
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
Srinivasa Rao is offline   Reply With Quote

Old   May 22, 2015, 07:25
Default
  #2
Member
 
Jim
Join Date: May 2015
Posts: 47
Rep Power: 11
CFDYourself is on a distinguished road
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.
CFDYourself is offline   Reply With Quote

Old   May 22, 2015, 11:00
Default
  #3
Senior Member
 
B_Kia
Join Date: May 2014
Location: Ir
Posts: 123
Rep Power: 12
HyperNova is on a distinguished road
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.
HyperNova 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
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


All times are GMT -4. The time now is 19:04.