CFD Online Discussion Forums

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

Greg Perkins November 19, 2000 00: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 08:58.