CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   a problem of property UDF!I need help (

hw0076 August 29, 2012 09:50

a problem of property UDF!I need help
Nice to meet you!
I have got a problem about material properties.I have writen a UDF for thermal conduction and viscosity,and i can compile and load the udf,there is no error,but when i edit the property in the material panel,i choose the option "user-defined",and i can see the udf,the problem is that i can't choose it.For check the problem,I write a simple code instead my code,but it has the same problem,I don't know whether my software has problem.
my simple code is below:
#include "udf.h"
return 10.0;
the same problem i put in the image.
Thanks for everyone,i need your help eagerly,Waiting for reply.

hw0076 August 29, 2012 10:06

i don't know how to upload picture,my picture all can't be displayed.

hw0076 August 29, 2012 22:28

Additional,there is another error I think maybe caused by same reason。That is when I compiled and loaded the simple test function above,I choose “define”-"materials"-"user-defined database"-input "1" for database name-ok-new-input "1" for material name-types choose "fluid"-choose one of the available properties,for example,viscosity-then choose viscosity on the right-edit-choose the available properties for "user-defined"-edit properties choose "user-defined"-edit,then,I can't open the "edit" panel,and I got a error notice "Error: FLUENT received a fatal signal (SEGMENTATION VIOLATION).
Error Object: ()".
That's why?
I have been confused for days,I really want the solution.

All times are GMT -4. The time now is 18:38.