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

MkDir mode_t mode

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2006, 05:52
Default What is mode and how can I spe
  #1
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 16
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, 06:13
Default I tried something like: con
  #2
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 16
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, 06:29
Default problem solved.
  #3
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 16
maka is on a distinguished road
problem solved.
maka is offline   Reply With Quote

Old   January 22, 2010, 09:42
Default
  #4
New Member
 
ouafa
Join Date: Jul 2009
Posts: 15
Rep Power: 15
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug mode with UDF ?? Thierry FLUENT 1 October 9, 2018 21:57
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
jet preferred mode Xu Zhou Main CFD Forum 0 February 4, 2000 05:13


All times are GMT -4. The time now is 20:14.