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

MkDir mode_t mode

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 13, 2006, 06:52
Default What is mode and how can I spe
  #1
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 9
maka is on a distinguished road
What is mode and how can I specify it.
Foam::mkDir(const fileName& pathName, mode_t mode)

Regards,
Maka
maka is offline   Reply With Quote

Old   February 13, 2006, 07:13
Default I tried something like: con
  #2
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 9
maka is on a distinguished road
I tried something like:

const fileName& path = runTime.path()/"statistics"/runTime.timeName();

mkDir(path,0644);

it compiled but did not work. Can any body help

best Regards,
Maka
maka is offline   Reply With Quote

Old   February 13, 2006, 07:29
Default problem solved.
  #3
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 9
maka is on a distinguished road
problem solved.
maka is offline   Reply With Quote

Old   January 22, 2010, 10:42
Default
  #4
New Member
 
ouafa
Join Date: Jul 2009
Posts: 14
Rep Power: 8
ouafa is on a distinguished road
Quote:
Originally Posted by maka View Post
What is mode and how can I specify it.
Foam::mkDir(const fileName& pathName, mode_t mode)

Regards,
Maka
Hi Maka,

I've a problem with this function and i see that you have already think about it. I try to simulate a turbulent flow in biperiodic channel and save data and statistics for later simulations. i use a little modified version of channelOodles which seems to run very well until the iteration 71 but gives the following error message before craching:
Couldn't create directory "constant/boundaryData/entree/71.974"
From function Foam::mkDir(const fileName&, mode_t)
in file Unix.C at line 410.
Can you help me to understand this error and resolve the problem?
thank's
Ouafa
ouafa is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Turbo mode in CFX-5.7/10 kiran choudar CFX 2 July 5, 2006 03:10
batch mode in CFX mehul CFX 5 October 26, 2005 07:19
dp mode michal FLUENT 1 June 13, 2005 13:04
Debug mode with UDF ?? Thierry FLUENT 0 November 4, 2002 05:31
jet preferred mode Xu Zhou Main CFD Forum 0 February 4, 2000 06:13


All times are GMT -4. The time now is 11:19.