View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002801||OpenFOAM||Bug||public||2018-01-02 04:14||2018-01-04 08:45|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Fixed in Version||dev|
|Summary||0002801: interfaceHeight output format|
|Description||I was trying to use interfaceHeight with one of my cases but when I checked the output file there was a problem in one of the files. I attached the output. Line 22 reads as follows:|
0.00103538 5.263128e-01 5.263128e-01 -6.654478e-277-6.654478e-277
There is a space missing between the last two entries which causes problems in for example importing the file to python. I have to manually insert the space or write a bash script to deal with it. I tried setting a lower write precision but still the same problem. For some reason, maybe because it's a very small number, the writing format changes.
This is the function that I've used:
(2.66 0 0.5)
(1 0 0.5)
|Tags||No tags attached.|
height.dat (4,624 bytes)
Thanks for the report. You are correct in identifying that it is because the number is extremely small. Three-digit exponents aren't given the proper padding.
Resolved in dev by commit 1273b9fb.
|2018-01-02 04:14||taherc||New Issue|
|2018-01-02 04:14||taherc||File Added: height.dat|
|2018-01-04 08:44||will||Assigned To||=> will|
|2018-01-04 08:44||will||Status||new => closed|
|2018-01-04 08:44||will||Resolution||open => fixed|
|2018-01-04 08:44||will||Fixed in Version||=> dev|
|2018-01-04 08:44||will||Note Added: 0009195|
|2018-01-04 08:45||will||Status||closed => resolved|