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

Openfoam sampleDict error: "keyword patches is undefined in dictionary"

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 3, 2018, 12:22
Default Openfoam sampleDict error: "keyword patches is undefined in dictionary"
  #1
New Member
 
Arjun
Join Date: Feb 2014
Posts: 20
Rep Power: 9
massakimi is on a distinguished road
I am trying to find the y-plus for the turbulent modelling mesh. The following is the sampleDict code:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "analysis";
object sampleDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

setFormat xmgr;

surfaceFormat vtk;

interpolationScheme cellPoint;

fields
(
wallShearStress
yPlus
);

sets
(
);

surfaces
(
wall
{
type patch;
patchName wall;
}
);


when i run using sample -latestTime i get the following error:
Create time

Create mesh for time = 500



--> FOAM FATAL IO ERROR:
keyword patches is undefined in dictionary "/export131/home//OpenFOAM/Turbulent/Turbulent_1/analysis/sampleDict.surfaces"

file: /export131/home/OpenFOAM/Turbulent/Turbulent_1/analysis/sampleDict.surfaces from line 38 to line 39.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 437.
massakimi is offline   Reply With Quote

Old   January 3, 2018, 15:20
Default
  #2
New Member
 
Arjun
Join Date: Feb 2014
Posts: 20
Rep Power: 9
massakimi is on a distinguished road
I solved it by changing it to :

surfaces
(
wall
{
type patch;
patches ( ".*Wall.*" );
}
);

Its the version problem
massakimi is offline   Reply With Quote

Reply

Tags
cfd - post, openfoam 2.0.x

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 05:28
Sig Density Based Solver installation with FOAM Extend 3.2 qjh888 OpenFOAM Bugs 0 September 21, 2016 09:16
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
Installing OpenFOAM-1.5-dev on a cluster ZKM OpenFOAM Installation 4 December 25, 2010 16:59
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


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