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

[blockMesh] OpenFOAM blockMeshDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2013, 03:04
Default OpenFOAM blockMeshDict
  #1
Senior Member
 
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 16
sihaqqi is on a distinguished road
Hello

I am a beginner with OpenFoam and CFD. I have prepared a blockMeshDict for a pipe tee junction. It is 120mm diameter pipe which is 1500mm long in X-direction and from the middle (750 mm from both ends), an equal tee of diameter 120mm and 750mm long comes out of it. I have to model turbulence. When I want to see my mesh using ParaFoam, I get error which is

--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 77
Reading /home/imad/OpenFOAM/imad-2.1.1/run/projects/incompressible/icoFoam/cavity/constant/polyMesh/boundary
found on line 25 the punctuation token ')'
expected either } or EOF


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

file: /home/imad/OpenFOAM/imad-2.1.1/run/projects/incompressible/icoFoam/cavity/constant/polyMesh/boundary at line 29.

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

FOAM exiting


Below is my blockMeshDict data. Please advise. I shall be very grateful.


FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.001;

vertices
(
(0 0 0) // point 0
(0 0 60) // point 1
(0 0 -60) // point 2
(0 60 0) // point 3
(0 -60 0) // point 4
(1500 0 0) // point 5
(1500 0 60) // point 6
(1500 0 -60) // point 7
(1500 60 0) // point 8
(1500 -60 0) // point 9
(690 0 60) // point 10
(810 0 60) // point 11
(750 60 60) // point 12
(750 -60 60) // point 13
(750 0 750) // point 14
(690 0 750) // point 15
(810 0 750) // point 16
(750 60 750) // point 17
(750 -60 750) // point 18
);

blocks
(
hex (1 3 2 4 6 8 7 9) (20 20 1) simpleGrading (1 1 1)
hex (11 12 10 13 16 17 15 18) (20 20 1) simpleGrading (1 1 1)
);

edges
(
arc 1 3 (0 30 50)
arc 3 2 (0 30 -50)
arc 2 4 (0 -30 -50)
arc 4 1 (0 -30 50)
arc 6 8 (0 30 50)
arc 8 7 (0 30 -50)
arc 7 9 (0 -30 -50)
arc 9 6 (0 -30 50)
arc 11 12 (50 30 0)
arc 12 10 (-50 30 0)
arc 10 13 (-50 -30 0)
arc 13 11 (50 -30 0)
arc 16 17 (50 30 0)
arc 17 15 (-50 30 0)
arc 15 18 (-50 -30 0)
arc 18 16 (50 -30 0)
);

boundary
(
fixedWalls
{
type wall;
faces
(
(1 2 3 4)
(6 7 8 9)
(15 16 17 18)
(1 3 6 8)
(3 2 8 7)
(2 4 7 9)
(4 1 9 6)
(11 12 16 17)
(12 10 17 15)
(10 13 15 18)
(13 11 18 16)
);
}
);

mergePatchPairs
(
);

// ************************************************** *********************** //
sihaqqi is offline   Reply With Quote

Old   January 26, 2013, 19:41
Default
  #2
Member
 
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15
msuaeronautics is on a distinguished road
After running blockMesh, did you run checkMesh?
msuaeronautics is offline   Reply With Quote

Old   February 1, 2013, 04:49
Default
  #3
New Member
 
Bin Xu
Join Date: Apr 2012
Location: Singapore
Posts: 23
Rep Power: 14
norkistar is on a distinguished road
for the fixed walls, should be ( not {
norkistar is offline   Reply With Quote

Reply

Tags
blockmeshdict, error viewing in parafoam, pipe tee junction


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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days joegi.geo OpenFOAM Announcements from Other Sources 0 October 1, 2016 20:20
OpenFOAM Foundation Releases OpenFOAM v2.3.0 opencfd OpenFOAM Announcements from OpenFOAM Foundation 3 December 23, 2014 04:43
OpenFOAM Foundation releases OpenFOAM 2.2.2 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 October 14, 2013 08:18
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


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