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

using the result of one solved UDF in another UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2013, 10:54
Post using the result of one solved UDF in another UDF
  #1
New Member
 
neda rahimi
Join Date: May 2013
Posts: 13
Rep Power: 12
nikiii is on a distinguished road
Hi,
I solved one UDF previously for the vector v2 and v3. Now I want to write another UDF and use the value of v2 and v3 in it.
How can I do this? After I compile my UDF, these above errors appeared!

my_uds_flux.obj : error LNK2019: unresolved external symbol _C_v3 referenced in function _my_uds_flux
my_uds_flux.obj : error LNK2019: unresolved external symbol _C_v2 referenced in function _my_uds_flux
nikiii is offline   Reply With Quote

Old   May 29, 2013, 09:43
Default
  #2
Member
 
Jim Knopf
Join Date: Dec 2010
Posts: 60
Rep Power: 15
JimKnopf is on a distinguished road
Hi,

if you have fields you should use User Defined Memories

otherwise you could use global variables , although they are evil

Greetz
Jim
JimKnopf is offline   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
UDF using c_face_loop(c,t,i) frederic FLUENT 3 January 16, 2017 23:17
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 06:12
Simulation with UDF for species mass fraction and velocity profile virgy Fluent UDF and Scheme Programming 8 February 7, 2012 04:30
UDF compilation error solved laurentb FLUENT 1 November 10, 2011 04:46
UDF programming fullmonty FLUENT 5 June 30, 2011 02:40


All times are GMT -4. The time now is 15:53.