CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

--> FOAM FATAL IO ERROR: Expected a '(' or a '{'

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2019, 08:04
Default --> FOAM FATAL IO ERROR: Expected a '(' or a '{'
  #1
New Member
 
Norbert Nickel
Join Date: Nov 2011
Posts: 2
Rep Power: 0
nik03 is on a distinguished road
Hi all,
i get the above mentioned error while running blockMesh on this blockMeshDict:


/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
{
(0 0 0) //0
(0 0.1 0) //1
(0.1 0.1 0) //2
(0.1 0 0) //3
(0 0 1) //4
(0 0.1 1) //5
(0.1 0.1 1) //6
(0.1 0 1) //7
};


blocks
(
hex (0 3 2 1 4 7 6 5) (1 1 10) simpleGrading (1 1 1)

);

edges
(

);

boundary
(
right
{
type patch;
faces
(
(4 5 6 7)
);
}

left
{
type patch;
faces
(
(0 3 2 1)
);
}
);


Have anybody an idea where the problem is?
Thanks in advance


nik03
nik03 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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 05:18
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 03:21
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


All times are GMT -4. The time now is 23:40.