CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   printing on the screen with UDFs (http://www.cfd-online.com/Forums/fluent/28366-printing-screen-udfs.html)

Kamal March 27, 2001 13:40

printing on the screen with UDFs
 
Hi everybody! for my UDF i use several "printf()" for debugging. when my UDF is interpreted it work. but, when i make "*.dll" i see nothing. how can i print things to screen. is there another way to debug an UDF? I work in (Pc win nt4, ntx86) I have serious problems with UDF when the code become more long. is this the opinion of everybody? thanks and excuse my poor english

Greg Perkins March 27, 2001 21:03

Re: printing on the screen with UDFs
 
on unix the following works:

cxprintf(stdout,"xxxxxx")

and you can use the normal printf symbols etc. Not sure if it works on NT

Greg


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