I think you should file it as
I think you should file it as a bug.
But IMO the solution would be to change Foam::probes::sampleAndWrite to just use spaces. ie, probeStream << vField.time().value(); forAll(values, probeI) { probeStream << ' ' << values[probeI]; } probeStream << endnl; This would give properly separated fields, without the hassles of an sprintf() format - eg, someone is silly and specifies "%s" |
For now I have added a space t
For now I have added a space to the current column formatting to "protect" the numbers should they fill the field width allocated and will push this change into our git repository shortly.
We will also review the formatting options and consider more flexible specifications. H |
Hi,
What if i want to calcu
Hi,
What if i want to calculate Grad phi and grad P at wall for supersonic flow.... Do u know any utelities for that... Thanks Vishal |
on the other hand, sprintf() f
on the other hand, sprintf() format allow more flexibility: vectors can be written as
(0.0 0.1 0.2) # as it is now or (0.0, 0.1, 0.2) # might be preferable for postprocessing |
All times are GMT -4. The time now is 12:58. |