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

Error "structure reference not implemented"

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By max

Reply
 
LinkBack Thread Tools Search this Thread 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

Oula likes this.
  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


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 06:32.