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

Two UDF's

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 3, 2003, 10:07
Default Two UDF's
  #1
Dimitrios
Guest
 
Posts: n/a
Hi there ladies and gents....

I have a problem here....I'm planning to use two UDF's, one for variable mass flux and one for dynamic meshing. How do I use the results from UDF1 to UDF2?
  Reply With Quote

Old   December 3, 2003, 18:02
Default Re: Two UDF's
  #2
Ajay Rao
Guest
 
Posts: n/a
You could have everything in one C file. Declare varaibles as GLOBAL varaibles so that all your macros/ functions can "see" them. -Ajay
  Reply With Quote

Old   December 4, 2003, 03:38
Default Re: Two UDF's
  #3
Dimitrios
Guest
 
Posts: n/a
That sounds like a good idea....
  Reply With Quote

Old   December 4, 2003, 05:34
Default Re: Two UDF's
  #4
Andrew Garrard
Guest
 
Posts: n/a
That is what I would have suggested, althogh the alternative is to dump variables in a UMD and these can be passed between c files
  Reply With Quote

Old   December 4, 2003, 06:09
Default Re: Two UDF's
  #5
emma
Guest
 
Posts: n/a
But what does "UMD" mean?

Regards,

emma
  Reply With Quote

Old   December 4, 2003, 06:14
Default Re: Two UDF's
  #6
Andrew Garrard
Guest
 
Posts: n/a
Sorry - That I meant UDM, user defined memory, that was a typo.

here is some info: http://www.fluentusers.com/fluent61/...e107.htm#23772
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem using property udfs in parallel mode EllenW Fluent UDF and Scheme Programming 5 July 10, 2009 04:31
problem using property udfs in parallel mode EllenW FLUENT 0 June 23, 2009 17:18
Unsteady and Flux UDFs for UDSs tom FLUENT 0 February 13, 2009 11:27
Multiple UDFs Graeme FLUENT 4 August 28, 2004 15:47
Experimental Repository for UDFs, Journal Files and Scheme Scripts Jonas Larsson FLUENT 0 March 5, 2000 16:36


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