CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   how to use BOUDARY_FACE_GEOMETRY? (http://www.cfd-online.com/Forums/fluent/32834-how-use-boudary_face_geometry.html)

Steven January 12, 2004 03:05

how to use BOUDARY_FACE_GEOMETRY?
 
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

stephen e January 16, 2004 07:34

Re: how to use BOUDARY_FACE_GEOMETRY?
 
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

Steven January 16, 2004 07:39

Re: how to use BOUDARY_FACE_GEOMETRY?
 
Thanks a lot, I will try. Best regards. Steven S

legendyxg December 12, 2012 04:05

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.


All times are GMT -4. The time now is 05:47.