CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Implement Exponential Integral

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2008, 08:28
Default Hi, I'm wondering anyone kn
  #1
Member
 
Erik Arlemark
Join Date: Mar 2009
Location: Eindhoven, Netherlands
Posts: 47
Rep Power: 17
Erik is on a distinguished road
Hi,

I'm wondering anyone knows if the Exponential integral function is implemented in OpenFOAM. If not, maybe someone can give me a hint of how to implement it in my solver myself?

Thanks
/Erik
Erik is offline   Reply With Quote

Old   January 24, 2008, 16:04
Default hi, isnt there are expansio
  #2
Senior Member
 
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 17
stephan is on a distinguished road
hi,

isnt there are expansion of this integral (at least for special arguments like pure complex or real..)??
just wondering
stephan
stephan is offline   Reply With Quote

Old   January 25, 2008, 07:11
Default Hi Erik, I don't know if it
  #3
New Member
 
George Kokotis
Join Date: Mar 2009
Posts: 9
Rep Power: 17
gkokgr is on a distinguished road
Hi Erik,

I don't know if it would be of any use to you, but I have used in the past some asymptotic methods to approximate exponential integrals. Relevant methods are described in the following book:

Title: Asymptotic Expansions
Author: A. Erdelyi
Publisher: Dover Publications (June 1, 1956)
ISBN-10: 0486603180
ISBN-13: 978-0486603186

At that time (1993), direct calculation was numerically heavy, involving (if I am not mistaken) reformulation of the integrand in terms of Bessel functions and direct numerical integration...
On what field are you working?
gkokgr is offline   Reply With Quote

Old   January 25, 2008, 07:44
Default Hi George, Thank you very m
  #4
Member
 
Erik Arlemark
Join Date: Mar 2009
Location: Eindhoven, Netherlands
Posts: 47
Rep Power: 17
Erik is on a distinguished road
Hi George,

Thank you very much for the reference!

Im working on micro gas flows and I want to incorporate a geometry dependent viscosity (varying with wall-distance) based on viscosities dependence on the mean free path (MFP) (which with physical reasoning also should vary with wall-distance).

The thing is:
An established expression of this effective mean free path is formulated using the exponential integral (Ei).

I have derived a similar and approximate formulation of the geometry dependent MFP which only uses functions known to OpenFOAM.

So if the Ei function isn't defined I'm actually happy because it means an numerical advantage for my model (even if approximate).

Thank you
/Erik
Erik is offline   Reply With Quote

Old   July 2, 2010, 16:13
Default
  #5
New Member
 
Join Date: Jul 2010
Posts: 3
Rep Power: 16
ingrid is on a distinguished road
Hi,

I currently have the same problem. I have to use the exponential integral function but I can't find out how to integrate it to my C programme. I've tried "::Ei" but it didn't work. Is there a special library to include at the beginning? How did you manage to solve tour case?

Thank you to answer because I'm really stuck.

Ingrid
ingrid is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximum Pre-Exponential Factor? Carl FLUENT 0 February 2, 2009 00:01
How to Include Exponential in UDF RL FLUENT 5 September 11, 2008 18:51
udf/exponential ssixr FLUENT 4 September 6, 2008 01:25
monitor surface integral & report surface integral Ning FLUENT 0 March 18, 2007 13:51
Exponential Cell Spacing pandelis chatzis Siemens 1 July 25, 2002 15:42


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