|
[Sponsors] |
October 15, 2008, 03:23 |
I think you should file it as
|
#1 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,679
Rep Power: 40 |
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" |
|
October 15, 2008, 04:55 |
For now I have added a space t
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
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 |
|
October 15, 2008, 16:14 |
Hi,
What if i want to calcu
|
#3 |
Member
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 17 |
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
__________________
Cheers, Vishal Jambhekar... "Simulate the way ahead......!!!" |
|
October 15, 2008, 16:51 |
on the other hand, sprintf() f
|
#4 |
Member
Maxim Loginov
Join Date: Mar 2009
Posts: 33
Rep Power: 17 |
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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Use gnuplot to produce residual plots in run time? | chenzhi | Main CFD Forum | 2 | September 8, 2008 21:58 |
grid check failed due to the merged zones | biksham | FLUENT | 0 | February 20, 2008 23:31 |
gambit: how to produce hanging notes | Ralf Schmidt | FLUENT | 4 | July 15, 2007 17:52 |
mesh generator, that can produce hanging notes? | Ralf Schmidt | Main CFD Forum | 2 | July 14, 2007 02:57 |
How to produce the geometry file for Es-ice | lizhihua | Siemens | 0 | December 4, 2006 07:49 |