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

using the result of one solved UDF in another UDF

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

Reply
 
LinkBack Thread Tools 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: 4
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: 6
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

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
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 05:30
UDF compilation error solved laurentb FLUENT 1 November 10, 2011 05:46
UDF programming fullmonty FLUENT 5 June 30, 2011 02:40
UDF using c_face_loop(c,t,i) frederic FLUENT 2 April 1, 2000 22:42


All times are GMT -4. The time now is 14:55.