|
[Sponsors] |
error: keyword outlet is undefined in dictionary |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 5, 2010, 19:15 |
error: keyword outlet is undefined in dictionary
|
#1 |
New Member
Aditya
Join Date: Aug 2010
Posts: 6
Rep Power: 16 |
I am trying to simulate flow past a square cylinder using pisofoam-pitzDaily. I get the following error when I want to get the file for plotting inital data. The content of 0/U are also pasted below.
[akonduri@node256 pitzDaily]$ foamToFieldview9 /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 1.6-f802ff2d6c5a Exec : foamToFieldview9 Date : Aug 05 2010 Time : 18:02:19 Host : node256 PID : 5754 Case : /storage/akonduri/OpenFOAM/akonduri-1.6/run/sqcylPfoam/les/pitzDaily nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 All fields: Foam/Fieldview volScalar : nuSgs/nuSgs k/kk nuTilda/nuTilda p/p volVector : U/U surfScalar : surfVector : sprayScalar : sprayVector : Time: 0 Mesh read: tet : 0 hex : 266000 prism : 0 pyr : 0 poly : 0 file:/storage/akonduri/OpenFOAM/akonduri-1.6/run/sqcylPfoam/les/pitzDaily/Fieldview/pitzDaily_0.uns keyword outlet is undefined in dictionary "/storage/akonduri/OpenFOAM/akonduri-1.6/run/sqcylPfoam/les/pitzDaily/0/U::boundaryField" file: /storage/akonduri/OpenFOAM/akonduri-1.6/run/sqcylPfoam/les/pitzDaily/0/U::boundaryField from line 25 to line 55. From function dictionary::subDict(const word& keyword) const in file db/dictionary/dictionary.C at line 449. FOAM exiting 0/U file: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type turbulentInlet; referenceField uniform (0.22 0 0); fluctuationScale (0.002 0.001 0.001) } outlet { type zeroGradient; } up { type symmetryPlane; } square { type fixedValue; value uniform (0 0 0); } frontAndBack { type cyclic; value uniform (0 0 0 0 0 0 0 0 0); } down { type symmetryPlane; } } // ************************************************** *********************** // |
|
August 7, 2010, 00:45 |
|
#3 |
New Member
Aditya
Join Date: Aug 2010
Posts: 6
Rep Power: 16 |
Many thanks.
|
|
July 14, 2018, 08:21 |
|
#4 |
Member
Vivek
Join Date: Mar 2018
Location: India
Posts: 54
Rep Power: 8 |
hi ,
i am getting following error message. i used fuel inlet type uniformFixedValue but error shows uniformValue FOAM FATAL IO ERROR: keyword uniformValue is undefined in dictionary "/scratch/ssvivek/multiphasetutorial/multiphase/interFoam/injector/0/alpha.water.boundaryField.FUEL_INLET" file: /scratch/ssvivek/multiphasetutorial/multiphase/interFoam/injector/0/alpha.water.boundaryField.FUEL_INLET from line 34 to line 35. From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const in file db/dictionary/dictionary.C at line 566. below is my alpha.water file 1 /*--------------------------------*- C++ -*----------------------------------*\ 2 | ========= | | 3 | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | \\ / O peration | Version: 5.0 | 5 | \\ / A nd | Web: www.OpenFOAM.org | 6 | \\/ M anipulation | | 7 \*---------------------------------------------------------------------------*/ 8 FoamFile 9 { 10 version 2.0; 11 format ascii; 12 class volScalarField; 13 location "0"; 14 object alpha.water; 15 } 16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 18 dimensions [0 0 0 0 0 0 0]; 19 20 internalField uniform 0; 21 22 boundaryField 23 { 24 RIGHT_WALL 25 { 26 type zeroGradient; 27 } 28 TOP_WALL 29 { 30 type zeroGradient; 31 } 32 FUEL_INLET 33 { 34 type uniformFixedValue; 35 value uniform 1; 36 } 37 BOTTOM_WALL 38 { 39 type zeroGradient; 40 } 41 frontAndBackPlanes_pos 42 { 43 type wedge; 44 } 45 frontAndBackPlanes_neg 46 { 47 type wedge; 48 } 49 } 50 51 52 // ************************************************** *********************** // any suggestions to correct this mistake |
|
July 15, 2018, 17:24 |
|
#5 |
Senior Member
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18 |
I suggest you to learn how to read the error message. The info there is very relevant.
You have, Code:
FOAM FATAL IO ERROR: keyword uniformValue is undefined in dictionary "/scratch/ssvivek/multiphasetutorial/multiphase/interFoam/injector/0/alpha.water.boundaryField.FUEL_INLET" file: /scratch/ssvivek/multiphasetutorial/multiphase/interFoam/injector/0/alpha.water.boundaryField.FUEL_INLET from line 34 to line 35. so, you need to add the keyword "uniformValue" instead of "value". Cheers, |
|
July 15, 2018, 17:33 |
|
#6 |
Member
Vivek
Join Date: Mar 2018
Location: India
Posts: 54
Rep Power: 8 |
Thanks Cyprien!!
My code is 32 FUEL_INLET 33 { 34 type uniformFixedValue; 35 value uniform 1; } to changed like 32 FUEL_INLET 33 { 34 type uniformFixedValue; 35 uniformValue uniform 1; } is it correct ? |
|
February 28, 2020, 17:12 |
getting error !! keyword type is undefined in dictionary
|
#7 |
Member
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 6 |
keyword type is undefined in dictionary "F:/Programs/blueCFD-Core-2017/ofuser-of5/run1/test16/system/controlDict.functions.outletWaterFlux"
here is my controlDict file /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application interFoam; startFrom latestTime; startTime 0; stopAt endTime; endTime 40; deltaT 0.001; writeControl adjustableRunTime; writeInterval 1; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression compressed; timeFormat general; timePrecision 6; runTimeModifiable yes; adjustTimeStep yes; maxCo 0.9; maxAlphaCo 0.5; maxDeltaT 0.5; functions { inletMainFlux { type surfaceFieldValue;//faceSource; functionObjectLibs ("libfieldFunctionObjects.so"); writeControl timeStep; //outputControl log true; // Output field values as well valueOutput true;//false; writeFields false; regionType patch; // source patch; name inletMain; // sourceName inletMain; operation sum; fields ( rhoPhi ); } inletBranchFlux { type surfaceFieldValue;//faceSource; functionObjectLibs ("libfieldFunctionObjects.so"); writeControl timeStep; //outputControl log true; // Output field values as well valueOutput true;//false; writeFields false; regionType patch; // source patch; name inletBranch; // sourceName inletBranch; operation sum; fields ( rhoPhi ); } outletWaterFlux { $inletFlux; name outletWater; } atmosphereFlux { $inletFlux; name atmosphere; } } // ************************************************** *********************** // |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
G95 + CGNS | Bruno | Main CFD Forum | 1 | January 30, 2007 01:34 |
Building OpenFoAm on SGI Altix 64bits | anne | OpenFOAM Installation | 8 | June 15, 2006 10:27 |