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

Where define the piM_PI and eM_E

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2005, 07:57
Default In src/OpenFOAM/primitives/sca
  #1
Member
 
Leosding
Join Date: Mar 2009
Posts: 51
Rep Power: 17
leosding is on a distinguished road
In src/OpenFOAM/primitives/scalar/physicalConstants.H:
const scalar pi(M_PI);
const scalar e(M_E);


but I can't find where defined M_PI and M_E?
leosding is offline   Reply With Quote

Old   October 15, 2005, 08:09
Default Part of C++ standard template
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,906
Rep Power: 33
hjasak will become famous soon enough
Part of C++ standard template library. Look at the standarddocument or STL documentation.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
define mass transfer - define source greg FLUENT 4 November 24, 2018 06:34
How to define Cp using UDF? Feng FLUENT 5 November 15, 2012 16:36
How to define RH swamy CFX 0 October 6, 2006 09:13
how can i define it wayne FLUENT 1 August 6, 2004 00:43
define my own DEFINE macro? to model pithing naca calogero FLUENT 0 April 10, 2003 05:10


All times are GMT -4. The time now is 16:33.