CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   about complile UDF problem. (https://www.cfd-online.com/Forums/fluent/31296-about-complile-udf-problem.html)

Devy April 16, 2003 00:00

about complile UDF problem.
 
Hello, I also I have another problem.When I compile udfcombmodel.c,I find erro messages.it's said that udfcombmodel.cError:udfcombmodel.c:line 12:structure reference not implemented.In my code the line 12 is "cell_t c = RP_CELL(&p->cCell);" Why do this happen?How can I solve this problem?

regards

Devy

Thierry April 16, 2003 04:02

Re: about complile UDF problem.
 
Hello ! Did you put '#include "udf.h"' in your UDF header ?

Thierry.

Devy April 16, 2003 04:35

Re: about complile UDF problem.
 
Hello,

Thank you fo your reply.

I put#include "udf.h"and #include "surf.h" in your UDF header.

Guevara April 16, 2003 10:25

Re: about complile UDF problem.
 
hi devy. I think you should use complied, not interpeted.


Devy April 17, 2003 10:30

Re: about complile UDF problem.
 
Yes

I also tried ,but I failed.

Would you like to give me some advice

Guevara April 18, 2003 07:43

Re: about complile UDF problem.
 
You have to use fluent version 6.0.20 or 6.1.XX and C++6.0.

Devy April 18, 2003 09:59

Re: about complile UDF problem.
 
Thank you for your reply I still don't sove this problem.

Devy April 18, 2003 10:23

Re: about complile UDF problem.
 
When I tried RP_THREAD(&p->cCell) and THREAD_MATERIAL(t,0),I have the same error message "structure reference not implemented".

Would you like to give me some advice


All times are GMT -4. The time now is 20:23.