|
[Sponsors] |
March 27, 2006, 18:08 |
I need to restart the solver a
|
#1 |
Senior Member
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17 |
I need to restart the solver at some point. Also I write out some log information for postprocessing.
My question is how can I open the old log file to APPEND new lines? Now I am using: //outlet concentration log file if(!dir(runTime.path()/"outletAlpha")) //if the directory doesn't exist mkDir(runTime.path()/"outletAlpha");OFstream outlet1AlphaFile(runTime.path()/"outletAlpha"/"outlet1AlphaLog.dat"); outlet1AlphaFile << bla bla bla
__________________
Xiaofeng Liu, Ph.D., P.E., Assistant Professor Department of Civil and Environmental Engineering Penn State University 223B Sackett Building University Park, PA 16802 Web: http://water.engr.psu.edu/liu/ |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to open a cas file in gambit | Michal K | FLUENT | 5 | March 14, 2009 16:37 |
FORTRAN(OPEN->APPEND) | kris | Siemens | 1 | November 30, 2004 07:57 |
where to open the file | jx | FLUENT | 0 | February 19, 2004 12:19 |
Scheme: append to existend file | Ingolf | FLUENT | 0 | November 10, 2003 05:27 |
append data to a file | Wen Long | Main CFD Forum | 1 | April 11, 2002 20:45 |