# somebody help me on use of BOUNDARY_FACE_GEOMETRY

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

 April 2, 2004, 06:31 somebody help me on use of BOUNDARY_FACE_GEOMETRY #1 Steven Guest   Posts: n/a 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); dz=ds; /*dz=0.00001;*/ 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. Regards Steven

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

 April 2, 2004, 23:03 Re: somebody help me on use of BOUNDARY_FACE_GEOME #3 Steven Guest   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.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

All times are GMT -4. The time now is 00:09.