|
[Sponsors] |
[blockMesh] Cannot find mistake in BlockMeshDict |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 25, 2016, 04:46 |
Cannot find mistake in BlockMeshDict
|
#1 |
New Member
Join Date: Jul 2016
Posts: 13
Rep Power: 10 |
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 ( ); // ************************************************************************* // |
|
November 25, 2016, 05:33 |
|
#2 |
New Member
Join Date: Jul 2016
Posts: 13
Rep Power: 10 |
Hello all, no need for reply anymore.
I found my mistake. Thanks alot for everyone who has looked into this. Kind regards |
|
November 28, 2016, 14:03 |
|
#3 |
Senior Member
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16 |
Hi,
could you please share the solution to future readers?! Thanks, Cutter |
|
November 28, 2016, 14:17 |
|
#4 |
New Member
Join Date: Jul 2016
Posts: 13
Rep Power: 10 |
Hi all,
of course. I was very basic mistake.... when defining the vertices I forgot a bracket. Regards |
|
Tags |
blockmesh, openfoam |
|
|
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 10:03 |
/usr/bin/ld: cannot find -llagrangianTurbulence /usr/bin/ld: cannot find -lfluidTherm | Luiggito | OpenFOAM Programming & Development | 9 | May 2, 2016 01:54 |
[swak4Foam] swak4Foam compilation can't find -lOpenFOAM | BobR | OpenFOAM Community Contributions | 4 | August 10, 2015 15:49 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
Problem Building OF on Centos cluster (no admin rights) | CKH | OpenFOAM Installation | 5 | November 13, 2011 07:32 |