compile UDF in journal file
Anyone knows how to compile a UDF (build the UDF library) in a journal file?
I know I can use GUI functions if there is a GUI, but I submit the job to HPC where fluent runs without a GUI, so the GUI functions do NOT work. In the text-command-list documentation, I can only find the command to open a user-defined function library, but I need the command to build the library. Hope to hear from you guys soon! Thanks in advance! |
Try:
Code:
/define/user-defined/compiled-functions compile yes |
excellent! Thanks a lot!
|
it is not good variant, fluent will try to load more functions
correct variant: Code:
/define/user-defined/compiled-functions compile libudf yes contactAngle.c etc.c header.h "" "" |
Hello
I am not good with coding. I have 3 questions. Kindly help. 1) Is the below code a correct description. I mean I enter in separate lines? /define/user-defined/compiled-functions compile libudf yes drag.c udf.h 2) Is it not necessary to read the case file initially in the coding? 3) /define/user-defined/compiled-functions load libudf Should the above line of code be entered in a separate file or in the same file as the first line of code? |
1. put in one line ans see what happens
2. you can compile UDF from any case it doesn't matter if your goal is to compile UDF only you may load case before or after, doesn't matter 3. you may put it in the same file below other code if you've loaded your case file already |
thank you. I'll try it again.
|
All times are GMT -4. The time now is 12:21. |