CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Keyword undefined even though it is defined !!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 1, 2011, 12:06
Unhappy Keyword undefined even though it is defined !!
  #1
Member
 
Kalyan
Join Date: Oct 2011
Location: Columbus, Ohio
Posts: 53
Blog Entries: 1
Rep Power: 14
kalyangoparaju is on a distinguished road
Guys,

I've been having this peculiar problem. I defined all of the keywords which I have my blockMeshDict but somehow when I run decomposePar or even potentialFoam, the code says that it cannot find the keyword "sides" in my U file which I know for certain is there.

I tried looking for errors like no semi colon or etc. but somehow I don't seem to have found any.

I cannot understand why it does that. Does anyone else have this problem. I am running openFoam 2.0.1.

Here is my U file.

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


dimensions [0 1 -1 0 0 0 0];

internalField uniform (51.816 0 0);

boundaryField
{
inlet
{
type fixedValue;
value uniform (51.816 0 0);

outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (51.816 0 0);
}

lowerWall
{
type fixedValue;
value uniform (0 0 0);
}

wing_CRVS
{
type fixedValue;
value uniform (0 0 0);
}
sides
{
type fixedValue;
value uniform (0 0 0);
}

upperWall
{
type fixedValue;
value uniform (0 0 0);
}


}


// ************************************************** *********************** //
kalyangoparaju is offline   Reply With Quote

Old   December 1, 2011, 12:11
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi

You are missing out on a curly bracket "}" in your definition of inlet in your U file.

Kind regards,

Niels
ngj 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
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
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 23:52.