|
[Sponsors] |
Urgent, Urgent, a UDF problem, PLEASE HELP!!! |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Guest
Posts: n/a
|
Hi all,
I have worked with UDFs for some months. I passed a lot of problem in dealing with UDFs, but I encounter with a problem that it makes me realy confused. My simplified UDF is as follows: DEFINE_PROFILE(film_temperature, t, i) { int F; real T; face_t f; begin_f_loop(f, t) { F = f; F_PROFILE(f, t, i) = 100 + F; Message0("F:%d\n", F); T = F_T(f,t); Message0("face Temp: %f\n", T); } end_f_loop(f, t) } I hook this UDF on a wall as a temperature B.C., but it doesn't work fine. Could anyone tell me how can I correct it? Thanks in advance, Max |
|
![]() |
![]() |
![]() |
#2 |
New Member
wanghongtao
Join Date: Sep 2010
Posts: 2
Rep Power: 0 ![]() |
F = f;is error ,you can F_CENTROID(x,t) ; F=x[ ]
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF Problem | ozgur | Fluent UDF and Scheme Programming | 18 | January 17, 2016 14:40 |
Pressure profile UDF for unsteady-state problem? | Mohsen Keshavarzian | FLUENT | 2 | August 20, 2008 04:22 |
parallel UDF problem | kerem | FLUENT | 2 | June 20, 2006 06:56 |
Switch problem! using 2 custom udf laws at the same time | HP | FLUENT | 0 | September 15, 2004 09:48 |
UDF variables F1, y / problem with UDF | Fabian | FLUENT | 6 | June 2, 2003 10:22 |