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

all.c of UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2001, 15:07
Default all.c of UDF
  #1
sean
Guest
 
Posts: n/a
I'm defining UDFs. I want to make use of more than one interpreted UDF in a simulation. The help file tells me that they can be concatenated iogether into a single C file, all.c, for example. The concatented function can be compiled in the interpreted UDFs panel. Is there some one who know how to concatenate them? Need I do it in Turbo C?

thanks a lot sean
  Reply With Quote

Old   July 3, 2001, 19:33
Default Re: all.c of UDF
  #2
Greg Perkins
Guest
 
Posts: n/a
in your main c file use

#include "file1.c" #include "file2.c"

etc

to read in additional source files. Its very simple

Greg
  Reply With Quote

Reply


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
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 07:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 04:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01


All times are GMT -4. The time now is 01:42.