CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

interFoam Meshing Error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 11, 2012, 08:25
Default interFoam Meshing Error
  #1
Member
 
Sagun Tripathi
Join Date: Aug 2012
Location: Amherst, USA
Posts: 78
Rep Power: 4
Sagun is on a distinguished road
Hello everyone,

I have made a very simple mesh of a 2-D tank in which I wish to simulate waves. But I'm getting this error when I do checkMesh:

--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 77
Reading /home/stripathi/OpenFOAM/stripathi-2.1.1/run/tutorials/multiphase/interFoam/laminar/wavetank/constant/polyMesh/boundary
found on line 50 the punctuation token ')'
expected either } or EOF


--> FOAM FATAL IO ERROR:
Expected a ')' or a '}' while reading PtrList, found on line 54 an error

file: /home/stripathi/OpenFOAM/stripathi-2.1.1/run/tutorials/multiphase/interFoam/laminar/wavetank/constant/polyMesh/boundary at line 54.

From function Istream::readEndList(const char*)
in file db/IOstreams/IOstreams/Istream.C at line 159.

FOAM exiting

My blockMeshDict file looks like this:

convertToMeters 1;

vertices
(
(0 0 0)
(20 0 0)
(20 0.1 0)
(0 0.1 0)

(0 0 2)
(20 0 2)
(20 0.1 2)
(0 0.1 2)

(0 0 3)
(20 0 3)
(20 0.1 3)
(0 0.1 3)
);

blocks
(
hex (0 1 2 3 4 5 6 7) (20 1 3) simpleGrading (1 1 1)
hex (4 5 6 7 8 9 10 11) (20 1 3) simpleGrading (1 1 1)
);


edges
(
);

boundary
(
inlet
{
type patch;
faces
(
(0 4 7 3)
(4 8 11 7)
);
}

outlet
{
type patch;
faces
(
(1 2 6 4)
(4 6 10 9)
);
}

sides
{
type empty;
faces
(
(0 1 5 4)
(4 5 9 8)
(2 3 7 6)
(6 7 11 10)
);
}

lower
{
type wall;
faces
(
(0 3 2 1)
);
}

atmosphere
{
type patch;
faces
(
(8 9 10 11)
);
}
);

mergePatchPairs
(
);


Line 54 is where I write a parenthesis sign while assigning the faces to inlet patch.

I don't understand what I'm doing wrong here. Please help.

Thanks,
Sagun
Sagun is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
Saving ParaFoam views and case sail OpenFOAM Paraview & paraFoam 9 November 25, 2011 16:46
compile errors of boundary condition "expDirectionMixed" liying02ts OpenFOAM Bugs 2 February 1, 2010 21:11
Installation of Netgen in SuSE Linux 92 edvardsenpriv Open Source Meshers: Gmsh, Netgen, CGNS, ... 23 January 16, 2009 07:12
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 05:07


All times are GMT -4. The time now is 02:08.