CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDS - Calculating Face Normal (http://www.cfd-online.com/Forums/fluent/28029-uds-calculating-face-normal.html)

Greg Perkins November 19, 2000 01:37

UDS - Calculating Face Normal
 
Hi,

I'd like to know how to calculate the (unit) normal to a face using a Fluent macro/function from within a v5.4 user defined function.

I'd like to do this for the face f, passed by Fluent to the function DEFINE_UDS_FLUX(uds_flux,f,thread,i), so as to calculate the flux as a function of the face's orientation.

Any help much appreciated,

Thanks

Greg Perkins.



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