|
[Sponsors] |
September 3, 2013, 04:49 |
udf in fluent
|
#1 |
New Member
tran trung
Join Date: Aug 2013
Posts: 23
Rep Power: 13 |
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; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fluent udf, saving data in udf | mohsen zendehbad | Fluent UDF and Scheme Programming | 15 | June 14, 2017 00:23 |
Transient pressure UDF for parallel fluent | droberts | Fluent UDF and Scheme Programming | 5 | October 11, 2010 05:13 |
Using Fluent with a UDF frm a remote m/c | aarti | FLUENT | 2 | September 11, 2008 20: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 17:37 |