|
[Sponsors] | |||||
FOAM FATAL IO ERROR: attempt to read beyond EOF |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Héloïse Magliano
Join Date: Feb 2023
Posts: 4
Rep Power: 4 ![]() |
Hello everyone,
I'm new to OpenFoam and I'm trying to create a mesh using blockMesh: I want to have a cylindar mesh but with an empty cylinder in the middle. Here is my blockMeshDict file : convertToMeters 0.001; vertices ( (3 0 0) //0 (0 3 0) //1 (-3 0 0) //2 (0 -3 0) //3 bottom circle (3 0 5) //4 (0 3 5) //5 (-3 0 5) //6 (0 -3 5) //7 top (1 0 0) //8 (0 1 0) //9 (-1 0 0) (0 -1 0) (1 0 5) (0 1 5) (-1 0 5) (0 -1 5) (0 0 0) (0 0 5) ); blocks ( hex (0 1 9 8 4 5 13 12) (25 25 100) simpleGrading (1 1 1) ); edges ( arc 0 1 (2.127 2.127 0) //(cx + rcos45 cy + rsin45 0) bottom arc arc 8 9 (0.709 0.709 0) arc 4 5 (2.127 2.127 1) // top arc arc 12 13 (0.709 0.709 1) ); boundary ( walls { type wall; faces ( (0 1 9 8) ); } atmosphere { type patch; faces ( (4 5 13 12) ); } external sides { type patch; faces ( (1 0 4 5) ); } internal sides { type patch; faces ( (9 8 12 13) ); } ); mergePatchPairs ( ); And when i do blockMesh i get this error message : Create time Creating block mesh from "/students/2023/magliano/OpenFOAM/magliano-2.1.x/run/BFS/constant/polyMesh/blockMeshDict" Creating curved edges Creating topology blocks Creating topology patches --> FOAM FATAL IO ERROR: attempt to read beyond EOF file: /students/2023/magliano/OpenFOAM/magliano-2.1.x/run/BFS/constant/polyMesh/blockMeshDict::boundary at line 91. From function ITstream::read(token&) in file db/IOstreams/Tstreams/ITstream.C at line 83. FOAM exiting Which is weird because it seems to me that the probleme isn't with the mesh itself but maybe I'm wrong. Does someone could help me ? |
|
|
|
|
|
|
|
|
#2 | |
|
Senior Member
|
Hi HeloïseM,
Quote:
Boundary name should be one word without space in it. "external sides" and "internal sides" could be the cause of the error. "external-sides" and "internal-sides" will be OK. |
||
|
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FOAM FATAL IO ERROR attempt to read beyond EOF | unoder | OpenFOAM Running, Solving & CFD | 12 | October 22, 2024 19:32 |
| [mesh manipulation] RefineMesh Error and Foam warning | jiahui_93 | OpenFOAM Meshing & Mesh Conversion | 4 | March 3, 2018 12:32 |
| [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 |
| Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |