View Issue Details

IDProjectCategoryView StatusLast Update
0001080OpenFOAMBugpublic2014-02-18 08:57
Reporteruser313Assigned Touser2 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Summary0001080: forceCoeffs' time write precision
DescriptionIn my memory, this issue has been around for a long time. Everytime, I have to write a shell script using awk to further post process the forceCoeffs data. Which is very annoying.

Take a cavity case as an example, let's first add a forceCoeffs output, and then rename the 0 folder name to 1000, make sure start simulation from 1000 and set the deltaT to 0.001.

Then the generated time column in the forceCoeffs by the default writePrecision=6 looks like
1000
1000
...

Instead it should be
1000.001
1000.002

Of cause we could change the write precision from 6 to 12 or something to solve the issue (unfortunately, most of the time, I just forgot to change this write precision and have to use a lot awk scripts afterward). But I am wondering why not just in forceCoeffs.C change "obr_.time().value()" to "obr_.time().timeName()"? I think most users would have no problem with this.


[feature request 1]: Could forceCoeffs add an option like "append"?
[feature request 2]: The list of OS in the "Select Profile" dropdownlist in the bug report system is outdated.
[feature request 3]: It would be great if the "search" box in "http://www.openfoam.org/docs/cpp/" be larger and centered!
[feature request 4]: Source file links on "http://www.openfoam.org/docs/cpp/" are not all valid, say, I search a "Time.H", and at the bottom there two lines:
Original source file Time.H
Definition in file Time.H.
You see, the first link is ALWAYS broken, the second is okay.
TagsNo tags attached.

Activities

user2

2014-02-18 08:57

  ~0002830

Updated in version 2.3.x

Issue History

Date Modified Username Field Change
2013-11-08 16:20 user313 New Issue
2014-02-18 08:57 user2 Note Added: 0002830
2014-02-18 08:57 user2 Status new => resolved
2014-02-18 08:57 user2 Fixed in Version => 2.3.x
2014-02-18 08:57 user2 Resolution open => fixed
2014-02-18 08:57 user2 Assigned To => user2