|
[Sponsors] |
December 5, 2008, 04:55 |
I create a file using OFstream
|
#1 |
New Member
Jia Rui
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
I create a file using OFstream class as follows:
OFstream fFile ( runTime.path()+"/F" ); When I first run the program, "F" file is created and data is written. When I run the program for the second time, all the content in the "F" file is deleted and new data is written. How could the new data append the old data in "F" file, rather than delete all the old data? Thanks for your suggestion. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tmp class | maka | OpenFOAM Bugs | 2 | August 20, 2008 15:53 |
Library problem on a 64bit machine wrong ELF class ELFCLASS32 | jango | OpenFOAM Installation | 0 | June 11, 2007 08:29 |
OFstream doesnbt create directories or throw errors | brooksmoses | OpenFOAM | 3 | January 30, 2006 07:28 |
Expanding a class | fabianpk | OpenFOAM | 0 | October 3, 2005 05:26 |
CFD class notes | Lee | Main CFD Forum | 0 | January 30, 2004 13:39 |