|
[Sponsors] |
[OpenFOAM.org] Unable to run test file after installation |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Aug 2022
Posts: 7
Rep Power: 3 ![]() |
I am getting following error:-
--> FOAM FATAL IO ERROR: Wrong token type - expected word, found on line 183: punctuation '[' file: /home/ashwinikumar/OpenFOAM/OpenFOAM-9/etc/controlDict.DimensionSets.SICoeffs.kg at line 183. From function Foam::Istream& Foam: ![]() in file primitives/strings/word/wordIO.C at line 79. Can anyone help me with the issue? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Join Date: Aug 2022
Posts: 7
Rep Power: 3 ![]() |
I solved this issue but another arrived as follows:-
--> FOAM FATAL IO ERROR: Entry 'version' not found in dictionary "/home/ashwinikumar/ASHWIN/system/controlDict" file: /home/ashwinikumar/ASHWIN/system/controlDict From function bool Foam::dictionary::readEntry(const Foam::word&, T&, Foam::keyType: ![]() in file lnInclude/dictionaryTemplates.C at line 319. FOAM exiting In my controlDict the version of OpenFOAM is mentioned. I dont know why this error is coming. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 75
Rep Power: 4 ![]() |
Check if header of controlDict is ok.
Means content inside FoamFile { } |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Join Date: Aug 2022
Posts: 7
Rep Power: 3 ![]() |
I am trying to run one of the tutorial files here and I find nothing wrong in the header
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 9 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application simpleFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 500; deltaT 1; writeControl timeStep; writeInterval 50; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; // ************************************************** *********************** // |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 75
Rep Power: 4 ![]() |
add
version 2.0; above format ascii; |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Join Date: Aug 2022
Posts: 7
Rep Power: 3 ![]() |
okay.
Thank you sir, now it works fine. |
|
![]() |
![]() |
![]() |
![]() |
#7 | |
New Member
Join Date: Nov 2022
Posts: 1
Rep Power: 0 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using PengRobinsonGas EoS with sprayFoam | Jabo | OpenFOAM Running, Solving & CFD | 35 | April 29, 2022 15:35 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 18:13 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 09:07 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 10:59 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 01:24 |