CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   UDS - Calculating Face Normal (

Greg Perkins November 19, 2000 01:37

UDS - Calculating Face Normal

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,


Greg Perkins.

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