|
[Sponsors] |
May 16, 2023, 13:20 |
checkMesh - Foam Fatal IO Error - newbi
|
#1 |
New Member
Luis Quezada
Join Date: Nov 2021
Posts: 3
Rep Power: 5 |
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 "" |
|
May 16, 2023, 17:25 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66 |
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 21:09. |
|
May 16, 2023, 18:42 |
There is controlDict
|
#3 | |
New Member
Luis Quezada
Join Date: Nov 2021
Posts: 3
Rep Power: 5 |
Quote:
https://1drv.ms/u/s!AgN4cFrYS98LkxCo...PY4H8?e=BpOwmn |
||
May 16, 2023, 21:20 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66 |
The error is saying this line is missing from one of your dicts
Code:
format ascii; |
|
Tags |
openfaom, pre processing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SimpleFoam cannot open include file | Marija | OpenFOAM Running, Solving & CFD | 1 | October 28, 2020 11:35 |
decomposePar is missing a library | whk1992 | OpenFOAM Pre-Processing | 8 | March 7, 2015 08:53 |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 05:04 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 05:38 |
gmsh2ToFoam | sarajags_89 | OpenFOAM | 0 | November 24, 2009 23:50 |