|
[Sponsors] |
August 21, 2015, 08:02 |
Writing scalar time history to a file
|
#1 |
New Member
Join Date: Aug 2013
Posts: 3
Rep Power: 13 |
Hi
I'm writing a post processing app. Let's say that this app calculates one particular scalar value over the time step. I know how to write this value to corresponding time folder but I would like to know how to write all this values(time history) to one file. I forgot to mention that I'm relatively new to OpenFOAM programming. I think that i should use OFStream, but it would be nice if someone could post here some pseudo code example. Thanks in advance |
|
August 21, 2015, 18:32 |
|
#2 |
New Member
Join Date: Aug 2013
Posts: 3
Rep Power: 13 |
I have solved it already by using standard c++ fstream and iostream library's .
|
|
Tags |
post processing, programming |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 02:22 |
[snappyHexMesh] crash sHM | H25E | OpenFOAM Meshing & Mesh Conversion | 11 | November 10, 2014 12:27 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 08:56 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |