CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Error "structure reference not implemented" (

HANA November 29, 2008 03:45

Error "structure reference not implemented"
Hello, I encountered with this error and I apprecitae if somebody help.I think something is wrong with using: BOUNDARY_FACE_GEOMETRY(f,thread,A,ds,es,A_by_es,dr 0);



#define R 0.3

#define H 0.3

#define thermalk 1.4

real Tain;

real A[ND_ND];

real dr0[ND_ND],es[ND_ND],ds,A_by_es;

real Vol=((2./3.)*R+H)*pi*pow(R,2);

real HeatFlux;

Thread *t0;

cell_t c0;

cell_t c;

face_t f;


{ t0 = THREAD_T0(thread);


BOUNDARY_FACE_GEOMETRY(f,thread,A,ds,es,A_by_es,dr 0);

HeatFlux +=thermalk*(A_by_es*(F_T(f,thread)-C_T(c0,tc))/ds)+thermalk*(NV_DOT(C_T_G(c0,tc),A)-NV_DOT(C_T_G(c0,tc),es)*A_by_es);






HANA November 29, 2008 03:53

Re: Error "structure reference not implemented"
I added #include "sg.h" it doesn't wotk .

I am using interpreted one,PLZ help.

max December 1, 2008 08:30

Re: Error "structure reference not implemented"
Hello HANA,

some advanced Macros like BOUNDARY_FACE_GEOMETRY require that your udf is compiled and won't work in interpreted mode.

cheers Max

HANA December 2, 2008 02:50

Re: Error "structure reference not implemented"
Thanks Max, I think you are right! I will check it.

All times are GMT -4. The time now is 02:52.