|
[Sponsors] |
November 29, 2008, 03:45 |
Error "structure reference not implemented"
|
#1 |
Guest
Posts: n/a
|
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_PROFILE(Tin,thread,innersurf) { #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; begin_f_loop(f,thread) { t0 = THREAD_T0(thread); c0=F_C0(f,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); Tain=(HeatFlux/(1.004*1000*1.169*Vol)); F_PROFILE(f,thread,innersurf)=Tain; } end_f_loop(f,thread) } |
|
November 29, 2008, 03:53 |
Re: Error "structure reference not implemented"
|
#2 |
Guest
Posts: n/a
|
I added #include "sg.h" it doesn't wotk .
I am using interpreted one,PLZ help. |
|
December 1, 2008, 08:30 |
Re: Error "structure reference not implemented"
|
#3 |
Guest
Posts: n/a
|
Hello HANA,
some advanced Macros like BOUNDARY_FACE_GEOMETRY require that your udf is compiled and won't work in interpreted mode. cheers Max |
|
December 2, 2008, 02:50 |
Re: Error "structure reference not implemented"
|
#4 |
Guest
Posts: n/a
|
Thanks Max, I think you are right! I will check it.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where is gSum implemented | cosimobianchini | OpenFOAM Running, Solving & CFD | 2 | June 7, 2022 15:27 |
GammaContactAngle not implemented | coastal593 | OpenFOAM Running, Solving & CFD | 5 | November 9, 2010 06:21 |
Compile error undefined reference to | braveandi | OpenFOAM Running, Solving & CFD | 3 | March 3, 2008 04:49 |
Reference for Error messages | Robert Fishler | FLUENT | 0 | December 20, 2004 13:42 |
structure reference -FLUID_THREAD_P() | jd | FLUENT | 0 | November 26, 2004 18:43 |