CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   using the result of one solved UDF in another UDF (https://www.cfd-online.com/Forums/fluent-udf/118416-using-result-one-solved-udf-another-udf.html)

nikiii May 27, 2013 10:54

using the result of one solved UDF in another UDF
 
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

JimKnopf May 29, 2013 09:43

Hi,

if you have fields you should use User Defined Memories

otherwise you could use global variables , although they are evil

Greetz
Jim


All times are GMT -4. The time now is 23:17.