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

how to use BOUDARY_FACE_GEOMETRY?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 12, 2004, 04:05
Default 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
  Reply With Quote

Old   January 16, 2004, 08:34
Default 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
  Reply With Quote

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

Old   December 12, 2012, 05:05
Default
  #4
New Member
 
Yang Xiaoguang
Join Date: Apr 2009
Posts: 24
Rep Power: 8
legendyxg is on a distinguished road
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.
legendyxg is offline   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



All times are GMT -4. The time now is 17:23.