CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Where to save and compiling UDF (https://www.cfd-online.com/Forums/fluent-udf/217042-where-save-compiling-udf.html)

ragr April 28, 2019 12:12

Where to save and compiling UDF
 
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

AlexanderZ April 29, 2019 01:56

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


All times are GMT -4. The time now is 10:29.