|
[Sponsors] |
A problem about 'printf' and 'Message' in UDF. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 22, 2010, 21:48 |
A problem about 'printf' and 'Message' in UDF.
|
#1 |
New Member
Chao Li
Join Date: Mar 2010
Location: Shanghai.PRC
Posts: 9
Rep Power: 16 |
Hi,
I'm trying to write a UDF. But there is a tiny and boring problem now. To any UDF(whatever it is, even an example in Fluent UDF guidebook): 1. It CAN be compiled correctly. (with NO error & warning) 2. It CAN be hooked correctly. 3. It DOES work. (I tested this by changing the UDF code) BUT, whatever I used 'printf' or 'Message', it just CAN'T print any message in FLUENT console. I tested the UDF in other's computer, it worked and give the message in FLUENT console. I even copy that guy's DLL & LIB files to my machine to compile the UDF. It worked, but still can't print anything. It's really a tiny problem. But it is important for debugging. I'm so confused. Thanks a lot!! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF | Ash | FLUENT | 4 | September 17, 2007 16:38 |
UDF problem | Dimitris Fidaros | FLUENT | 3 | June 20, 2007 20:59 |
UDF moment ( torque ) computation | aja | FLUENT | 1 | March 28, 2007 16:55 |