CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   New to writing UDF (http://www.cfd-online.com/Forums/fluent/44882-new-writing-udf.html)

Sandilya May 31, 2007 12:03

New to writing UDF
 
Hi I am writing a UDF to intialize the particle velocity of particle injection in my DPM model. I have looked up macros but not able to get the right UDF. When I interpret the UDF into the prgrm the compiler says :

Error: C:\---\prtcl_init_condn.c: line 14: structure reference not implemented

Can anyone tell me what this means!!! Also what is the basic structure of UDF to define its velocity? I have seen an example in manual but the example is of "surface reaction" and I could not understand it to apply to my cxase.

Thank you

Sandilya Garimella



All times are GMT -4. The time now is 19:39.