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

checkMesh - Foam Fatal IO Error - newbi

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

Like Tree1Likes
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2023, 12:20
Default checkMesh - Foam Fatal IO Error - newbi
  #1
New Member
 
Luis Quezada
Join Date: Nov 2021
Posts: 3
Rep Power: 4
L_Qu3z4da is on a distinguished road
Hi, sorry for bother you. I am newbi
I cannot run checkMesh command. Yesterday I was running it on system folder and when researching I learned that commands must be done on top folder, I tried again but got
Code:
--> FOAM FATAL IO ERROR: (openfoam-2206)
Entry 'format' not found in dictionary ""
I am following Tobias Holzmann smoking pipe tutorial
Attached Images
File Type: jpg STL.jpg (69.1 KB, 8 views)
File Type: jpg file.JPG (12.8 KB, 8 views)
File Type: jpg help.JPG (91.1 KB, 7 views)
File Type: jpg Foam Fatal Error.jpg (57.8 KB, 7 views)
File Type: jpg IO Error.jpg (104.7 KB, 8 views)
L_Qu3z4da is offline   Reply With Quote

Old   May 16, 2023, 16:25
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You should run (almost) all commands from the top level dir, in this example that would be SmokingPipefoam. Although you can run some commands like checkMesh from within the constants folder.



Make sure your controlDict is in SmokingPipefoam/system and is not buried in more subdirectories. Make sure it is a valid controlDict. In this example, it looks like your control dict or another dict is missing the OpenFOAM header if it can even find your controlDict at all. The header is absolutely necessary because foam needs to know that it is reading ascii text and not other coded formats.



Code:
/*--------------------------------*- C++ -*----------------------------------*\
 | =========                 |                                                 |
 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
 |  \\    /   O peration     | Version:  plus                                  |
 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 FoamFile
 {
     version #.#;
     format      ascii;
     class       dictionary;
     location    "system";
     object      controlDict;
 }
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Last edited by LuckyTran; May 16, 2023 at 20:09.
LuckyTran is online now   Reply With Quote

Old   May 16, 2023, 17:42
Default There is controlDict
  #3
New Member
 
Luis Quezada
Join Date: Nov 2021
Posts: 3
Rep Power: 4
L_Qu3z4da is on a distinguished road
Quote:
Make sure your controlDict is in SmokingPipefoam/system and is not buried in more subdirectories. Make sure it is a valid controlDict.
There is a controlDict. I copied it from motorbike tutorial. At this point I am kind of desesperate, I dont know C++ and most of the times I cannot interprete what those warnings are telling me I am only sure that I did the same as the videos and I cannot do neither checkMesh nor snappyHexMesh and stupidly enough I need OF for my bachelors thesis tuition and I cannot advance. CAD tutorial model was horrible so I made other with sourfaces in order to follow the tutorial but I cannot simply continue. I really would appreciat it if you give it a look.
https://1drv.ms/u/s!AgN4cFrYS98LkxCo...PY4H8?e=BpOwmn
L_Qu3z4da is offline   Reply With Quote

Old   May 16, 2023, 20:20
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
The error is saying this line is missing from one of your dicts

Code:
format      ascii;
L_Qu3z4da likes this.
LuckyTran is online now   Reply With Quote

Reply

Tags
openfaom, pre processing

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
SimpleFoam cannot open include file Marija OpenFOAM Running, Solving & CFD 1 October 28, 2020 10:35
decomposePar is missing a library whk1992 OpenFOAM Pre-Processing 8 March 7, 2015 07:53
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 04:38
gmsh2ToFoam sarajags_89 OpenFOAM 0 November 24, 2009 22:50


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