Keyword undefined even though it is defined !!
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); } } // ************************************************** *********************** // |
Hi
You are missing out on a curly bracket "}" in your definition of inlet in your U file. Kind regards, Niels |
All times are GMT -4. The time now is 22:29. |