CFD Online Logo CFD Online URL
Home > Forums > 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 Display Modes
Old   October 15, 2005, 07:57
Default In src/OpenFOAM/primitives/sca
Join Date: Mar 2009
Posts: 51
Rep Power: 10
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
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,806
Rep Power: 25
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
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
define mass transfer - define source greg FLUENT 1 July 14, 2016 12:48
How to define Cp using UDF? Feng FLUENT 5 November 15, 2012 17: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 19:00.