|
[Sponsors] |
January 16, 2013, 13:15 |
Undefined Names of patches
|
#1 |
Senior Member
|
Hi foamers,
I got successfully my mesh with blockMesh. I would like to run the case with laplacian Solver but I got this error: --> FOAM FATAL IO ERROR: keyword sym is undefined in dictionary "/home/ifas/OpenFOAM/ifas-2.1.1/praktikum/Chpt2/Steelbar/0/T::boundaryField" file: /home/ifas/OpenFOAM/ifas-2.1.1/praktikum/Chpt2/Steelbar/0/T::boundaryField from line 25 to line 48. From function dictionary::subDict(const word& keyword) const in file db/dictionary/dictionary.C at line 461. FOAM exiting I cannot understand the reason. Here are the boundary file in polyMesh folder and the T file in 0 folder: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class polyBoundaryMesh; location "constant/polyMesh"; object boundary; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 5 ( iceWall { type wall; nFaces 40; startFace 6280; } airWall { type wall; nFaces 80; startFace 6320; } sym { type symmetryPlane; nFaces 80; startFace 6400; } bottom { type wall; nFaces 40; startFace 6480; } frontAndBack { type empty; nFaces 6400; startFace 6520; } ) // ************************************************** *********************** // /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 1273.15; boundaryField { iceWall { type fixedValue; value uniform 273.15; } airWall { type fixedValue; value uniform 293.15 } sym { type symmetryPlane; } bottom { type fixedGradient; value uniform -200; } frontAndBack { type empty; } } // ************************************************** *********************** // Anyone know what could be the problem? Thanks Marco |
|
January 16, 2013, 13:23 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Marco,
You are missing a ";" (read: semi-colon) after the value definition in the boundary patch airWall in the field T. Kind regards, Niels |
|
January 16, 2013, 13:26 |
|
#3 |
Senior Member
|
Hi Niels
Thank you very much. I got another error: --> FOAM FATAL IO ERROR: keyword gradient is undefined in dictionary "/home/ifas/OpenFOAM/ifas-2.1.1/praktikum/Chpt2/Steelbar/0/T::boundaryField::bottom" file: /home/ifas/OpenFOAM/ifas-2.1.1/praktikum/Chpt2/Steelbar/0/T::boundaryField::bottom from line 42 to line 43. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 400. FOAM exiting Can you help me again?? |
|
January 16, 2013, 13:28 |
|
#4 |
Senior Member
|
I solved!!! I replaced Value with Gradient in bottom patch!
Thanks |
|
January 16, 2013, 13:29 |
|
#5 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
You are welcome.
/ Niels |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Second Derivative Zero - Boundary Condition | fu-ki-pa | OpenFOAM | 11 | March 27, 2021 05:28 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 01:35 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
G95 + CGNS | Bruno | Main CFD Forum | 1 | January 30, 2007 01:34 |