CFD Online Logo CFD Online URL
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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2005, 08:57
Default In src/OpenFOAM/primitives/sca
Join Date: Mar 2009
Posts: 51
Rep Power: 16
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, 09:09
Default Part of C++ standard template
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,901
Rep Power: 32
hjasak will become famous soon enough
Part of C++ standard template library. Look at the standarddocument or STL documentation.

Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting:
hjasak is offline   Reply With Quote


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 07:34
How to define Cp using UDF? Feng FLUENT 5 November 15, 2012 17:36
How to define RH swamy CFX 0 October 6, 2006 10:13
how can i define it wayne FLUENT 1 August 6, 2004 01:43
define my own DEFINE macro? to model pithing naca calogero FLUENT 0 April 10, 2003 06:10

All times are GMT -4. The time now is 04:38.