|
[Sponsors] |
Openfoam sampleDict error: "keyword patches is undefined in dictionary" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 3, 2018, 12:22 |
Openfoam sampleDict error: "keyword patches is undefined in dictionary"
|
#1 |
New Member
Arjun
Join Date: Feb 2014
Posts: 20
Rep Power: 12 |
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. |
|
January 3, 2018, 15:20 |
|
#2 |
New Member
Arjun
Join Date: Feb 2014
Posts: 20
Rep Power: 12 |
I solved it by changing it to :
surfaces ( wall { type patch; patches ( ".*Wall.*" ); } ); Its the version problem |
|
Tags |
cfd - post, openfoam 2.0.x |
|
|
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 |