|
[Sponsors] |
January 19, 2016, 06:05 |
How to use mathematical constants?
|
#1 |
Senior Member
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 10 |
Hi everyone! Ok very simple question here but oddly I can't find an answer that works!
I am using codeStream in my blockMeshDict file and one of the things I'm trying to calculate involves multiplying by pi...oddly though, I can't seem to use pi correctly. (I have left in #calc and $r1 in the examples just to demonstrate the sort of thing I have in my blockMeshDict) I have so far tried: Code:
#calc pi*$r1 #calc \pi*$r1 #calc Pi*$r1 #calc mathematicalConstant::pi*$r1 |
|
Tags |
calc, codestream, mathematical expressions |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
scotch and metis's mathematical knowledge | sharonyue | OpenFOAM Programming & Development | 1 | September 9, 2015 11:33 |
How are the integration constants for the JANAFthermo class derived? | tomf | OpenFOAM Running, Solving & CFD | 2 | May 15, 2015 07:47 |
what constants to choose for std k-e model | daniel.struwig | FLUENT | 0 | April 18, 2009 06:51 |
k-e turbulence model, empirical constants | mrs | Main CFD Forum | 4 | June 27, 2006 00:28 |
Modelling a turbulent jet and k-epsilon constants | Ant | Siemens | 3 | January 24, 2005 15:56 |