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

Where to save and compiling UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2019, 13:12
Default Where to save and compiling UDF
  #1
New Member
 
Rosie
Join Date: Mar 2019
Posts: 2
Rep Power: 0
ragr is on a distinguished road
Hi,

So I'm trying to follow a tutorial that compiles a udf in fluent, and I've copied out the code in notepad and saved it as a .c file. However, I don't know what the next step is. Where should this be saved? Just in the folder that the main file is in, or within the folders associated. Also, i have written a udf.h into the code but I don't actually have anything on my computer that is called that. I have visual studio downloaded because i know this fixes many people's problems, but has anyone got some step by step instructions on how and where to save my udf file? And how to get a udf.h file and a libudf?

Thank you for any help
ragr is offline   Reply With Quote

Old   April 29, 2019, 02:56
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
https://www.cfd-online.com/Wiki/Flue...UDF.29_Related

put .c file in your working directory
udf.h file is a part of Ansys Fluent software

best regards
AlexanderZ is offline   Reply With Quote

Reply

Tags
compiling issues, fluent, udf


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
[FLUENT] Loading UDF function problems Faggio11 FLUENT 0 August 9, 2016 07:33
something wrong when compiling udf, however the code is correct when interpreting richard ben Fluent UDF and Scheme Programming 7 May 11, 2013 08:36
my UDF can not calculation? happyrabbit FLUENT 0 October 21, 2010 09:59
UDF (write a data file) problem lichun Dong FLUENT 2 July 29, 2005 12:39
DEFINE_DPM_OUTPUT macro UDF HELP Puneet FLUENT 3 November 28, 2003 11:55


All times are GMT -4. The time now is 02:36.