|
[Sponsors] |
March 6, 2019, 14:20 |
Foam fatal IO error
|
#1 |
New Member
Join Date: Mar 2019
Posts: 6
Rep Power: 7 |
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. |
|
March 7, 2019, 02:56 |
|
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 15 |
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 |
|
March 7, 2019, 19:20 |
|
#3 |
New Member
Join Date: Mar 2019
Posts: 6
Rep Power: 7 |
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 |
|
March 7, 2019, 21:40 |
|
#4 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 15 |
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. 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 |
|
March 8, 2019, 20:01 |
|
#5 |
New Member
Join Date: Mar 2019
Posts: 6
Rep Power: 7 |
Hi Antimony. I got the mesh succesfully, simply by deleting "streamline" and "blockMeshDirect" file. Thanks again for your help!
Best Yihong |
|
|
|
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 |