CFD Online Logo CFD Online URL
Home > Forums > FLUENT

somebody help me on use of BOUNDARY_FACE_GEOMETRY

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

LinkBack Thread Tools Display Modes
Old   April 2, 2004, 06:31
Default somebody help me on use of BOUNDARY_FACE_GEOMETRY
Posts: n/a
Sponsored Links
Hi, dear all,

Somebody help me to check the following UDF code and Error message.


/*UDF for fixed flux on the boundary*/

#include "udf.h"

#include "sg.h"

DEFINE_PROFILE(secretion, thread, position)


/* real y;*/

real k=1.8;

face_t f;

real dz;

real A[ND_ND], At;

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

/* Thread *t0=thread->t0;*/

begin_f_loop(f, thread)


cell_t c0 = F_C0(f,thread);

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



y=C_YI(c0, thread, position);

F_PROFILE(f, thread, position)=k*dz+y;

end_f_loop(f, thread)


ERROR message is:

Error: udfbottom.c: line 21(which is the line: BOUNDARY_FACE_GEOMETRY(f,thread,A,ds,es,A_by_es,dr 0): structure reference not implemented

Thank you very much for your attention.


  Reply With Quote
Sponsored Links

Old   April 2, 2004, 14:17
Default Re: somebody help me on use of BOUNDARY_FACE_GEOME
Posts: n/a
can you tell us what you are trying to do with this UDF ?
  Reply With Quote

Old   April 2, 2004, 23:03
Default Re: somebody help me on use of BOUNDARY_FACE_GEOME
Posts: n/a
I am trying to apply a Neumann boundary condition (the value of variable's gradient at the boudary is knwon) to one face of the domain. BOUNDARY_FACE_GEOMETRY was used to get the distance beween the cell centroid and cell boudary face.

  Reply With Quote


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

Sponsored Links

All times are GMT -4. The time now is 22:35.