CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Error "structure reference not implemented"

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 29, 2008, 03:45
Default Error "structure reference not implemented"
  #1
HANA
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)

}
  Reply With Quote

Old   November 29, 2008, 03:53
Default Re: Error "structure reference not implemented"
  #2
HANA
Guest
 
Posts: n/a
I added #include "sg.h" it doesn't wotk .

I am using interpreted one,PLZ help.
  Reply With Quote

Old   December 1, 2008, 08:30
Default Re: Error "structure reference not implemented"
  #3
max
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

  Reply With Quote

Old   December 2, 2008, 02:50
Default Re: Error "structure reference not implemented"
  #4
HANA
Guest
 
Posts: n/a
Thanks Max, I think you are right! I will check it.
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Where is gSum implemented cosimobianchini OpenFOAM Running, Solving & CFD 0 September 19, 2007 12:35
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


All times are GMT -4. The time now is 11:51.