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

UDF with precompiled object using fluent's built-in compiler

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2022, 17:29
Default UDF with precompiled object using fluent's built-in compiler
  #1
New Member
 
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 10
Benzouz is on a distinguished road
Hey,

I have a udf that calls functions which I have compiled into a file called functions.o, and with a header called functions.h.

I followed the instructions from the fluent udf manual (for windows) detailing how to setup the libudf directory and adapting the user_nt and makefile_nt files.

But then I need to use the fluent's built in compiler because I can't use nmake or scons since I don't have visual studio or clang. So I use the TUI to compile my files but I'm pretty sure that it ignores my user_nt and makefile files since it tells me that the function I'm calling in my udf is not defined (lld-link: error: undefined symbol). Also, I'm not seeing any mention of the functions.o file in the console when I do the build.

I was wondering if any of you worked with precompiled objects and the fluent's built-in compiler and if you had any success.

And by the way, does it matter whether the object is called .o or .obj?

Thanks for your help!

Benjamin
Benzouz is offline   Reply With Quote

Old   August 22, 2022, 02:20
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
never used build-in compiler, however, from common sense
you need make file to link percompiled objects, so I believe you need stand alone compiler to do that
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply

Tags
fluent - udf, precompile, tui


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
How to implant anisotropic electrical conductivity UDF inside fluent's PEMFC module brucelqs Fluent UDF and Scheme Programming 0 June 24, 2022 03:41
[B]the compiler keep on compile previous udf without updating new udf?[/B] fruitkiwi Fluent UDF and Scheme Programming 5 July 24, 2014 19:38
Language for Fluent 6.3.26 UDF Compiler ?? Abhya Fluent UDF and Scheme Programming 1 October 31, 2012 01:30
UDF compiler help sosososo1114 Fluent UDF and Scheme Programming 9 January 24, 2011 05:02
C++ Compiler for UDF Dmitriy Makarov FLUENT 1 December 12, 2000 02:41


All times are GMT -4. The time now is 05:11.