CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: niklas
Forum: OpenFOAM January 27, 2006, 02:28
Replies: 3
Views: 4,335
Posted By niklas
just add mkDir before writing

just add mkDir before writing

fileName myDir = mesh.time().rootPath()/"output";
mkDir(myDir);
fileName myFile = myDir/"datafile.dat";
OFstream myStream(myFile);

N
Showing results 1 to 1 of 1

 
Forum Jump

All times are GMT -4. The time now is 16:21.