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

Power Function

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2013, 22:12
Default Power Function
  #1
Member
 
,...
Join Date: Apr 2011
Posts: 92
Rep Power: 14
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, 04:32
Default
  #2
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16
cutter is on a distinguished road
Did you try the pow implementation from the C++ standard libraries http://www.cplusplus.com/reference/cmath/pow/ ?
cutter 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
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 04:28
[swak4Foam] wmake groovyBC in OpenFOAM 1.7 ? randomid OpenFOAM Community Contributions 1 August 27, 2010 05:15
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
[OpenFOAM] LibvtkFoamso fred ParaView 2 November 18, 2005 19:01


All times are GMT -4. The time now is 01:28.