|
[Sponsors] |
April 2, 2014, 22:24 |
Location of the udf.h File
|
#1 |
Senior Member
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14 |
Section 5.1.1. of user manual says that "before you compile your source file, the udf.h header file will need to be accessible in your path, or saved locally within your working folder." How do I do that -- make it accessible in my path -- under Linux? Say, I have these files in /somewhere/ansys/v145/fluent/fluent14.5.0/src/udf.h
|
|
April 3, 2014, 02:49 |
|
#2 |
New Member
Nick
Join Date: Feb 2014
Posts: 5
Rep Power: 12 |
Hi,
In my case the header files are located here: C:\Program Files\ANSYS Inc\v140\fluent\fluent14.0.0\src I use Windows so i am unsure about Linux. In my case Fluent found the header files without problem, i think by 'path' it means that the file will be in the fluent directory. I would suggest attempting to compile and if you have issues, move the required header files to your working directory. Hope this helps Nick |
|
June 15, 2018, 06:08 |
|
#3 |
Member
Anomymous
Join Date: May 2018
Posts: 31
Rep Power: 7 |
Hi all,
do the folder as you(nb92) have mentioned shows the udf.h file after loading, because in my case it is not showing in that folder, and I could not find the .h file of my source file. Thank you |
|
June 15, 2018, 06:28 |
|
#4 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
The udf.h file should be located at .../src/udf/udf.h. Although when writing your UDF, this file is included with:
Code:
#include "udf.h" |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
patch error OF v2.2.2 mac | hewei | OpenFOAM Installation | 4 | November 30, 2013 16:55 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 10:57 |
2.0.x on Mac OSX | niklas | OpenFOAM Installation | 74 | March 28, 2012 16:46 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 11:46 |