Meshing Error: Bad token - could not get word
Hello folks,
This is my first forum post so forgive me if I am a little new to some features of OpenFOAM. It is my hope that I can continue to learn more as I pursue my PhD. I am using OpenFOAM v1812 and attempting to convert an ASCII V2 mesh to OpenFOAM using gmshToFoam command. When I do this, I obtain the following: [ofuser@db8afc29162f Waverider]$ gmshToFoam nonweiler_research_W.msh /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1812 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : v1812 OPENFOAM=1812 Arch : "LSB;label=32;scalar=64" Exec : gmshToFoam nonweiler_research_W.msh Date : Dec 31 2018 Time : 17:56:05 Host : db8afc29162f PID : 407 I/O : uncollated Case : /home/ofuser/workingDir/OpenFOAM/Waverider nProcs : 1 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Starting to read points at line 2 Vertices to be read:55547 Vertices read:55547 Starting to read cells at line 55552 Cells to be read:283348 Mapping region 1 to Foam patch 0 Mapping region 4 to Foam patch 1 Mapping region 3 to Foam patch 2 Mapping region 5 to Foam patch 3 Mapping region 2 to Foam patch 4 Mapping region 6 to Foam cellZone 0 Cells: total:270902 hex :0 prism:0 pyr :19674 tet :251228 CellZones: Zone Size 0 270902 --> FOAM FATAL IO ERROR: Bad token - could not get word file: input at line 0. From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::word&) in file primitives/strings/word/wordIO.C at line 45. FOAM exiting =========================================== I am trying to understand how to fix this issue so any suggestions would be appreciated. I am on Mac if that helps. |
Either a bug, or bad input - would need to have the file (or something similar) to figure out what is going wrong.
Consider tracking it as a gitlab issue (you can add files there too). /mark |
Quote:
Could I send you the geo and mesh file? There may be some errors actually in the geo file mainly with respect to the mesh generation. If you can give me some feedback on it that would be great. Anywhere I can send it to? |
Quote:
https://develop.openfoam.com/Development/OpenFOAM-plus and open an issue |
Quote:
https://develop.openfoam.com/snippets/18 |
Quote:
Your snippet seems to have been lost, or wasn't saved. Opened an issue for you: https://develop.openfoam.com/Develop...us/issues/1155 |
Problem solved?
I got into trouble with the same error message: Code:
Create time Thanks for any help. |
All times are GMT -4. The time now is 17:24. |