CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   What determines scientific notations (http://www.cfd-online.com/Forums/openfoam-paraview/61258-what-determines-scientific-notations.html)

tj22 July 12, 2006 08:23

In the tutorials sonicTurbFoam
 
In the tutorials sonicTurbFoam/nacaAirFoil the directories are:
1e-05
2e-05
3e-05
4e-05
5e-05
6e-05
7e-05
8e-05
9e-05
0.0001
0.00011 ..... etc

what determines the scientific notation?

tj22 July 12, 2006 10:53

To be more specific why is it
 
To be more specific why is it .0001 instead of 1e-04

tj22 July 17, 2006 08:44

Does anyone have an answer for
 
Does anyone have an answer for this?

mattijs July 17, 2006 12:38

That is the 'timeFormat' optio
 
That is the 'timeFormat' option in the system/controlDict. 'general' makes it switch. Use 'scientific' to force scientific notation always.

tj22 July 17, 2006 12:41

Ok, I do see that. But what d
 
Ok, I do see that. But what determines when it switches? ie 0.0001 instead of 1e-04

tj22 July 17, 2006 14:33

Nevermind I found an error in
 
Nevermind I found an error in my code, C++ should generate them in this way by default.


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