|
[Sponsors] |
Keyword undefined even though it is defined !! |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 1, 2011, 12:06 |
Keyword undefined even though it is defined !!
|
#1 |
Member
|
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); } } // ************************************************** *********************** // |
|
December 1, 2011, 12:11 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hi
You are missing out on a curly bracket "}" in your definition of inlet in your U file. Kind regards, Niels |
|
|
|
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 |