# how to use BOUDARY_FACE_GEOMETRY?

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

 January 12, 2004, 04:05 how to use BOUDARY_FACE_GEOMETRY? #1 Steven Guest   Posts: n/a somebody know to how to use BOUNDARY_FACE_GEOMETRY? I want to get the ds, that is the distance betwwen the cell centroid and the face centriod. thanks a lot. steven

 January 16, 2004, 08:34 Re: how to use BOUDARY_FACE_GEOMETRY? #2 stephen e Guest   Posts: n/a The Boundary_face_geo.... is a call to a functions like any another. All you do is Define the types of the variables eg. float A[ND_ND) /*A,es and dr0 are vectors, the rest are normal floats*/ /*Call the Function and give it's variables*/ BOUNDARY_FACE_GEOMETRY(f,thread,A,ds,es,A_by_es,dr 0); /*Then you can access the variables A,ds,es,A_by_es,dr0*/ i.e. float = ds; Ensure that the right face is accessed!! (thats the tricky part) Regards Stephen E

 January 16, 2004, 08:39 Re: how to use BOUDARY_FACE_GEOMETRY? #3 Steven Guest   Posts: n/a Thanks a lot, I will try. Best regards. Steven S

December 12, 2012, 05:05
#4
New Member

Yang Xiaoguang
Join Date: Apr 2009
Posts: 24
Rep Power: 8
Quote:
 Originally Posted by stephen e ;110110 The Boundary_face_geo.... is a call to a functions like any another. All you do is Define the types of the variables eg. float A[ND_ND) /*A,es and dr0 are vectors, the rest are normal floats*/ /*Call the Function and give it's variables*/ BOUNDARY_FACE_GEOMETRY(f,thread,A,ds,es,A_by_es,dr 0); /*Then you can access the variables A,ds,es,A_by_es,dr0*/ i.e. float = ds; Ensure that the right face is accessed!! (thats the tricky part) Regards Stephen E
Hi Stephen, could you please tell me the meaing of each variable inside the brackets? i.e. A, ds, es, A_by_es, dro.. I couldn't find them in the UDF mannuals.

Thanks a lot.

 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 17:23.