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

[mesh manipulation] keyword patches undefined in createPatch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2016, 02:31
Exclamation keyword patches undefined in createPatch
  #1
New Member
 
RKanesan Ramasamy
Join Date: May 2014
Posts: 3
Rep Power: 11
rkanesan is on a distinguished road
Good day to all,

I tried to simulate multiphase flow in Openfoam, by using version 2.3.0.
After volume mesh using snappy, I tried create patch for water inlet using creratePatchDict. (script shown in figure attached)

During execution of the file in OpenFoam, error of keyword patches undefined shown, which screenshot also attached.

Before moving to patch creation, face of the inlet has been created at the beginning using topoSetDict.

Please help me to give feedback regarding this.

Thank you and Best Regards

R.Kanesan

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

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


matchTolerance 1E-3;

pointSync true;

patchInfo
(

{
name inletWater;

dictionary
{
type patch;
}

constructFrom set;

patches ();

set inletWater;
}

);

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : createPatch
Date : Jan 27 2016
Time : 15:00:49
Host : "psacae02"
PID : 10802
Case : /home/crr9822/wading_exora
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

Create polyMesh for time = 0

Reading createPatchDict



--> FOAM FATAL IO ERROR:
keyword patches is undefined in dictionary "/home/crr9822/wading_exora/system/createPatchDict"

file: /home/crr9822/wading_exora/system/createPatchDict from line 19 to line 41.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 437.

FOAM exiting

Last edited by rkanesan; January 27, 2016 at 02:50. Reason: not enough information
rkanesan is offline   Reply With Quote

Old   February 19, 2016, 02:26
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

The syntax for createPatchDict has changed from the version that you are using.

It should read something like the one mentioned here: https://github.com/OpenFOAM/OpenFOAM...reatePatchDict

Cheers,
Antimony
Antimony is offline   Reply With Quote

Reply


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 04:28
LEMOS InflowGenerator r_gordon OpenFOAM Running, Solving & CFD 103 December 18, 2018 00:58
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 00:34


All times are GMT -4. The time now is 10:03.