# How to Include Exponential in UDF

 Register Blogs Members List Search Today's Posts Mark Forums Read

 September 10, 2008, 23:25 How to Include Exponential in UDF #1 RL Guest   Posts: n/a Sponsored Links 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.

 September 11, 2008, 00:28 Re: How to Include Exponential in UDF #2 CDE Guest   Posts: n/a exp(number)

 September 11, 2008, 00:29 Re: How to Include Exponential in UDF #3 jay Guest   Posts: n/a 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)

 September 11, 2008, 01:51 Re: How to Include Exponential in UDF #4 wang Guest   Posts: n/a you can use the function (double) exp(double x) remeber x is defined as a real type in udf

 September 11, 2008, 02:04 Re: How to Include Exponential in UDF #5 RL Guest   Posts: n/a 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.

 September 11, 2008, 17:51 Re: How to Include Exponential in UDF #6 CDE Guest   Posts: n/a exp(2.0*x)

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Carl FLUENT 0 February 2, 2009 00:01 ssixr FLUENT 4 September 6, 2008 00:25 pour FLUENT 0 July 4, 2008 11:11 lily FLUENT 1 March 14, 2006 03:19 Julie FLUENT 0 August 20, 2002 02:54