CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Power Function

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

LinkBack Thread Tools Display Modes
Old   March 12, 2013, 23:12
Default Power Function
Join Date: Apr 2011
Posts: 92
Rep Power: 7
hawkeye321 is an unknown quantity at this point
Do you guys know how can I take a number to the power of "real number, not integer" in OpenFOAM 1.7. pow only works when the power in integer.
hawkeye321 is offline   Reply With Quote

Old   March 13, 2013, 05:32
Senior Member
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 9
cutter is on a distinguished road
Did you try the pow implementation from the C++ standard libraries ?
cutter 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
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 10 May 1, 2014 16:26
wmake groovyBC in OpenFOAM 1.7 ? randomid OpenFOAM Running, Solving & CFD 1 August 27, 2010 05:15
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
LibvtkFoamso fred OpenFOAM Paraview & paraFoam 2 November 18, 2005 20:01

All times are GMT -4. The time now is 13:10.