atwhaley / cfast

Automatically exported from code.google.com/p/cfast
0 stars 2 forks source link

Flow.csv file number format #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run sample problem.
2. Look at column O, rows 45-48 of *.f.csv.  The first value is 0.484672-
155 rather than 0.484672E-155.  If the E is included as with all values 
above 0.1E-99 then it could be read as a number by most spreadsheet 
programs.

What version of the product are you using? On what operating system?
CFAST 6.1.1.54.

Please provide any additional information below.

Original issue reported on code.google.com by allan.co...@wsms.com on 28 Sep 2009 at 5:01

Attachments:

GoogleCodeExporter commented 9 years ago
All the writing of spreadsheet output is handled directly by the Fortran 
compiler and at the moment out of our 
control.  This is likely a bug in the compiler or its libraries.

For this specific problem, we could add a check for ridiculously small numbers 
and just replace them with zeros.  
Since the solver tolerances are are greater than E-10, setting such small 
numbers (in the output) should be a 
reasonable approach.

Original comment by cfastdev@gmail.com on 6 Oct 2009 at 7:09

GoogleCodeExporter commented 9 years ago
Another user reported the problem with the species spreadsheet. This is a 
generic problem with all the 
spreadsheets and thus a fortran formatting problem.  

Original comment by cfastdev@gmail.com on 30 Dec 2009 at 1:07

GoogleCodeExporter commented 9 years ago
Fixed in r406.  For any values less than 1.0e-100, we set the value to zero.

Original comment by cfastdev@gmail.com on 11 May 2012 at 6:51