CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Foam fatal IO error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2019, 14:20
Default Foam fatal IO error
  #1
New Member
 
Join Date: Mar 2019
Posts: 6
Rep Power: 7
Yihong is on a distinguished road
Hi everyone. I got a problem when creating mesh. No matter what king of mesh I use, gmshToFoam, fluentMeshToFoam, or blockMesh, it always reports

FOAM FATAL IO ERROR:
Illegal dictionary Entry or environment variable name "start"
Valid entries are
2
(
type
axis
)

How could I solve this problem?
Appreciate in advance.
Yihong is offline   Reply With Quote

Old   March 7, 2019, 02:56
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

Based on what you have posted, it would seem that you have used the wrong/invalid keyword.

Where are you getting this error? Can you post the entire error message? OF usually tells you in which file and in which line of that file the error has occurred and will help in troubleshooting.

Hope this helps.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   March 7, 2019, 19:20
Default
  #3
New Member
 
Join Date: Mar 2019
Posts: 6
Rep Power: 7
Yihong is on a distinguished road
Hi Antimony. Thank you for replying. Here's the total message I got. Same thing happens on gmsh and blockmesh.

@ubuntu:~/OpenFOAM-6/laminar/pitzDaily$ fluentMeshToFoam wedgePipe.msh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.0
Exec : fluentMeshToFoam wedgePipe.msh
Date : Mar 07 2019
Time : 19:16:33
Host : "ubuntu"
PID : 28700
Case : /home/jamie/OpenFOAM-6/laminar/pitzDaily
nProcs : 1
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time



--> FOAM FATAL IO ERROR:
Illegal dictionary entry or environment variable name "start"
Valid dictionary entries are
2
(
type
axis
)


file: /home/jamie/OpenFOAM-6/laminar/pitzDaily/system/streamlines.uniformCoeffs from line 25 to line 26.

From function bool Foam:: primitiveEntry::expandVariable(const Foam::string&, const Foam::dictionary&)
in file db/dictionary/primitiveEntry/primitiveEntry.C at line 94.

FOAM exiting
Yihong is offline   Reply With Quote

Old   March 7, 2019, 21:40
Default
  #4
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

OK this is good. Gives us more information.

Look at this line of the error message:

Code:
file: /home/jamie/OpenFOAM-6/laminar/pitzDaily/system/streamlines.uniformCoeffs from line 25 to line 26.
So there is some issue with the streamlines definition in what seems to be a "streamlines" file.

Since you are only trying to convert the mesh the simplest solution for you is to rename the streamlines file and comment it out wherever it is being invoked (somewhere in controlDict I should imagine)

Hopefully this helps you to get the mesh!

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   March 8, 2019, 20:01
Default
  #5
New Member
 
Join Date: Mar 2019
Posts: 6
Rep Power: 7
Yihong is on a distinguished road
Hi Antimony. I got the mesh succesfully, simply by deleting "streamline" and "blockMeshDirect" file. Thanks again for your help!

Best
Yihong
Yihong is offline   Reply With Quote

Reply


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
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 94 January 27, 2016 09:40
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 05:34
checking the system setup and Qt version vivek070176 OpenFOAM Installation 22 June 1, 2010 12:34
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23


All times are GMT -4. The time now is 17:20.