CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Power Function (https://www.cfd-online.com/Forums/openfoam/114530-power-function.html)

hawkeye321 March 12, 2013 22:12

Power Function
 
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.

cutter March 13, 2013 04:32

Did you try the pow implementation from the C++ standard libraries http://www.cplusplus.com/reference/cmath/pow/ ?


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