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

to get values from udf

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By pakk

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 3, 2014, 08:59
Default to get values from udf
  #1
ozy
New Member
 
oguzayin
Join Date: Jan 2014
Location: France
Posts: 12
Rep Power: 12
ozy is on a distinguished road
Hi all,

I have a problem to getting the results(output file) from udf. Can anybody help me please . My udf is as follows ,

DEFINE_UDS_FLUX(particle_flux, f, t, i)
{
real NV_VEC(vs_vec), NV_VEC(A);
real settling_flux;
real x[ND_ND];

NV_D(vs_vec, = , vs_x, vs_y, vs_z);

F_AREA(A, f, t);

if (!BOUNDARY_FACE_THREAD_P(t))

settling_flux = NV_DOT(vs_vec, A);

else

settling_flux = 0.0;

return (F_FLUX(f, t) / rho + settling_flux);
}


For example how can i get the output value of the " vs_vec "


thanks in advance
ozy is offline   Reply With Quote

 


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 Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 00:53
return values from udf garvitgoel FLUENT 4 June 16, 2014 13:14
Availability of previous time level values in UDF ranga sudarsan FLUENT 0 September 1, 2008 09:17
Tablular values as input to UDF BS FLUENT 0 March 30, 2008 18:59
Accessing node values using a UDF Nico FLUENT 2 December 20, 2007 02:50


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