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

checkMesh error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 13, 2014, 03:34
Exclamation checkMesh error
  #1
New Member
 
S. Javad Saharkhiz
Join Date: Sep 2013
Location: Iran
Posts: 21
Rep Power: 3
jvd.mechanic is on a distinguished road
hi all dear CFD users

i have a problem when i want to run may case.when i want to check my mesh it give me this error :

Create time

--> FOAM FATAL IO ERROR:
cannot find file

file: /home/jvd/Desktop/MyCaseCopy/system/controlDict at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 73.

FOAM exiting


how i can fix this error.i don't understand this error.
and what is "regIOobject" function & what mean when it say that it has problem at "line 0 !" ?? where in line 0 ?

thanks
jvd.mechanic is offline   Reply With Quote

Old   April 13, 2014, 03:47
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings jvd.mechanic,

Apparently your case folder is named "My Case Copy" and unfortunately OpenFOAM is allergic to spaces in folder/file names.
If you rename the folder to "My_Case_Copy" or "MyCaseCopy", it should work just fine.

edit: for a more detailed answer, check the section Why do I get the error message "fileName::stripInvalid() called for invalid"? in the FAQ: http://openfoamwiki.net/index.php/FA..._invalid.22.3F

Best regards,
Bruno

Last edited by wyldckat; April 13, 2014 at 03:50. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   April 13, 2014, 03:56
Post
  #3
New Member
 
S. Javad Saharkhiz
Join Date: Sep 2013
Location: Iran
Posts: 21
Rep Power: 3
jvd.mechanic is on a distinguished road
thanks for your answer
i know that OpenFoam has allergy with space and my folder name is MyCaseCopy

and thank u for the address that u gave me
jvd.mechanic is offline   Reply With Quote

Old   April 13, 2014, 04:20
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Oh, I read your first post waaaaaay too fast . Let's see...
Quote:
Originally Posted by jvd.mechanic View Post
how i can fix this error.i don't understand this error.
and what is "regIOobject" function & what mean when it say that it has problem at "line 0 !" ?? where in line 0 ?
"regIOobject" is responsible for file management in OpenFOAM: http://openfoamwiki.net/index.php/Op...objectRegistry

The "line 0" message is because the reader stopped at line 0 - it was ready to start reading, and then tried to open the file - but then it didn't find the file in question. Specifically, the file "system/controlDict" does not exist inside the folder "/home/jvd/Desktop/MyCaseCopy/".

One of the reasons could have been because the folder was named "My Case Copy", but that should have given an error as the one explained in the FAQ.
wyldckat is offline   Reply With Quote

Old   April 16, 2014, 02:33
Default
  #5
New Member
 
S. Javad Saharkhiz
Join Date: Sep 2013
Location: Iran
Posts: 21
Rep Power: 3
jvd.mechanic is on a distinguished road
thank u for your answer
my internet had problem and today i was able to read your message
i'm going to run ubuntu and check files and i want to rename that :-)
thanks a lot
jvd.mechanic 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
blockMesh with double grading. spwater OpenFOAM Native Meshers: blockMesh 78 March 12, 2015 15:54
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


All times are GMT -4. The time now is 04:58.