How to Include Exponential in UDF
Hi i am writing an UDF for heat flux which includes an equation, in that equation i have exponential factor, and i have wrote that UDF, while compiling that UDF its showing an error in exponential factor, so can any body tell me how to solve this probelm.

Re: How to Include Exponential in UDF
exp(number)

Re: How to Include Exponential in UDF
I think default fluent compiler will not solve exponential funtion..for that you may have to install visual c+ +...
or instead of going for exponetial function..u can give the 2.718^(some corelation) 
Re: How to Include Exponential in UDF
you can use the function (double) exp(double x) remeber x is defined as a real type in udf

Re: How to Include Exponential in UDF
Hi CDE, Jay, and Wang thanks for ur attention, i am not getting clear picture, so pls can u tell me in detail.
My equation wil be in the form of e^2x, so how to give this as input to fluent compiler.. Thanks. 
Re: How to Include Exponential in UDF
exp(2.0*x)

All times are GMT 4. The time now is 18:45. 