Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's tools.

 

 

 

 

 

blockMesh: keyword patches is undefined in dictionary "MyFolder\constant\polyMesh\blockMeshDict"

 

An OpenFOAM error.

 

/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.5                                   |
|   \\  /    A nd           | Web:      http://www.OpenFOAM.org               |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Exec   : c:\cfd\OpenFOAM-1.5\bin\blockMesh
Date   : Nov 15 2013
Time   : 10:21:36
Host   : hostname
PID    : 2792
Case   : C:\cfd\blueCFD-SingleCore-2.1\OpenFOAM-2.1\tutorials\incompressible\channelFoam\channel395
nProcs : 1

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

--> FOAM Warning :
    From function IOstream::compressionEnum(const word&)
    in file C:\tmp\OpenFOAM-1.5\src\OpenFOAM\db\IOstreams\IOstreams\IOstream.C at line 73
    bad compression specifier 'off', use 'compressed' or 'uncompressed'.  Defaulting to uncompressed

Reading block mesh description dictionary

Creating block mesh

Creating blockCorners

Creating curved edges

Creating blocks

Creating patches
Programme terminated with errors: exit code 1, status 0.
Error messages:


keyword patches is undefined in dictionary "C:\cfd\blueCFD-SingleCore-2.1\OpenFOAM-2.1\tutorials\incompressible\channelFoam\channel395\constant\polyMesh\blockMeshDict"

file: C:\cfd\blueCFD-SingleCore-2.1\OpenFOAM-2.1\tutorials\incompressible\channelFoam\channel395\constant\polyMesh\blockMeshDict from line 17 to line 113.

    From function dictionary::lookupEntry(const word& keyword) const
    in file C:\tmp\OpenFOAM-1.5\src\OpenFOAM\db\dictionary\dictionary.C at line 213.

FOAM exiting

 

The solution is to add to blockMeshDict the following lines:

patches
(

);

 

 

 

 

 

Go back to Richel Bilderbeek's tools.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict