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

[blockMesh] Cannot find mistake in BlockMeshDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2016, 03:46
Default Cannot find mistake in BlockMeshDict
  #1
New Member
 
Join Date: Jul 2016
Posts: 13
Rep Power: 9
JohnJohn8 is on a distinguished road
Dear all,

I cannot fine my mistake in my blockMeshdict file. I got the this error message when running blockMesh:

"ill defined primitiveEntry starting at keyword 'vertices' on line 20 and ending at line 112"

I have included the file.

Thanks in advance.

Kind regards.

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v3.0+                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 0.01;
vertices
(
  (0 0 -1)
  (10 0 -1)
  (0 1 -1)
  (10 1 -1)
  (20 1 -1)
  (0 10 -1)
  (10 10 -1)
  (20 10 -1
  (20 0 -1)
  (30 0 -1)
  (30 1 -1)
  (30 10 -1)
  (0 0 1)
  (10 0 1)
  (0 1 1)
  (10 1 1)
  (20 1 1)
  (0 10 1)
  (10 10 1)
  (20 10 1)
  (20 0 1)
  (30 0 1)
  (30 1 1)
  (30 10 1)
);
blocks
(
    hex (0 1 3 2 12 13 15 14) (25 10 1) simpleGrading (1 1 1)
    hex (2 3 6 5 14 15 18 17) (25 40 1) simpleGrading (1 1 1)
    hex (3 4 7 6 15 16 19 18) (100 40 1) simpleGrading (1 1 1)
    hex (8 9 10 4 20 21 22 16) (25 10 1) simpleGrading (1 1 1)
    hex (4 10 11 7 16 22 23 19) (25 40 1) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
    inlet
    {
        type patch;
        faces
        (
            (0 12 14 2)
            (2 14 17 5)
        );
    }
    outlet
    {
        type patch;
        faces
        (
            (10 11 23 22)  
     (9 10 22 21)
        );
    }
    top
    {
        type symmetryPlane;
        faces
        (
            (5 17 18 6)
            (6 18 19 7)
            (7 19 23 11)        
        );
    }
    obstacle
    {
        type wall;
        faces
        (
            (1 3 15 13)
            (3 4 16 15)
     (0 1 13 12)
     (4 8 20 16)
     (8 9 21 20)   
        );
    }
);
mergePatchPairs
(
);
// ************************************************************************* //
JohnJohn8 is offline   Reply With Quote

Old   November 25, 2016, 04:33
Default
  #2
New Member
 
Join Date: Jul 2016
Posts: 13
Rep Power: 9
JohnJohn8 is on a distinguished road
Hello all, no need for reply anymore.

I found my mistake.

Thanks alot for everyone who has looked into this.

Kind regards
JohnJohn8 is offline   Reply With Quote

Old   November 28, 2016, 13:03
Default
  #3
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16
cutter is on a distinguished road
Hi,

could you please share the solution to future readers?!

Thanks,
Cutter
cutter is offline   Reply With Quote

Old   November 28, 2016, 13:17
Default
  #4
New Member
 
Join Date: Jul 2016
Posts: 13
Rep Power: 9
JohnJohn8 is on a distinguished road
Hi all,

of course. I was very basic mistake....
when defining the vertices I forgot a bracket.

Regards
JohnJohn8 is offline   Reply With Quote

Reply

Tags
blockmesh, openfoam


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
Coupling with MATLAB via Java, getting the message: "error: cannot find symbol" Dry Patrick STAR-CCM+ 6 October 23, 2018 09:03
/usr/bin/ld: cannot find -llagrangianTurbulence /usr/bin/ld: cannot find -lfluidTherm Luiggito OpenFOAM Programming & Development 9 May 2, 2016 00:54
[swak4Foam] swak4Foam compilation can't find -lOpenFOAM BobR OpenFOAM Community Contributions 4 August 10, 2015 14:49
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
Problem Building OF on Centos cluster (no admin rights) CKH OpenFOAM Installation 5 November 13, 2011 06:32


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