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

checkMesh error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2014, 04:34
Exclamation checkMesh error
  #1
New Member
 
S. Javad Saharkhiz
Join Date: Sep 2013
Location: Iran
Posts: 21
Rep Power: 12
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, 04:47
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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 04:50. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   April 13, 2014, 04:56
Post
  #3
New Member
 
S. Javad Saharkhiz
Join Date: Sep 2013
Location: Iran
Posts: 21
Rep Power: 12
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, 05:20
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 03:33
Default
  #5
New Member
 
S. Javad Saharkhiz
Join Date: Sep 2013
Location: Iran
Posts: 21
Rep Power: 12
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 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
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


All times are GMT -4. The time now is 07:08.