CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

udf in fluent

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

LinkBack Thread Tools Display Modes
Old   September 3, 2013, 03:49
Default udf in fluent
New Member
tran trung
Join Date: Aug 2013
Posts: 23
Rep Power: 6
tranvantrung551987 is on a distinguished road
hello everyone
I'm studing about function udf in the softwave fluent. Do you know with this chunk code ?. Can you interpret for me all line.
thank you very much !
this chunk code
real hy_get_face_force(int tid1)
Thread *t1;
face_t f1;
real force1;
real NV_VEC (A1);

t1 = Lookup_Thread(root_domain, tid1);
force = 0.0;
begin_f_loop (f1, t1)
F_AREA (A1, f1, t1);
force1 += F_P (f1, t1) * NV_MAG (A1);
end_f_loop (f1, t1)

return force1;
tranvantrung551987 is offline   Reply With Quote

Old   September 4, 2013, 05:31
Centurion2011's Avatar
Join Date: Jul 2011
Posts: 74
Blog Entries: 1
Rep Power: 12
Centurion2011 will become famous soon enough
try here
Centurion2011 is offline   Reply With Quote


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
fluent udf, saving data in udf mohsen zendehbad Fluent UDF and Scheme Programming 15 June 13, 2017 23:23
Transient pressure UDF for parallel fluent droberts Fluent UDF and Scheme Programming 5 October 11, 2010 04:13
Using Fluent with a UDF frm a remote m/c aarti FLUENT 2 September 11, 2008 19:53
UDF problem caused by various version of Fluent Yurong FLUENT 3 January 15, 2006 11:57
Can somebody send me a Fluent 6 UDF manual?? KKLAU FLUENT 4 April 14, 2004 16:37

All times are GMT -4. The time now is 01:59.